Abstract
In the early days of machine learning (ML), the emphasis was on developing complex algorithms to achieve best predictive performance. To understand and explain the model results, one had to rely on post hoc explainability techniques, which are known to have limitations. Recently, with the recognition that interpretability is just as important, researchers are compromising on small increases in predictive performance to develop algorithms that are inherently interpretable. While doing so, the ML community has rediscovered the use of low-order functional ANOVA (fANOVA) models that have been known in the statistical literature for some time. This paper starts with a description of challenges with post hoc explainability and reviews the fANOVA framework with a focus on main effects and second-order interactions. This is followed by an overview of two recently developed techniques: Explainable Boosting Machines or EBM (Lou et al., 2013) and GAMI-Net (Yang et al., 2021b). The paper proposes a new algorithm, called GAMI-Lin-T, that also uses trees like EBM, but it does linear fits instead of piecewise constants within the partitions. There are many other differences, including the development of a new interaction filtering algorithm. Finally, the paper uses simulated and real datasets to compare selected ML algorithms. The results show that GAMI-Lin-T and GAMI-Net have comparable performances, and both are generally better than EBM.
Introduction
In high-stakes fields like finance or healthcare, "black-box" models such as deep neural networks or gradient-boosted trees are often avoided because their decision-making process is opaque. While post-hoc tools like SHAP or LIME can explain these models after the fact, they are often just approximations and can be misleading.
The alternative is inherently interpretable models. The gold standard in this area is the functional ANOVA (fANOVA) framework, which decomposes a model into the sum of individual feature contributions (main effects) and pairs of features (second-order interactions). This paper introduces GAMI-Lin-T (Generalized Additive Model with Interactions using Linear Trees), a new algorithm that leverages this framework to achieve high predictive accuracy while remaining fully transparent.
The fANOVA Framework in Tree-Based Models
The fANOVA framework represents a complex function as a sum of simpler components. In the context of tree-based models, these components are determined by the variables used in the splits. A main effect is captured by a tree that splits only on a single variable, whereas an interaction is captured when a tree splits on multiple variables, creating a joint response surface.
GAMI-Lin-T: Key Innovations
GAMI-Lin-T introduces several critical improvements over existing fANOVA-based tools like Explainable Boosting Machines (EBM):
Linear-Tree Base Learners
Unlike EBM, which fits constants in each leaf (creating a "staircase" effect), GAMI-Lin-T fits linear models within each node. This leads to smoother response surfaces and requires fewer splits to capture complex trends, effectively reducing overfitting and producing more "natural" curves that align with domain expertise.
Iterative Fitting and Residuals
Instead of a simple two-stage process, GAMI-Lin-T uses an iterative boosting approach. It cycles between fitting main effects and interactions, allowing the model to "correct" itself. This is particularly effective for unscrambling relationships when features are highly correlated.
Advanced Interaction Filtering and Purification
The algorithm includes a new filtering method using depth-2 trees and B-splines to identify significant feature pairs, which is more flexible than the traditional "four-quadrant" approach. Additionally, a post-processing "purification" step ensures hierarchical orthogonality, preventing main effects from being hidden inside interaction terms.
Experimental Results
The researchers evaluated GAMI-Lin-T using simulated datasets and a real-world Home Mortgage dataset of 1 million accounts.
- Predictive Performance: In cases with correlated predictors, GAMI-Lin-T and GAMI-Net consistently outperformed EBM. In some scenarios, GAMI-Lin-T even surpassed XGBoost in Mean Squared Error (MSE).
- Interaction Detection: GAMI-Lin-T successfully identified complex interactions (like sine-wave patterns) that EBM’s filtering algorithm missed.
- Real-World Utility: On the mortgage dataset, all models achieved similar AUC scores (~0.85-0.86), but GAMI-Lin-T provided a smoother and more physically plausible main effect for variables like "prediction horizon."
Conclusion
GAMI-Lin-T demonstrates that for many tabular datasets, a model restricted to 2nd-order interactions can perform as well as unrestricted black-box models. By using linear trees and iterative fitting, it provides a robust, scalable, and highly interpretable solution for complex data analysis tasks.
Summary updated