Abstract
This paper introduces a novel framework for extending gradient boosting to multi-label classification (MLC) by supporting multivariate, non-decomposable loss functions. The authors propose BOOMER (Boosted Multi-label Rule Sets), an algorithm that learns ensembles of multi-label rules. The research demonstrates that predicting multiple labels simultaneously within a single rule is essential for capturing label dependencies and minimizing complex metrics such as subset 0/1 loss.
Introduction
In multi-label classification (MLC), the objective is to assign a set of relevant labels to a given instance. Unlike standard classification, evaluating MLC performance is multifaceted. Metrics range from Hamming loss, which treats each label independently, to subset 0/1 loss, which requires the entire predicted label set to match the ground truth exactly.
Most modern gradient boosting implementations, such as XGBoost or LightGBM, are optimized for single-output problems. To adapt them for MLC, practitioners often resort to "Binary Relevance," training a separate model for every label. This approach, however, ignores label dependencies—the inherent correlations between labels (e.g., an image tagged with "beach" is highly likely to also be tagged with "sunset"). While some boosting variants for MLC exist, they are typically restricted to "decomposable" losses that fail to account for these inter-label relationships. This paper addresses this gap by proposing a framework to directly optimize non-decomposable losses within a gradient boosting context.
Methodology
1. Multivariate Gradient Boosting Framework
The authors extend the standard gradient boosting objective using a second-order multivariate Taylor approximation. Instead of calculating a simple scalar gradient for a single label, the framework calculates a gradient vector and a Hessian matrix. The Hessian is critical as it captures how changes in one label's prediction affect the loss of others, allowing the model to navigate the dependencies between labels during the optimization process.
2. BOOMER: Boosted Multi-label Rule Sets
BOOMER serves as the concrete algorithmic implementation of this framework. It utilizes conjunctive rules (e.g., IF feature X > val AND feature Y < val THEN predict labels A and B) as base learners rather than traditional decision trees.
- Multi-label Heads: Unlike standard rules that predict a single value, BOOMER rules feature "heads" that predict a vector of scores for multiple labels simultaneously.
- Optimization: To determine the optimal scores for a rule's head, the algorithm solves a system of linear equations derived from the Hessian and gradient.
- Flexibility: Rules offer distinct advantages over trees. While an ensemble of $T$ trees covers every example exactly $T$ times, an ensemble of rules can overlap or abstain. This allows the model to focus its "predictive effort" on specific, difficult regions of the feature space where complex label correlations exist.
Experimental Setup
The authors evaluated BOOMER across two distinct environments:
- Synthetic Data: Three datasets were designed to simulate varying label relationships: marginal independence, strong marginal dependence, and strong conditional dependence.
- Real-World Benchmarks: Eight established MLC datasets from the Mulan and MEKA projects were used, including Birds, Emotions, Enron, Medical, Scene, and Yeast. These datasets provide a diverse range of instance counts and label densities.
Key Insights and Results
The Necessity of Multi-label Heads
The most significant finding is that for non-decomposable losses like subset 0/1 loss, base learners must be capable of predicting multiple labels at once. If a rule is restricted to a single label, it cannot explicitly model the conditional dependencies required to minimize the "all-or-nothing" subset loss effectively.
Performance on Subset 0/1 Loss
On real-world benchmarks, the BOOMER variant utilizing multi-label rules and example-wise loss (ex.w.-log. multi) achieved a superior average rank of 1.75 for subset 0/1 loss. This significantly outperformed Binary Relevance (5.75) and Classifier Chains (4.13).
Efficiency and Versatility
- Learning Speed: On synthetic data with label dependencies, multi-label rules converged to optimal performance with far fewer rules than single-label rules.
- Hamming Loss: Despite its focus on complex losses, BOOMER remained competitive with state-of-the-art baselines like XGBoost when optimizing for the simpler, decomposable Hamming loss.
- Loss Customization: By adjusting the surrogate loss function (e.g., using example-wise logistic loss), the algorithm can be tailored to specific evaluation metrics.
Limitations and Future Work
While the framework is powerful, it faces a challenge in computational complexity. Solving the linear system for rule heads has a complexity of $O(K^3)$, where $K$ is the number of labels. This makes the current implementation difficult to scale to "Extreme Multi-label Classification" (XMLC) problems involving thousands or millions of labels.
Future research directions include:
- Sparsity Exploitation: Investigating approximations to handle large label sets more efficiently by leveraging the sparsity of the label space.
- Expanded Surrogate Losses: Exploring other multivariate surrogates, such as those for F1-measure or Jaccard loss, which are common in MLC evaluation but not yet fully integrated into the framework.
Summary updated