An empirical analysis of binary transformation strategies and base algorithms for multi-label learning

Adriano Rivolli, Jesse Read, Carlos Soares, Bernhard Pfahringer, André C. P. L. F. de CarvalhoMachine Learning 2020 · DOI

Introduction

Multi-label classification (MLC) involves assigning multiple tags to a single instance, such as a news article belonging to both "Politics" and "Economics." The standard approach to this complexity is binary transformation, which decomposes the multi-label problem into several independent or interdependent binary classification tasks.

Historically, MLC research has focused heavily on developing sophisticated "strategies" to capture label correlations—examples include Classifier Chains or Stacking. However, these strategies are always built upon a "base algorithm" (e.g., SVM or Decision Trees) that performs the actual binary classification. This paper addresses a critical gap in the literature: does the choice of the base algorithm matter more than the transformation strategy itself? The authors hypothesize that many reported gains in strategy performance might actually be artifacts of the specific base learners used in those studies.

Methodology

To investigate the interaction between strategies and algorithms, the authors conducted an extensive empirical "stress test" involving 60 unique combinations.

Transformation Strategies

The study evaluated ten distinct transformation strategies, categorized into three main groups: One-round, Stacking, and Ensemble methods. These strategies represent the state-of-the-art in handling label dependencies.

Table 1: Taxonomy of binary transformation strategies evaluated in the study.

Base Algorithms and Datasets

The strategies were paired with six diverse base algorithms:

  • C5.0 (Decision Tree)
  • Logistic Regression (LR)
  • Random Forest (RF)
  • SVM (Standard and Tuned)
  • eXtreme Gradient Boosting (XGBoost)

The evaluation spanned 20 benchmark datasets across domains including text (e.g., Enron, Medical), audio (e.g., Birds, Emotions), image (e.g., Corel5k, Scene), and biology (e.g., Yeast). These datasets provided a wide range of label densities and imbalance levels to ensure robust findings. Statistical significance was determined using Bayesian hierarchical correlated t-tests, offering a more nuanced perspective than traditional p-values.

Key Insights

The Dominance of the Base Algorithm

The most significant finding is that the choice of the base algorithm often has a greater impact on performance than the transformation strategy. Models using the same base algorithm tended to cluster together in performance rankings. For instance, upgrading from a simple Decision Tree to a modern powerhouse like XGBoost often yielded better results than switching from a simple Binary Relevance strategy to a complex Ensemble strategy.

The "C5.0 Mirage"

Previous research frequently cited Ensemble methods (like EBR or ECC) as vastly superior. This study clarifies that this perceived superiority is most evident when using "unstable" base learners like C5.0. When robust learners like Random Forest are employed, the performance gap between simple and complex strategies narrows significantly, suggesting that complex strategies often serve to compensate for the weaknesses of poor base learners.

The "Invisible Label" Problem

A troubling discovery was the "label prediction failure." Across nearly all strategy-algorithm combinations, a significant number of rare labels were either never predicted or consistently misclassified. This indicates that current MLC approaches struggle with the "long tail" of infrequent labels, often optimizing for global metrics at the expense of minority classes.

Key Results and Recommendations

The study's results vary depending on the target metric:

  • F1 and Recall: Ensemble strategies (EBR, ECC) paired with XGBoost generally provided the best performance.
  • Ranking and Precision: Surprisingly, the simplest strategy—Binary Relevance (BR)—when paired with Random Forest, often outperformed more complex models in correctly ranking labels and minimizing false positives.
  • Metric-Specific Choices: For practitioners, the authors recommend PruDent for optimizing Hamming Loss and Recursive Dependent Binary Relevance (RDBR) for maximizing Subset Accuracy.

Conclusion

This research demonstrates that Random Forest and XGBoost, despite being underutilized in traditional MLC literature, should be considered the new gold standard for base algorithms. The study concludes with a call for future MLC research to evaluate strategies across multiple base algorithms to avoid biased results. Furthermore, future work must address the failure to predict infrequent labels, moving beyond global score optimization to ensure all labels are effectively modeled.

Summary updated

BibTeX
@article{rivolli2020empirical,
  author = {Adriano Rivolli and Jesse Read and Carlos Soares and Bernhard Pfahringer and André C. P. L. F. de Carvalho},
  title = {{An empirical analysis of binary transformation strategies and base algorithms for multi-label learning}},
  journal = {Machine Learning},
  year = {2020},
  doi = {10.1007/s10994-020-05879-3},
}
Figure