A Deep Generative Model for Semi-Supervised Classification with Noisy Labels

Maxime Langevin, Edouard Mehlman, Jeffrey Regier, Romain Lopez, Michael I. Jordan, Nir YosefarXiv 2018

Abstract: Class labels are often imperfectly observed, due to mistakes and to genuine ambiguity among classes. We propose a new semi-supervised deep generative model that explicitly models noisy labels, called the Mislabeled VAE (M-VAE). The M-VAE can perform better than existing deep generative models which do not account for label noise. Additionally, the derivation of M-VAE gives new theoretical insights into the popular M1+M2 semi-supervised model.

1. Introduction

In semi-supervised learning (SSL), models typically leverage a small set of labeled data alongside a large volume of unlabeled data. A common assumption in standard deep generative models, such as the M1+M2 architecture, is that the provided labels are perfectly accurate. However, real-world datasets are frequently "noisy" due to human error or inherent ambiguity in the data (e.g., distinguishing between similar biological cell types).

When models are trained on these imperfect labels without accounting for noise, classification accuracy suffers. This paper introduces the Mislabeled VAE (M-VAE), a principled framework that treats true labels as latent variables and observed labels as noisy proxies, bridging the gap between robust Bayesian modeling and deep generative power.

2. Methodology: The Mislabeled VAE (M-VAE)

The M-VAE architecture innovates on standard SSL approaches by explicitly modeling the noise process:

  1. Latent True Labels: The model treats the true label ($y$) as a hidden latent variable rather than ground truth.
  2. Noise Transition Model: A transition matrix, $p(y'|y)$, is introduced to represent the probability of observing a label $y'$ given the true class $y$. This allows the model to capture complex, asymmetric error patterns.
  3. Generative Flow: Data ($x$) is generated through a hierarchy of latent variables ($z_1, z_2$) and the true label ($y$). The observed noisy label ($y'$) is subsequently derived from $y$.
  4. Variational Inference: The model is trained by maximizing a new Evidence Lower Bound (ELBO) that includes a classification error term ($\Psi$). This term mathematically weights label importance based on the estimated reliability of the source.

3. Experimental Setup

The authors evaluated the M-VAE using a single-cell RNA sequencing (scRNA-seq) dataset from mouse cortex and hippocampus cells (Zeisel et al., 2015). The study focused on binary classification between microglia and endothelial cells. To simulate real-world conditions, the researchers introduced synthetic corruption: a fixed error rate ($p_0$) for one class and a varying error rate ($p_1$) for the other, creating the imbalanced noise typical of biological data.

4. Experimental Results

The M-VAE was compared against the standard M1+M2 model using only ten labeled samples per class. The results demonstrate that the M-VAE is significantly more robust to label corruption.

Accuracy comparison between M-VAE and M1+M2 as the label corruption rate $p_1$ increases.

As shown in the figure above, while both models experience a decline in performance as the corruption rate $p_1$ increases, the M-VAE maintains a substantial accuracy lead over the M1+M2 model. This gap is particularly pronounced as the noise becomes more asymmetric (i.e., as $p_1$ deviates further from $p_0$).

Furthermore, the authors provide a theoretical justification for the previously "ad-hoc" classification penalties used in M1+M2. They prove that the M1+M2 objective is a special case of the M-VAE ELBO where label noise is assumed to be uniform. Their derivation suggests that the classification weight ($\alpha$) in SSL should be a direct function of label noise ($\epsilon$); as label certainty decreases, the weight of the classification loss should decrease accordingly.

5. Discussion and Conclusion

The M-VAE offers a robust, principled approach to semi-supervised learning with imperfect data. By explicitly modeling the transition from true to observed labels, it outperforms standard models in noisy environments.

Future work may address current limitations, such as the requirement for a pre-specified noise transition matrix. Potential extensions include learning the noise parameters directly from data during training and scaling the model to handle high-dimensional classification tasks with hundreds of classes.

Summary updated

BibTeX
@misc{langevin2018deep,
  author = {Maxime Langevin and Edouard Mehlman and Jeffrey Regier and Romain Lopez and Michael I. Jordan and Nir Yosef},
  title = {{A Deep Generative Model for Semi-Supervised Classification with Noisy Labels}},
  year = {2018},
  eprint = {1809.05957},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1809.05957},
}
Figure