Fast ABC-Boost: A Unified Framework for Selecting the Base Class in Multi-Class Classification

Ping Li, Weijie ZhaoarXiv 2022 · DOI

Abstract

Multi-class classification often relies on gradient boosting decision trees, such as MART or LogitBoost. While the Adaptive Base Class Boost (ABC-Boost) algorithm significantly improves accuracy by enforcing a sum-to-zero constraint through a "base class" selection, its exhaustive search mechanism leads to a quadratic computational cost $O(K^2M)$. This paper introduces Fast ABC-Boost, a unified framework that employs smart heuristics—specifically the "s-worst classes" strategy, search "gaps," and a "warm-up" stage—to reduce training costs to near-standard levels ($O(KM)$) while maintaining or even improving state-of-the-art accuracy.

Introduction

In multi-class classification with $K$ classes, standard boosting algorithms typically treat classes independently or use a fixed reference class. However, the sum-to-zero constraint on class probabilities—where the sum of predicted probabilities for all classes must equal one—is a fundamental property that can be leveraged for better performance. ABC-Boost was developed to adaptively select a "base class" at each iteration to optimize this constraint.

Despite its theoretical advantages and empirical success in reducing test error, the original ABC-Boost is computationally expensive. For a dataset with $K$ classes and $M$ boosting iterations, finding the optimal base class requires an exhaustive search across all $K$ candidates at every step, increasing the complexity from $O(KM)$ to $O(K^2M)$. This quadratic scaling makes it prohibitively slow for problems with many classes.

The Baseline: Robust LogitBoost

To understand the improvements offered by ABC-Boost, it is helpful to examine the standard Robust LogitBoost algorithm, which serves as a common baseline in this domain.

Algorithm 2: The standard Robust LogitBoost algorithm, which serves as a baseline for ABC-Boost. MART follows a similar structure with a variation in the tree fitting step (Line 4).

As shown in Algorithm 2, standard LogitBoost iterates through each class $k$ from $0$ to $K-1$ to fit regression trees. ABC-Boost modifies this by introducing a base class $b$ that influences the gradients and weights used in the tree-building process (Line 4 and Line 5), requiring an additional search loop over $b \in \{0, 1, \dots, K-1\}$.

The Fast ABC-Boost Framework

Fast ABC-Boost addresses the $O(K^2M)$ bottleneck by replacing the exhaustive search with a unified framework using three tunable strategies:

  1. The "s-worst classes" strategy: Instead of evaluating all $K$ potential base classes, the algorithm identifies and searches only the $s$ classes with the highest current training loss. Empirically, searching just 2 to 4 of the "worst" classes is sufficient to capture the benefits of ABC-Boost.
  2. The "Gap" parameter ($g$): To further reduce overhead, the base class search is performed only every $g+1$ iterations. In the intervening steps, the previously selected base class is reused.
  3. The "Warm-up" stage ($w$): The algorithm begins with $w$ iterations of a numerically stable standard boosting method (like MART) before transitioning to the ABC-Boost logic. This ensures the model reaches a stable region of the loss surface before applying more aggressive optimization.

By setting these parameters (e.g., $s=K, g=0, w=0$), the framework can recover the original exhaustive ABC-Boost.

Experimental Results and Insights

The framework was evaluated on six diverse datasets, including UCI benchmarks (Covertype, Letter) and MNIST variants (Mnist10k, M-Image, M-Rand, M-Noise1).

Efficiency and Accuracy

Fast ABC-Boost achieved a significant speedup, reducing computational overhead from $O(K^2M)$ to approximately $1.2 \times O(KM)$. For the 26-class "Letter" dataset, this resulted in a 20x speedup over exhaustive ABC-Boost. Crucially, this efficiency did not come at the cost of accuracy. In fact, introducing a search gap ($g$) often acted as a form of regularization, leading to better generalization on test data by preventing over-optimization of the base class choice at every step.

Robustness and Convergence

A key finding was the "Worst Class Trap": using only the single worst class ($s=1$) as the base class is computationally optimal but numerically unstable, often leading to "catastrophic failure" where model performance collapses. The proposed "warm-up" and "gap" strategies successfully mitigated this risk. Furthermore, ABC-Boost typically drives training loss toward zero noticeably faster than standard MART or LogitBoost, leading to superior final accuracy.

Conclusion

Fast ABC-Boost bridges the gap between high-performance research algorithms and practical machine learning tools. By providing a unified framework to control the trade-off between search exhaustive-ness and computational speed, it allows practitioners to deploy state-of-the-art multi-class boosting models on large-scale datasets without the prohibitive $O(K^2)$ penalty. Future work may explore automated, dynamic selection of the $s, g,$ and $w$ parameters during training.

Summary updated

BibTeX
@misc{li2022fast,
  author = {Ping Li and Weijie Zhao},
  title = {{Fast ABC-Boost: A Unified Framework for Selecting the Base Class in Multi-Class Classification}},
  year = {2022},
  eprint = {2205.10927},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.10927},
}
Figure