[Paper Review] Weakly Supervised Disentanglement by Pairwise Similarities
This paper proposes a weakly supervised disentanglement method for variational autoencoders (VAEs) that uses pairwise similarities—either binary or real-valued—as weak supervision to improve disentanglement of latent factors. By modeling similarities as dependent on a subset of latent variables and penalizing their information capacity, the method achieves significant performance gains over unsupervised baselines on benchmark and real-world COPD imaging datasets.
Recently, researches related to unsupervised disentanglement learning with deep generative models have gained substantial popularity. However, without introducing supervision, there is no guarantee that the factors of interest can be successfully recovered. Motivated by a real-world problem, we propose a setting where the user introduces weak supervision by providing similarities between instances based on a factor to be disentangled. The similarity is provided as either a binary (yes/no) or a real-valued label describing whether a pair of instances are similar or not. We propose a new method for weakly supervised disentanglement of latent variables within the framework of Variational Autoencoder. Experimental results demonstrate that utilizing weak supervision improves the performance of the disentanglement method substantially.
Motivation & Objective
- To address the challenge of unsupervised disentanglement learning, where no guarantees exist for recovering meaningful factors of variation without inductive biases.
- To propose a practical weak supervision setting where users provide pairwise similarities (binary or real-valued) between data instances based on a target factor of interest.
- To develop a VAE-based method that jointly models data samples and pairwise similarities, enabling disentanglement of the target factor while suppressing interference from other factors.
- To evaluate the method on both benchmark datasets and a real-world COPD imaging dataset where strong labels are unavailable, using similarity-based supervision derived from spirometric measures.
Proposed method
- The method extends the VAE framework by jointly modeling observed data samples and pairwise similarity labels using a joint likelihood function.
- Pairwise similarities are modeled as conditionally dependent on a subset of latent variables, while being independent of others, to ensure disentanglement of the target factor.
- A regularization term penalizes the information capacity of the latent variables responsible for similarities, encouraging them to capture only the target factor.
- The model is trained using an evidence lower bound (ELBO) objective that includes reconstruction loss, KL divergence, and similarity-specific terms.
- The similarity likelihood is modeled via a differentiable function that maps latent codes to predicted similarity scores, allowing end-to-end training.
- Hyperparameters such as β, η₁, and η₂ are tuned via cross-validation to optimize log-likelihood and disentanglement metrics like MIG.
Experimental results
Research questions
- RQ1Can pairwise similarity supervision improve disentanglement performance in unsupervised VAEs when strong labels are unavailable?
- RQ2How does the inclusion of binary or real-valued pairwise similarities affect the disentanglement of specific latent factors in VAEs?
- RQ3What is the impact of varying the number of pairwise labels on disentanglement performance, and at what point does performance saturate?
- RQ4How sensitive is the method to noisy pairwise similarity labels, and what noise levels are tolerable?
- RQ5Can the proposed method outperform unsupervised and strongly supervised baselines in disentangling disease severity from medical imaging data?
Key findings
- The proposed method significantly improves disentanglement performance over unsupervised baselines on both benchmark datasets and the COPD imaging dataset, as measured by MIG and other metrics.
- With as few as 0.01% of pairwise labels (1 in 10,000 pairs), the method achieves substantial performance gains, indicating high sample efficiency.
- Performance degrades with increasing noise in similarity labels, but remains comparable or better than baselines when noise level γ ≤ 0.1.
- The method outperforms unsupervised baselines in predicting clinical measures of COPD severity (e.g., FEV1, Emphysema%, GasTrap%, GOLD score) using z^(u) as a regressor.
- Optimal hyperparameters β ∈ [2,10], η₁ = 1e3, and η₂ = 2 were found to maximize log-likelihood and MIG, with minimal sensitivity beyond these values.
- The model successfully disentangles the digit class factor in MNIST while suppressing style variations, as shown by qualitative samples with consistent writing style across generated digits.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.