Deep Generative Models for Weakly-Supervised Multi-Label Classification

Hong-Min Chu, Chih-Kuan Yeh, Yu-Chiang Frank Wang

Abstract

Multi-label classification (MLC) typically requires exhaustive annotations, which are costly to obtain. This paper introduces the Deep Sequential Generative Model (DSGM), a framework designed to tackle MLC when training data is heterogeneous—comprising fully labeled, partially labeled, and unlabeled instances. By treating label prediction as a sequential process within a generative encoder-decoder architecture, DSGM exploits unlabeled data and captures complex label relationships, outperforming existing state-of-the-art methods.

The Challenge of Weak Supervision in MLC

Standard deep learning models for multi-label classification (MLC) require massive amounts of fully annotated data. However, in practical scenarios, obtaining complete ground-truth labels for every possible object in a large dataset is prohibitively expensive. This leads to three common "weak" data scenarios:

  1. Semi-supervised MLC: A mix of fully labeled and totally unlabeled data.
  2. MLC with missing labels: Data where only a subset of relevant labels is recorded.
  3. Weakly-Supervised MLC (WS-MLC): A unified setting that combines both semi-supervised and missing-label challenges.
Comparison of different multi-label classification settings and their data requirements.

The primary challenge is developing a model that does not simply ignore incomplete data but utilizes it to learn the underlying relationships between labels and input features.

The Deep Sequential Generative Model (DSGM)

The authors propose DSGM, an architecture inspired by Conditional Variational Autoencoders (CVAE) with a sequential twist. Unlike standard classifiers that map inputs directly to labels ($X \to Y$), DSGM incorporates a generative component ($Y \to X$) to provide a mathematical "hook"—the reconstruction loss—to utilize unlabeled data.

Key Architectural Components:

  • Sequential Prediction: Instead of predicting all labels simultaneously, the model predicts them one by one using a Recurrent Neural Network (RNN) structure. This allows the model to capture label correlations (e.g., the presence of "sea" increasing the likelihood of "boat").
  • The Inference Network (Encoder): This component takes an image and its available labels to encode them into a latent space. For missing labels, the model uses its internal predictions to "fill in the blanks" during training.
  • The Generative Network (Decoder): This part attempts to reconstruct the original image features from the latent space and the labels. This reconstruction task is critical for learning from unlabeled data, as the model must develop a robust latent representation to describe the image even without explicit labels.
High-level overview of the DSGM architecture, showing (a) the inference network and (b) the generative network.

To handle the mathematical complexity of backpropagating through discrete label choices, the model employs variational inference, specifically utilizing the "reparameterization trick" and a "straight-through estimator."

Key Insights and Results

DSGM was evaluated on five diverse benchmarks, ranging from small-scale datasets like iaprtc12 to large-scale datasets like NUS-WIDE and MSCOCO. Several key findings emerged:

  • Superiority in Weak Supervision: In semi-supervised tests, DSGM consistently achieved higher Micro-f1 and Macro-f1 scores than competitors, particularly when the ratio of labeled data was as low as 2-10%.
  • Robustness to Missing Labels: When 50% of labels were randomly removed, DSGM maintained significantly better performance than specialized missing-label algorithms.
  • Linear Scalability: While previous generative models for MLC often suffered from exponential computational complexity ($2^K$ where $K$ is the number of labels), DSGM’s sequential approach ensures complexity grows only linearly ($K$), making it practical for large-scale applications.
  • Meaningful Latent Space: Qualitative t-SNE visualizations demonstrated that DSGM clusters images with similar label combinations more effectively than standard CVAEs, indicating it learns a more nuanced representation of the data.

Conclusion

DSGM represents a significant step forward in making multi-label classification more robust to real-world data limitations. By combining the strengths of generative modeling with sequential label dependencies, it provides a scalable and effective solution for weakly-supervised learning tasks. Future work may explore end-to-end training with raw image pixels and strategies to mitigate the impact of label ordering in the sequential decoder.

Summary updated

BibTeX
@inproceedings{chu2018deep,
  author = {Hong-Min Chu and Chih-Kuan Yeh and Yu-Chiang Frank Wang},
  title = {{Deep Generative Models for Weakly-Supervised Multi-Label Classification}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01216-8\_25},
}
Figure