Rectifying Classifier Chains for Multi-Label Classification

Robin Senge, Juan José del Coz, Eyke HüllermeierLWA 2013

TL;DR

This paper tackles a critical flaw in Classifier Chains (CC) for multi-label classification: the "attribute noise" introduced when predicted labels are used as input for subsequent classifiers during testing. The authors propose "nested stacking" (NS) as a solution, which trains classifiers on predicted labels, and demonstrate its effectiveness, especially on datasets with many labels or low individual label accuracy.

What Problem Does This Paper Address?

Multi-label classification (MLC) is the task of assigning multiple labels to a single instance, common in areas like text classification or image tagging. Classifier Chains (CC) are a popular MLC method that models label dependencies by chaining binary classifiers. Each classifier in the chain uses the true labels of preceding classifiers as additional features during training. However, during prediction, these true labels are unavailable and must be replaced by the predicted labels from earlier classifiers. This creates a discrepancy between training and testing conditions, introducing "attribute noise." This noise can propagate and amplify errors down the chain, potentially degrading performance. The paper investigates this "error propagation" problem and proposes methods to mitigate it.

Methods

The core contribution is the proposal of Nested Stacking (NS). Unlike standard stacking, which uses a two-level architecture, NS creates a nested hierarchy of classifiers, mimicking CC's chain structure. Crucially, each NS classifier is trained using the predicted labels of its predecessors, rather than the true labels. This ensures that the training and testing conditions for each classifier are consistent, thus avoiding the attribute noise problem inherent in CC. The paper also introduces Subset Correction, a post-processing step that restricts predictions to label combinations actually observed in the training data, aiming to improve robustness.

Datasets

The paper uses several standard MLC benchmark datasets for evaluation:

  • bibtex
  • emotions
  • enron
  • genbase
  • image
  • mediamill
  • medical
  • reuters
  • scene
  • slashdot
  • yeast

Additionally, synthetic data is used in experiments to specifically analyze label dependence.

Key Insights and Ideas

  • Attribute Noise is a Real Problem: The paper convincingly demonstrates that the discrepancy between using true labels in training and predicted labels in testing for CC is not just a theoretical concern but can significantly impact performance, especially as the chain grows longer or individual classifier accuracy decreases.
  • Nested Stacking Alleviates Noise: By training on predicted labels, NS directly addresses the attribute noise issue, leading to more robust performance, particularly in challenging scenarios.
  • Label Dependence is a Double-Edged Sword: While CC aims to leverage label dependence for improvement, strong dependence can exacerbate the negative effects of error propagation if not handled properly. NS seems to better manage this trade-off.
  • Subset Correction Offers a Simple Boost: The "subset correction" idea, while simple, provides a noticeable improvement, especially for subset 0/1 loss, by grounding predictions in observed label combinations.

Key Results

  • First Experiment (Error Propagation): Experiments show that CC's performance often degrades as the position in the chain increases, confirming the error propagation hypothesis.
  • Second Experiment (Label Dependence): Results indicate that CC's performance relative to BR (Binary Relevance, a baseline) is highly dependent on the level of label dependence. CC can gain with moderate dependence but may lose with very high dependence.
  • NS vs. CC Performance: In experiments comparing NS and CC (without subset correction), NS achieved significantly better Hamming loss on 8 out of 11 datasets. NS also outperformed CC on Jaccard and F1 scores for datasets with many labels or relatively high Hamming loss.
  • Effect of Subset Correction: Subset correction generally yielded improvements for both NS and CC, with NSsc (NS with subset correction) achieving significant wins over CCsc (CC with subset correction) on subset 0/1 loss.

Limitations and Future Work

  • Computational Complexity: Out-of-sample training for NS, which would be ideal for ensuring identical training and testing distributions, is computationally complex. The paper uses a simpler within-sample strategy, which was found to perform nearly as well but is still more complex than CC.
  • Theoretical Guarantees: While empirical results are strong, the paper calls for more theoretical work to fully understand the behavior of CC and NS.
  • Probabilistic CC: The authors suggest investigating whether the attribute noise problem also applies to probabilistic variants of CC and how their proposed methods might extend.
  • Generalizability of Subset Correction: Further investigation into the general applicability of subset correction to other MLC methods is recommended.

Summary updated

BibTeX
@inproceedings{senge2013rectifying,
  author = {Robin Senge and Juan José del Coz and Eyke Hüllermeier},
  title = {{Rectifying Classifier Chains for Multi-Label Classification}},
  booktitle = {LWA},
  year = {2013},
}
Figure