Explaining Predictions from Tree-based Boosting Ensembles

Ana Lucic, Hinda Haned, Maarten de RijkearXiv 2019

Introduction

Tree-based boosting ensembles, such as AdaBoost and Gradient Boosting Decision Trees (GBDTs), are widely utilized in industry for their superior predictive performance. However, their complexity often renders them "black boxes," making it difficult for users to understand the reasoning behind specific predictions—such as why a loan was denied. This paper proposes a research agenda to enhance the interpretability of these models through "counterfactual explanations," which identify the minimal feature changes required to flip a model's prediction.

The Challenge of Boosting Interpretability

Existing explanation methods typically fall into two categories: model-agnostic (e.g., LIME, SHAP) and model-specific. Model-agnostic methods often rely on local approximations that may not faithfully represent the underlying model logic. Conversely, model-specific methods designed for Random Forests do not translate well to boosting ensembles due to the sequential nature of trees and the use of gradients rather than raw labels in GBDTs. Furthermore, the computational cost of searching every path in every tree for a counterfactual is prohibitive.

Methodology: Search Space Reduction

The authors propose extending the "Feature Tweaking" approach to boosting by implementing search space reduction. Instead of analyzing all $K$ trees in an ensemble, they identify a subset of influential trees ($K' < K$) using two primary heuristics:

Heuristic 1: Tree Weights ($\alpha_k$)

In algorithms like AdaBoost, earlier trees are assigned higher weights as they address the most prominent patterns in the data. The authors hypothesize that these initial trees contain the core logic of the prediction. Visual analysis confirms that tree weights decay rapidly and then plateau, suggesting that a small subset $K'$ can effectively represent the bulk of the model's decision-making process.

Tree weights (αk) decay rapidly over iterations for both Adult and HELOC datasets.

Heuristic 2: Sample Weight Evolution ($w_k(x)$)

By tracking how the weight of a specific instance changes across iterations, researchers can gauge the "difficulty" the model faced in learning that instance. For correctly classified instances, sample weights typically drop sharply within the first 15 iterations. In contrast, weights for incorrectly classified instances—often outliers or points near the decision boundary—tend to oscillate or increase, providing a diagnostic signal for which trees are most relevant to a specific explanation.

Key Insights and Results

The sequential nature of boosting allows for natural pruning; because early trees carry more weight, the "long tail" of later trees can often be ignored when generating counterfactuals. Initial tests on the Adult and HELOC datasets validate these heuristics, showing clear distinctions in weight dynamics between confident and complex predictions. This approach aims to provide actionable recipes for users, such as: "If you increase Feature X by 0.5 units, the prediction will flip from Negative to Positive."

Future Work

This work-in-progress aims to formalize the algorithm for selecting the optimal $K'$ and extend the methodology to GBDTs. Additionally, the authors plan to conduct user studies with Data Science students to evaluate whether these counterfactual explanations effectively increase human trust and aid in identifying algorithmic errors.

Summary updated

BibTeX
@misc{lucic2019explaining,
  author = {Ana Lucic and Hinda Haned and Maarten de Rijke},
  title = {{Explaining Predictions from Tree-based Boosting Ensembles}},
  year = {2019},
  eprint = {1907.02582},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.02582},
}
Figure