Weakly-Supervised Disentangled Representation Learning via Filter-Based Adaptive Swapping

Abstract

Disentangled representation learning (DRL) aims to uncover semantically meaningful latent factors from observed data, thereby improving both interpretability and generalization of machine learning (ML) models. Despite remarkable progress, unsupervised DRL cannot achieve complete disentanglement without inductive biases or supervision. To address this challenge, existing approaches either rely on full supervision, which demands extensive manual labeling, or weak supervision, which involves complex training strategies that often result in unstable training. To address these limitations, we propose Filter-VAE, a weakly supervised variational autoencoder (VAE) that introduces a filter-based adaptive swapping strategy to learn stable and meaningful disentangled representations. Specifically, a relevance filter removes semantically meaningless latent factors, while an adaptive swapping filter exchanges those latent factors that have reached stability. With these two filters, Filter-VAE adaptively swaps only stable and semantically aligned latent factors, leading to robust and meaningful representations. We evaluate Filter-VAE on three standard benchmarks and our created traffic sign dataset in two downstream tasks: disentanglement and adversarial robustness. Experimental results demonstrate that Filter-VAE achieves strong disentanglement performance with reduced supervision and delivers remarkable robustness against diverse adversarial attacks and corruptions. The code is released at https://github.com/ZY-Zong/Filter-VAE.git.

Cite

Text

Zong et al. "Weakly-Supervised Disentangled Representation Learning via Filter-Based Adaptive Swapping." Transactions on Machine Learning Research, 2026.

Markdown

[Zong et al. "Weakly-Supervised Disentangled Representation Learning via Filter-Based Adaptive Swapping." Transactions on Machine Learning Research, 2026.](https://mlanthology.org/tmlr/2026/zong2026tmlr-weaklysupervised/)

BibTeX

@article{zong2026tmlr-weaklysupervised,
  title     = {{Weakly-Supervised Disentangled Representation Learning via Filter-Based Adaptive Swapping}},
  author    = {Zong, Zhenyu and Wang, Qidi and Yu, Simon and Cao, Hongpeng and Mao, Yanbing and Zhao, Han and Sha, Lui and Shao, Huajie},
  journal   = {Transactions on Machine Learning Research},
  year      = {2026},
  url       = {https://mlanthology.org/tmlr/2026/zong2026tmlr-weaklysupervised/}
}