[Paper Review] Gaussian Mixture Variational Autoencoder with Contrastive Learning for Multi-Label Classification
This paper proposes C-GMVAE, a contrastive learning-augmented Gaussian mixture variational autoencoder for multi-label classification that models label and feature embeddings in a shared multimodal latent space. By replacing unimodal priors with a Gaussian mixture and using contrastive loss to align embeddings, C-GMVAE mitigates posterior collapse and over-regularization, achieving state-of-the-art performance and matching full-data model accuracy with only 50% of the training data across nine datasets.
Multi-label classification (MLC) is a prediction task where each sample can have more than one label. We propose a novel contrastive learning boosted multi-label prediction model based on a Gaussian mixture variational autoencoder (C-GMVAE), which learns a multimodal prior space and employs a contrastive loss. Many existing methods introduce extra complex neural modules like graph neural networks to capture the label correlations, in addition to the prediction modules. We find that by using contrastive learning in the supervised setting, we can exploit label information effectively in a data-driven manner, and learn meaningful feature and label embeddings which capture the label correlations and enhance the predictive power. Our method also adopts the idea of learning and aligning latent spaces for both features and labels. In contrast to previous works based on a unimodal prior, C-GMVAE imposes a Gaussian mixture structure on the latent space, to alleviate the posterior collapse and over-regularization issues. C-GMVAE outperforms existing methods on multiple public datasets and can often match other models' full performance with only 50% of the training data. Furthermore, we show that the learnt embeddings provide insights into the interpretation of label-label interactions.
Motivation & Objective
- To address posterior collapse and over-regularization in variational autoencoders for multi-label classification by replacing unimodal priors with a multimodal Gaussian mixture structure.
- To improve label correlation modeling without relying on complex modules like GNNs or covariance matrices by leveraging contrastive learning on label embeddings.
- To learn disentangled, smooth, and semantically meaningful feature and label embeddings through joint latent space alignment.
- To enable strong performance with reduced data, demonstrating generalization and sample efficiency in low-data regimes.
- To provide interpretability of label-label interactions through learned embedding similarities, especially in ecological applications.
Proposed method
- C-GMVAE employs a Gaussian mixture prior in the latent space to model multimodal data distributions, reducing over-regularization and posterior collapse.
- It uses a variational autoencoder framework with KL divergence to align the latent distributions of features and labels in the shared latent space.
- Contrastive learning is applied to label embeddings using a contrastive loss that pulls together co-occurring labels and pushes apart unrelated ones.
- The method jointly optimizes reconstruction loss for features and labels, along with contrastive and KL divergence losses for representation alignment.
- Feature and label embeddings are learned via separate encoders and decoded via a shared decoder to predict multi-label outputs.
- The model is trained end-to-end using stochastic gradient descent with multiple loss components: reconstruction, KL divergence, and contrastive loss.
Experimental results
Research questions
- RQ1Can contrastive learning effectively model label correlations in multi-label classification without requiring explicit graph or covariance structures?
- RQ2Does a Gaussian mixture prior in the latent space reduce posterior collapse and over-regularization compared to unimodal Gaussian priors?
- RQ3Can C-GMVAE achieve state-of-the-art performance while using only 50% of the training data?
- RQ4Do the learned label embeddings reflect meaningful semantic and ecological relationships between labels?
- RQ5Can the contrastive loss improve the quality of feature and label representations compared to triplet or ranking losses?
Key findings
- C-GMVAE outperforms existing methods on five metrics across nine public datasets, achieving state-of-the-art performance.
- On average, C-GMVAE improves over ASL by 5.3% on ex-F1, 4.4% on mi-F1, and 6.1% on ma-F1.
- With only 50% of the training data, C-GMVAE matches the performance of other state-of-the-art models trained on full data.
- The contrastive learning module alone outperforms GNN-based and covariance matrix-based modules in label correlation modeling.
- The learned label embeddings reveal meaningful semantic groupings, such as water birds, forest birds, and residential birds, as shown in the eBird dataset heatmap.
- Abllation studies confirm that both the Gaussian mixture prior and the contrastive loss are essential, with C-GMVAE improving over unimodal VAE by 7% on ma-F1.
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.