Abstract
Label space expansion for multi-label classification (MLC) is a methodology that encodes the original label vectors to higher dimensional codes before training and decodes the predicted codes back to the label vectors during testing. The methodology has been demonstrated to improve the performance of MLC algorithms when coupled with off-the-shelf error-correcting codes for encoding and decoding. Nevertheless, such a coding scheme can be complicated to implement, and cannot easily satisfy a common application need of cost-sensitive MLC---adapting to different evaluation criteria of interest. In this work, we show that a simpler coding scheme based on the concept of a reference pair of label vectors achieves cost-sensitivity more naturally. In particular, our proposed cost-sensitive reference pair encoding (CSRPE) algorithm contains cluster-based encoding, weight-based training and voting-based decoding steps, all utilizing the cost information. Furthermore, we leverage the cost information embedded in the code space of CSRPE to propose a novel active learning algorithm for cost-sensitive MLC. Extensive experimental results verify that CSRPE performs better than state-of-the-art algorithms across different MLC criteria. The results also demonstrate that the CSRPE-backed active learning algorithm is superior to existing algorithms for active MLC, and further justify the usefulness of CSRPE.
Introduction
In Multi-Label Classification (MLC), instances can belong to multiple categories simultaneously. A significant challenge in this field is that "success" is measured differently depending on the application. Standard MLC algorithms are often "cost-insensitive," hard-coded to optimize specific metrics like Hamming loss. However, real-world applications require flexibility; a medical system might prioritize F1-score, while tag recommendation might focus on Rank loss.
This paper introduces Cost-Sensitive Reference Pair Encoding (CSRPE), a framework that embeds cost information directly into the label space. By doing so, it allows classifiers to adapt to various evaluation metrics naturally. Additionally, the authors extend this framework to develop a cost-sensitive active learning algorithm (CSMLAL) that prioritizes querying instances with the highest "cost-uncertainty."
Methodology
The CSRPE algorithm leverages the concepts of Error-Correcting Codes (ECC) and One-Versus-One (OVO) decomposition, generalized for the multi-label setting.
Cost-Sensitive Encoding and Training
Instead of simple binary matching, the encoder evaluates a pair of reference label vectors ($y_\alpha, y_\beta$). A bit is assigned based on which reference vector incurs a lower cost relative to the ground truth label. During training, instances are weighted: if the cost difference between choosing $y_\alpha$ versus $y_\beta$ is large, the instance receives a higher weight to ensure the classifier prioritizes correct prediction for high-stakes decisions.
Voting-Based Decoding
During the testing phase, predicted code bits vote on the final label vector. To manage the exponential complexity of the label space ($2^K$), the authors utilize a "relevant set"—a subset of label vectors observed in the training data. This allows for efficient nearest-neighbor search in the code space.
Key Insights
- Generalized OVO: Treating label vectors as "hyper-classes" allows the classic OVO approach to handle complex cost functions.
- Redundancy and Sampling: By sampling approximately 3,000 "code bits," the algorithm achieves stable convergence without needing to evaluate every possible pair.
- Relevant Set Shortcut: Restricting predictions to label combinations seen in training is computationally efficient and empirically justified, as test distributions typically mirror training distributions.
Experimental Setup
The performance of CSRPE was evaluated across 10 public datasets representing diverse domains and label characteristics.
The datasets range from small sets like emotions (6 labels) to large-scale sets like Corel5k (374 labels), providing a comprehensive test of the algorithm's scalability and robustness across different label densities and distinctness levels.
Results and Discussion
Experimental results demonstrate that CSRPE consistently outperforms state-of-the-art cost-sensitive methods, such as Probabilistic Classifier Chains (PCC) and Condensed Filter Trees (CFT), particularly in metrics like F1-score and Accuracy. The algorithm is highly efficient, comparable to a Random Forest, and supports easy parallelization.
In the context of active learning, the CSMLAL strategy proved superior to standard methods like MMC (Maximal Loss Reduction with Maximal Confidence). By focusing on "cost utility uncertainty," the model effectively reduces the human labeling effort required to achieve high performance.
Limitations
A primary constraint is the "relevant set" assumption, which prevents the model from predicting novel label combinations not present in the training data. This may limit performance in zero-shot or extremely sparse scenarios. Future work could explore integrating deep neural networks as base learners or scaling the approach to extreme multi-label learning (XML) involving millions of labels.
Conclusion
CSRPE provides a flexible and efficient framework for cost-sensitive multi-label learning. By embedding cost information into the encoding and decoding process, it bridges the gap between fixed-metric algorithms and the diverse needs of real-world applications.
Summary updated