Learning Deep Latent Space for Multi-Label Classification

Chih-Kuan Yeh, Wei-Chieh Wu, Wei-Jen Ko, Yu-Chiang Frank Wang

Abstract

Multi-label classification (MLC) presents a significant challenge in machine learning due to the high dimensionality of label spaces and the complex dependencies between labels. Traditional methods often rely on linear assumptions or treat feature mapping and label correlation as separate tasks. This paper introduces the Canonical Correlated AutoEncoder (C2AE), a deep learning framework that integrates Deep Canonical Correlation Analysis (DCCA) with an autoencoder architecture. By learning a shared, non-linear latent space for both features and labels simultaneously, C2AE effectively captures label correlations and demonstrates remarkable robustness to missing labels in training data.

The Challenge of Multi-Label Correlation

In standard classification, an instance is assigned a single category. However, real-world data is often multi-faceted; an image might contain a "dog," "park," and "frisbee" simultaneously. While a simple "Binary Relevance" approach—training independent classifiers for each label—is possible, it is computationally inefficient and ignores the semantic relationships between labels. For instance, the presence of a "frisbee" significantly increases the probability of a "park" label.

Existing Label Embedding (LE) methods attempt to map labels into a lower-dimensional latent space to capture these correlations. However, many are restricted to linear mappings or fail to optimize the feature-to-latent and latent-to-label steps jointly. Furthermore, real-world datasets are frequently incomplete, with annotators often missing relevant labels, which can severely degrade the performance of traditional MLC models.

Methodology: The C2AE Framework

The C2AE architecture addresses these limitations by combining the strengths of DCCA for cross-modal correlation and autoencoders for robust representation recovery. The model consists of three primary neural network components:

  1. Feature Mapping ($F_x$): Projects input features (e.g., image pixels or text vectors) into a shared latent space $L$.
  2. Encoding ($F_e$): Projects ground-truth labels into the same latent space $L$.
  3. Decoding ($F_d$): Recovers the predicted label vector from the latent space.
The C2AE architecture showing the joint learning of feature and label mappings into a shared latent space.

Key Innovations

  • Joint Latent Learning: Unlike disjoint embedding methods, C2AE learns $F_x$ and $F_e$ simultaneously. This ensures the latent space is "feature-aware," optimizing the compressed label representation specifically for the input data.
  • Pairwise Ranking Loss: Instead of standard regression losses, C2AE utilizes a pairwise ranking loss. This function penalizes the model when a "negative" label (absent) receives a higher score than a "positive" label (present), implicitly forcing the network to learn label dependencies.
  • Robustness to Missing Labels: The authors adapted the loss function to consider only known label pairs during training. By treating missing labels as neutral rather than negative, the model avoids being corrupted by incomplete annotations.

Experimental Results and Insights

The model was evaluated across five diverse datasets, including image annotation (e.g., iaprtc12, NUS-WIDE) and text classification (tmc2007).

Performance and Robustness

C2AE consistently outperformed state-of-the-art label embedding methods like SLEEC and LEML. On the large-scale NUS-WIDE dataset, C2AE achieved a Micro-F1 score of 67.6%, a significant improvement over other deep learning approaches like BP-MLL (62.5%).

A defining characteristic of C2AE is its resilience to data sparsity. As shown in the experimental results, even when 50% of training labels are removed, C2AE maintains high performance levels where competing models experience sharp declines.

Performance comparison (Micro-F1 and Macro-F1) across different datasets as the rate of missing labels increases.

Semantic Latent Space

Analysis of the learned latent space reveals that semantically related labels naturally cluster together. For example, labels like "horizon," "sun," and "sea" are mapped to proximal regions in the latent space. This confirms that the deep architecture is successfully capturing high-order semantic relationships rather than merely memorizing label patterns.

Conclusion

The Canonical Correlated AutoEncoder (C2AE) represents a significant advancement in multi-label classification. By leveraging deep non-linear mappings and a joint optimization strategy, it effectively models complex label dependencies and provides a robust solution for learning from incomplete real-world data. Future work may explore the application of C2AE to "extreme" multi-label problems involving millions of labels and the integration of more advanced architectures like Transformers for the mapping functions.

Summary updated

BibTeX
@inproceedings{yeh2017learning,
  author = {Chih-Kuan Yeh and Wei-Chieh Wu and Wei-Jen Ko and Yu-Chiang Frank Wang},
  title = {{Learning Deep Latent Space for Multi-Label Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10769},
}
Figure