Intelligible models for classification and regression

Yin Lou, Rich Caruana, Johannes GehrkeKDD 2012

Introduction

In high-stakes domains such as medicine and finance, the transparency of a predictive model is often as critical as its accuracy. While complex "black-box" models like Deep Neural Networks and Gradient Boosted Trees achieve state-of-the-art performance, they often obscure the underlying logic of their predictions. Conversely, simple linear models are highly interpretable but frequently fail to capture the non-linear complexities inherent in real-world data. This paper explores a middle ground by revitalizing Generalized Additive Models (GAMs), demonstrating that they can achieve near-peak accuracy while remaining fully intelligible.

Methods: Tree-Based Shape Functions

The core of the proposed approach is the Generalized Additive Model, defined by the equation: $g(y) = f_1(x_1) + f_2(x_2) + \dots + f_n(x_n)$

In this framework, each feature $x_i$ is mapped to a "shape function" $f_i$. Because the model lacks interaction terms (e.g., $f(x_1, x_2)$), a human can inspect individual graphs to understand exactly how each variable influences the final prediction.

Figure 3: Visualization of multiple shape functions $f_i(x_i)$ within a Generalized Additive Model. Each plot represents the contribution of a single feature to the overall prediction.

The authors' key innovation lies in how these shape functions are constructed. Moving away from traditional mathematical splines, they introduce BST-bagTRX, which utilizes gradient-boosted, bagged ensembles of shallow decision trees (typically 2-4 leaves). This method allows the model to adaptively capture sharp thresholds or complex curves where the data warrants it, without the bias often associated with overly smooth splines.

Empirical Evaluation

The researchers conducted a large-scale study across 12 datasets from the UCI and Delve repositories, covering both regression (e.g., Concrete, Wine, Music) and classification (e.g., Spambase, Adult Census, Physics). These datasets were characterized by low-to-medium dimensionality, typically under 100 features.

Key Insights

  • Superiority of Trees over Splines: Tree-based GAMs consistently outperformed spline-based versions. Bias-variance analysis suggests that splines often underfit by smoothing over "sharp turns" in the data—such as legal age limits or physical thresholds—which trees capture naturally.
  • Stability through Bagging and Boosting: By embedding bagging within the boosting loop—fitting a bagged ensemble to residuals at each step—the authors significantly reduced model variance and prevented overfitting to noise.
  • The Efficiency of Shallow Trees: Optimal performance was achieved with trees containing only 2 to 4 leaves. This constraint ensures the model remains additive and prevents the accidental modeling of feature interactions.

Results and Interpretability

The tree-based GAMs successfully closed the accuracy gap between linear models and complex ensembles. On average, they reduced loss by approximately 5% compared to previous state-of-the-art GAMs. While "Full Complexity" models like Random Forests still hold a slight edge due to their ability to model interactions, GAMs provide a much more interpretable alternative with competitive performance.

Figure 5: A shape plot for the "Cement" feature in the Concrete dataset. The non-linear curve captures nuances that a linear model would miss, while the confidence intervals provide a measure of uncertainty.

As shown in the shape plots, the model captures intricate, non-linear relationships—such as the specific impact of cement content on concrete strength—that are invisible to linear models and difficult for splines to represent accurately.

Limitations and Future Directions

While effective, GAMs face challenges as dimensionality increases; models with hundreds or thousands of features may still be difficult for humans to parse. Furthermore, the inherent lack of interaction terms means some predictive power is sacrificed. The authors suggest "GA²Ms" as a future direction, which would allow for a limited number of pairwise interactions (visualized as 2D plots) to improve accuracy while maintaining high interpretability.

Summary updated

BibTeX
@inproceedings{lou2012intelligible,
  author = {Yin Lou and Rich Caruana and Johannes Gehrke},
  title = {{Intelligible models for classification and regression}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2012},
  doi = {10.1145/2339530.2339556},
}
Figure