Supervised representation learning for multi-label classification

Ming Huang, Fuzhen Zhuang, Xiao Zhang, Xiang Ao, Zhengyu Niu, Min-Ling Zhang, Qing HeMachine Learning 2019

Abstract

Representation learning is one of the most important aspects of multi-label learning because of the intricate nature of multi-label data. Current research on representation learning either fails to consider label knowledge or is affected by the lack of labeled data. Moreover, most of them learn the representations and incorporate the label information in a two-step manner. In this paper, due to the success of representation learning by deep learning we propose a novel framework based on neural networks named SERL to learn global feature representation by jointly considering all labels in an effective supervised manner. At its core, a two-encoding-layer autoencoder, which can utilize labeled and unlabeled data, is adopted to learn feature representation in the supervision of softmax regression. Specifically, the softmax regression incorporates label knowledge to improve the performance of both representation learning and multi-label learning by being jointly optimized with the autoencoder. Moreover, the autoencoder is expanded into two encoding layers to share knowledge with the softmax regression by sharing the second encoding weight matrix. We conduct extensive experiments on five real-world datasets to demonstrate the superiority of SERL over other state-of-the-art multi-label learning approaches.

Introduction

Multi-label classification (MLC) is a fundamental task where instances, such as images or text documents, are associated with multiple categories simultaneously. The primary challenge in MLC lies in capturing the complex dependencies between labels. Traditional representation learning methods often fall short by either ignoring label information during feature extraction or by employing a disjoint two-step process where features are learned independently of the final classification task. This lack of integration often results in features that are not optimally tuned for the specific nuances of multi-label data. Furthermore, many existing approaches struggle when labeled data is scarce, failing to leverage the potential of unlabeled instances.

The SERL Framework

To address these limitations, we introduce SERL (SupErvised Representation Learning), a neural network-based framework designed to learn global feature representations in a supervised, integrated manner.

Architecture and Joint Optimization

The core of SERL is a two-encoding-layer autoencoder. Unlike standard autoencoders, this architecture includes an intermediate embedding layer ($\xi$)—often reduced to a low dimension such as $k=100$ to maintain computational efficiency—and a label-oriented layer ($\mathcal{Z}$).

The SERL framework architecture, illustrating the joint optimization of the autoencoder and softmax regression through shared weights.

The "secret sauce" of SERL is the joint optimization of the autoencoder and a softmax regression classifier. Instead of training these components sequentially, they are optimized together using a combined loss function. A critical feature of this design is weight sharing: the second encoding weight matrix ($W_2$) is shared between the autoencoder's second encoding layer and the softmax regression classifier. This forces the network to find a representation that satisfies two goals at once: reconstructing the input and predicting the labels.

Adaptive Prediction Strategy

For inference, SERL employs an adaptive strategy to determine the number of labels for a given instance. By sorting predicted probabilities and identifying the "maximum difference" between adjacent values, the model establishes a data-driven threshold, allowing for flexible label assignment without manual tuning.

Experimental Evaluation

The framework was evaluated on five diverse real-world benchmarks from the MULAN and MEKA libraries: Slashdot (text), Bibtex (text), Corel5k (images), and two samples of Corel16k (images). These datasets represent a mix of low-dimensional and high-dimensional label spaces across different domains.

Key Results

SERL was compared against seven state-of-the-art algorithms, including Binary Relevance (BR), Classifier Chains (ECC), and Label-specific Features (LIFT).

  • Performance: SERL consistently achieved superior results across various metrics, including Accuracy, F1-score, Coverage, and Ranking Loss.
  • Probability Estimation: The model showed significant improvements in MacroAUC, demonstrating a superior ability to estimate the underlying probability of label presence compared to traditional transformation methods.
  • Data Efficiency: Notably, SERL's performance advantage was most pronounced when labeled training data was limited (e.g., 5-10%). This suggests that the autoencoder's reconstruction task effectively regularizes the model, allowing it to learn robust features even with sparse supervision.

Conclusion and Future Work

The SERL framework demonstrates that joint optimization and weight sharing between feature reconstruction and classification tasks can significantly enhance multi-label learning. By treating reconstruction as a form of regularization, the model avoids overfitting and captures deeper label correlations.

Future research directions include addressing the non-convexity of the objective function to reduce sensitivity to initialization, exploring non-linear classification layers beyond standard softmax regression, and integrating domain-specific architectures like Convolutional Neural Networks (CNNs) or Transformers to further improve performance in specialized domains.

Summary updated

BibTeX
@article{huang2019supervised,
  author = {Ming Huang and Fuzhen Zhuang and Xiao Zhang and Xiang Ao and Zhengyu Niu and Min-Ling Zhang and Qing He},
  title = {{Supervised representation learning for multi-label classification}},
  journal = {Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=GWRFGqsxrD},
}
Figure