Bayesian Multi-label Learning with Sparse Features and Labels, and Label Co-occurrences

He Zhao, Piyush Rai, Lan Du, Wray L. BuntineAISTATS 2018

Abstract

We present a probabilistic, fully Bayesian framework for multi-label learning. Our framework is based on the idea of learning a joint low-rank embedding of the label matrix and the label co-occurrence matrix. The proposed framework has the following appealing aspects: (1) It leverages the sparsity in the label matrix and the feature matrix, which results in very efficient inference, especially for sparse datasets, commonly encountered in multi-label learning problems, and (2) By effectively utilizing the label co-occurrence information, the model yields improved prediction accuracies, especially in the case where the amount of training data is low and/or the label matrix has a significant fraction of missing labels. Our framework enjoys full local conjugacy and admits a simple inference procedure via a scalable Gibbs sampler. We report experimental results on a number of benchmark datasets, on which it outperforms several state-of-the-art multi-label learning models.

Introduction

Multi-label learning, the task of assigning multiple tags to a single object, is a cornerstone of modern machine learning applications ranging from image tagging to document classification. However, as datasets scale, they encounter the "curse of dimensionality." Specifically, researchers face three major hurdles: high dimensionality of both features and labels, extreme sparsity where most entries are zero, and missing information due to incomplete manual tagging. Existing methods often fail to scale or ignore the rich relational structure between labels. This paper, presented at AISTATS 2018, introduces a scalable Bayesian framework that turns data sparsity into a computational advantage while incorporating label co-occurrence information to improve robustness.

Methodology

The core of the proposed approach is a generative latent factor model designed for efficiency and accuracy. The architecture rests on three key pillars:

  1. The Bernoulli-Poisson (BP) Link: Unlike traditional logistic or probit functions that require calculations for every matrix entry, the BP link allows inference costs to scale only with the number of non-zero entries. This is critical for real-world datasets where 99% of the data may be zero.
  2. Joint Low-Rank Embedding: The model learns a shared latent "topic" space ($\Phi$) that simultaneously models the instance-label matrix and a label co-occurrence matrix. This allows the model to transfer knowledge between correlated labels.
  3. Efficient Feature Conditioning: By using a log-linear combination of binary features, the model maintains local conjugacy, enabling simple, closed-form updates during training via a scalable Gibbs sampler.
Figure 1: Graphical model representation of the BMLS framework for the instance-label matrix.

Experimental Setup

The authors evaluated the framework on four benchmark datasets: Bibtex (research paper metadata), Delicious (web bookmarks), Movielens (movie genres), and NIPS (author-word topic modeling). These datasets vary in scale, with the NIPS dataset containing over 14,000 labels, providing a rigorous test for scalability.

Key Results and Insights

The proposed Bayesian Multi-label Learning with Sparse features (BMLS) model demonstrates significant improvements over state-of-the-art baselines like LEML and BMLPL.

  • Predictive Accuracy: As shown in the results table, BMLS consistently achieves higher Area Under the ROC Curve (AUC) across almost all datasets, including the large-scale NIPS benchmark.
  • Computational Efficiency: The BP link provides massive speedups. On the Bibtex dataset, BMLS was approximately 270 times faster per iteration than the BMLPL model (0.11 seconds vs. 29.8 seconds).
  • Robustness to Missing Labels: By incorporating label co-occurrence (BMLS-co), the model maintains high performance even when a large fraction of training labels are missing, effectively using label correlations to fill in the gaps.
Figure 6: AUC performance comparison across benchmark datasets. BMLS outperforms several state-of-the-art models, particularly on the large-scale NIPS dataset.

Beyond raw performance, the model offers interpretability. In the NIPS dataset, the latent topics successfully grouped authors and keywords into coherent research themes, such as "Computer Vision" or "Optimization," demonstrating that the model captures the underlying structure of the data.

Conclusion

The BMLS framework provides a scalable and robust solution for multi-label learning in high-dimensional, sparse settings. While currently optimized for binary features, future work could extend this efficiency to continuous data or employ Variational Inference for even larger "web-scale" applications. The integration of external co-occurrence knowledge remains a powerful tool for overcoming the challenges of incomplete data.

Summary updated

BibTeX
@inproceedings{zhao2018bayesian,
  author = {He Zhao and Piyush Rai and Lan Du and Wray L. Buntine},
  title = {{Bayesian Multi-label Learning with Sparse Features and Labels, and Label Co-occurrences}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2018},
  url = {https://openreview.net/forum?id=2HDDSRN9xC},
}
Figure