NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Binary Linear Compression for Multi-label Classification

Wen-Ji Zhou, Yang Yu, Min-Ling Zhang

Abstract

Multi-label classification (MLC) tasks often involve high-dimensional label spaces where labels exhibit strong correlations. Conventional embedding-based approaches address this by projecting labels into a lower-dimensional real-valued space. However, this transformation inadvertently converts a classification problem into a more complex regression task, increasing structural risk and model complexity. This paper introduces Binary Linear Compression (BILC), a method that preserves the binary nature of the embedded space. By maintaining the task as classification, BILC allows for simpler, more generalizable models. Our evaluation across diverse datasets shows that BILC consistently achieves superior precision and model efficiency compared to state-of-the-art regression-based embeddings.

The Challenge: Regression vs. Classification

In multi-label classification, the goal is to predict a set of relevant tags for a given instance. To manage large label sets, embedding methods compress labels into a latent space, learn a mapping from features to this space, and then decompress the predictions.

A critical oversight in standard linear mappings (e.g., PCA, Compressed Sensing) is that they produce real-valued embeddings. This forces the learning algorithm to solve a regression problem, which is inherently more sensitive to noise and requires more complex models than classification. This increased complexity leads to higher "structural risk," making models prone to overfitting and less robust on real-world data.

Binary Linear Compression (BILC)

To address these issues, the authors propose BILC, which keeps the learning task strictly within the classification domain.

  1. Binary Mapping: BILC employs a compression matrix $M$ followed by a nonlinear sign operator, ensuring the compressed labels $z$ remain binary ({-1, +1}).
  2. Derivative-Free Optimization: Because the sign operator is non-differentiable, the authors use RACOS, a derivative-free optimization method, to find the optimal compression matrix.
  3. Efficient Reconstruction: The reconstruction matrix is defined as the pseudo-inverse of the compression matrix to streamline the optimization process.
  4. Simplified Learning: With binary embeddings, simple Binary Relevance (BR) models—training one classifier per compressed dimension—become highly effective.
  5. Scalability: For large-scale datasets, "BILC+Cluster" and "BILC+Tree" variants partition the feature space to maintain computational efficiency.

Insights: Why Binary Embeddings Work

The core advantage of BILC lies in the simplicity of the resulting subproblems. Analysis of decision trees trained on binary vs. real-valued embeddings reveals that classification trees are significantly shallower and contain fewer nodes. This indicates that binary embeddings lead to models with lower structural complexity and better generalization.

Label accuracy distributions for original vs. compressed labels across multiple datasets.

Furthermore, the compression matrix $M$ effectively "absorbs" label correlations. While original labels are often highly dependent, the BILC-embedded labels are nearly independent, which justifies the use of simple, independent classifiers for each compressed dimension.

Experimental Results

BILC was evaluated on five benchmark datasets: core5k, bibtex, bookmarks, NUS-Wide, and Delicious. These datasets represent a wide range of label densities and scales.

Performance and Accuracy

BILC consistently outperformed established methods like SLEEC, PLST, and Compressed Sensing. The gains in Precision@k were particularly notable:

  • Bookmarks: 57.5% improvement in Precision@1 over SLEEC.
  • Bibtex: 46% improvement in Precision@1 over SLEEC.
Comparison of error metrics across different embedding dimensions (m=5, 10, 50) for various methods.

Model Simplicity and Scalability

The experiments confirmed that BILC models are structurally smaller than regression-based counterparts. Despite their simplicity, they maintain competitive or superior Hamming loss. The accelerated versions (BILC+Cluster/Tree) allow the method to scale to "extreme" multi-label tasks like Delicious, remaining competitive with specialized high-scale classifiers like FastXML.

Conclusion and Future Work

Binary Linear Compression demonstrates that keeping embedded spaces binary is a powerful strategy for multi-label classification. By avoiding the pitfalls of regression, BILC produces simpler, more accurate models. While the current optimization process can be computationally intensive, the use of clustering and tree-based acceleration provides a path toward handling even larger datasets. Future research will focus on further optimizing the training speed and applying the framework to datasets with millions of labels.

Summary updated

BibTeX
@inproceedings{zhou2017binary,
  author = {Wen-Ji Zhou and Yang Yu and Min-Ling Zhang},
  title = {{Binary Linear Compression for Multi-label Classification}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/496},
}
Figure