Disentangled Variational Autoencoder based Multi-Label Classification with Covariance-Aware Multivariate Probit Model

Junwen Bai, Shufeng Kong, Carla P. Gomes

Introduction

Multi-label classification (MLC) involves predicting multiple target labels for a single input instance. A fundamental challenge in MLC is capturing label correlations—the inherent dependencies where the presence of one label (e.g., "forest") significantly influences the probability of another (e.g., "trees"). Traditional approaches often either ignore these correlations or rely on complex, order-dependent structures like Classifier Chains. This paper introduces MPVAE (Multivariate Probit Variational AutoEncoder), a framework that integrates the generative capabilities of Variational Autoencoders (VAEs) with the statistical rigor of Multivariate Probit models to explicitly model label dependencies through a learned covariance matrix.

Methodology

The MPVAE architecture is designed to align feature and label embedding spaces while capturing complex co-occurrence logic.

The MPVAE architecture featuring dual encoders and a Multivariate Probit decoder with a shared covariance matrix.

Architecture Components

  • Dual Probabilistic Encoders: The model employs separate encoders for input features ($x$) and labels ($y$), mapping them into Gaussian latent subspaces.
  • Latent Space Alignment: By minimizing the Kullback–Leibler (KL) divergence between the feature-based and label-based latent spaces, the model ensures that feature representations are structured to respect label dependencies.
  • Multivariate Probit (MP) Decoder: Replacing standard sigmoid layers, the MP decoder assumes underlying latent variables $y^*$ follow a multivariate normal distribution $N(m, \Sigma)$. A label is predicted as positive if its corresponding latent variable is positive.
  • Covariance Learning: MPVAE learns a shared covariance matrix ($\Sigma$) that explicitly encodes label correlations, providing both predictive power and interpretability.

The model is optimized using a three-component loss function comprising reconstruction loss (Binary Cross Entropy), ranking loss (to prioritize positive labels), and KL divergence (for alignment).

Experimental Results

The authors evaluated MPVAE across nine real-world datasets from various domains, including ecology (eBird), image tagging (mirflickr), and biology (yeast).

Performance and Robustness

MPVAE consistently outperformed state-of-the-art methods such as C2AE and LaMP, showing an average 6% improvement in F1 scores over GNN-based approaches. A key strength of the model is its robustness to label noise. Due to the VAE's information bottleneck, the model focuses on underlying patterns rather than memorizing noisy outliers.

Robustness of MPVAE (miF1) compared to baselines under increasing levels of label noise.

Interpretability

The learned covariance matrix allows for direct visualization of label relationships. For instance, in ecological datasets, the model naturally clusters species with similar niches (e.g., water birds), matching expert biological classifications without prior domain knowledge.

Conclusion and Future Work

MPVAE provides a robust and interpretable solution for multi-label classification by combining latent space alignment with explicit covariance modeling. While the parallel sampling process makes the Multivariate Probit model computationally viable, future work could address the quadratic scaling of the covariance matrix for extreme multi-label problems through low-rank approximations. Additionally, optimizing hyperparameter sensitivity remains an area for further refinement.

Summary updated

BibTeX
@inproceedings{bai2020disentangled,
  author = {Junwen Bai and Shufeng Kong and Carla P. Gomes},
  title = {{Disentangled Variational Autoencoder based Multi-Label Classification with Covariance-Aware Multivariate Probit Model}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/595},
}
Figure