MBCT: Tree-Based Feature-Aware Binning for Individual Uncertainty Calibration

Siguang Huang, Yunli Wang, Lili Mou, Huayue Zhang, Han Zhu, Chuan Yu, Bo Zheng

Introduction

In high-stakes domains like medical diagnosis and online advertising, model reliability depends not just on classification accuracy but on uncertainty calibration—the degree to which predicted probabilities reflect actual outcomes. Traditional post-hoc calibration methods typically fall into two categories: parametric scaling (e.g., Platt Scaling) and non-parametric binning (e.g., Histogram Binning). While scaling is data-efficient, it relies on rigid distributional assumptions. Binning is more flexible but often results in a "blunt instrument" approach where all samples in a bin receive the same score, potentially degrading the model's ranking performance (AUC).

The MBCT Framework

To address these limitations, researchers from Alibaba and the University of Alberta developed Multiple Boosting Calibration Trees (MBCT). This framework treats calibration as a supervised learning task, leveraging input features to identify complex "bias patterns" where model predictions consistently over- or under-estimate true probabilities based on context.

Architecture of the MBCT framework, illustrating feature-aware binning and leaf-level linear scaling.

MBCT introduces three core innovations:

  1. Feature-Aware Binning: Instead of binning based solely on the raw prediction score, MBCT uses the model's input features to split nodes in a tree structure. Each path to a leaf defines a context-specific bin.
  2. Individual Calibration: Within each leaf node, MBCT fits a local linear function ($y = kf(x)$). This preserves the relative ranking of samples within the bin, allowing for "individual" calibration rather than assigning a single average value to all samples.
  3. Boosting: A gradient boosting approach combines multiple weak calibration trees into a robust ensemble.

Measuring Calibration: MVCE

The authors also critique the standard Expected Calibration Error (ECE), noting its sensitivity to binning schemes and inherent bias. They propose Multi-View Calibration Error (MVCE), which evaluates calibration across multiple random shuffle partitions to provide a more stable and theoretically grounded measure.

Comparison of bias in standard ECE versus the proposed MVCE across varying bin counts and sample sizes.

As shown in the simulation results, MVCE exhibits significantly lower bias than ECE, particularly when dealing with small sample sizes or a high number of bins, making it a more reliable metric for evaluating calibration performance.

Experimental Results

MBCT was evaluated on three major datasets: CACTRDC (an industrial dataset from Alibaba), Porto Seguro, and Avazu.

  • Offline Performance: MBCT consistently outperformed state-of-the-art baselines in both calibration error (MVCE) and ranking accuracy (AUC). Notably, on the CACTRDC dataset, it improved AUC from 0.779 to 0.786.
  • Online Impact: In a 15-day A/B test on a live display advertising platform, MBCT delivered a 22.1% increase in CTR and an 8.4% lift in eCPM (effective cost per mille) compared to the uncalibrated model.

Conclusion

MBCT bridges the gap between flexible binning and precise scaling by incorporating feature awareness into a boosting framework. By moving beyond simple score-based adjustments, it allows for surgical corrections that improve both the reliability of probability estimates and the overall ranking performance of machine learning systems.

Summary updated

BibTeX
@inproceedings{huang2022mbct,
  author = {Siguang Huang and Yunli Wang and Lili Mou and Huayue Zhang and Han Zhu and Chuan Yu and Bo Zheng},
  title = {{MBCT: Tree-Based Feature-Aware Binning for Individual Uncertainty Calibration}},
  booktitle = {The Web Conference},
  year = {2022},
  doi = {10.1145/3485447.3512096},
}
Figure