A Bayesian nonparametric model for multi-label learning

Junyu Xuan, Jie Lu, Guangquan Zhang, Richard Yi Da Xu, Xiangfeng Luo

Introduction

Multi-label learning involves instances associated with multiple labels simultaneously, such as a research paper belonging to several categories or authored by multiple individuals. Generative models are often employed for this task due to their ability to learn low-dimensional embeddings, which is particularly useful for large label sets or sparse training data. However, traditional models like the Author-Topic Model (ATM) are parametric, requiring the pre-specification of the number of latent topics ($K$). This leads to a difficult model selection problem: an incorrect $K$ can result in either overfitting or underfitting.

This paper introduces the Mixed Gamma-Negative Binomial Process (MGNBP), a Bayesian nonparametric approach that automatically infers the optimal number of topics from the data. By treating model complexity as a random variable, MGNBP provides a flexible and robust framework for multi-label classification without the need for manual tuning.

Methodology

The MGNBP extends the foundational Gamma-Negative Binomial Process (GNBP) to accommodate the complexities of multi-label data.

The Gamma-negative binomial process model serves as the foundation for the MGNBP.

The authors introduce several key innovations:

  1. Three-Level Hierarchy: The model captures a hierarchical structure of Label $\rightarrow$ Instance $\rightarrow$ Feature (e.g., Author $\rightarrow$ Document $\rightarrow$ Word).
  2. Mixed Gamma Process: To handle instances with multiple labels, the authors developed a mixing strategy. This combines the Gamma processes of all labels associated with an instance into a single "mixed prior," allowing multiple labels to jointly influence the latent representation.
  3. Efficient Inference via Gibbs Sampling: To address the computational challenges of nonparametric models, the authors leveraged the additive property of the negative binomial distribution and the Chinese Restaurant Table (CRT) distribution. This allowed for the derivation of a Gibbs sampling algorithm with closed-form conditional distributions, making inference tractable.

Experimental Evaluation

The model was tested across four diverse real-world datasets: NIPS papers, DBLP abstracts, clinical medical records (ICD-9-CM codes), and protein sequences.

Key Results

  • Automatic Complexity Discovery: In experiments on the DBLP dataset, the model successfully "pruned" thousands of potential topics down to a stable equilibrium (between 330 and 520), demonstrating its ability to find the "Goldilocks" level of complexity without human intervention.
  • Performance and Stability: On the Protein dataset, MGNBP achieved an average precision of 0.9045. Unlike fixed-dimensional models (BCS and BMLPL), which showed significant performance fluctuations based on the choice of $K$, MGNBP remained stable.
  • Generative Robustness: MGNBP consistently outperformed discriminative models like SVM-based LEAD or LIFT, particularly when training data was sparse, by learning the underlying distribution of features rather than just label boundaries.

Conclusion

The Mixed Gamma-Negative Binomial Process offers a powerful solution to the model selection problem in multi-label learning. By "letting the data speak," it discovers latent structures automatically while maintaining high predictive accuracy. While the current Gibbs sampling approach is effective, future work aims to implement Variational Inference (VI) to improve scalability for massive datasets.

Summary updated

BibTeX
@article{xuan2017bayesian,
  author = {Junyu Xuan and Jie Lu and Guangquan Zhang and Richard Yi Da Xu and Xiangfeng Luo},
  title = {{A Bayesian nonparametric model for multi-label learning}},
  journal = {Machine Learning},
  year = {2017},
  doi = {10.1007/s10994-017-5638-4},
}
Figure