TL;DR
GRAND-SLAMIN’ is a new framework for training Generalized Additive Models (GAMs) that includes sparse pairwise interactions and structural hierarchy constraints. By using a "smooth-step" relaxation for variable selection and a customized sparse backpropagation algorithm, it achieves prediction accuracy competitive with black-box models while remaining significantly faster and more interpretable than existing toolkits.
What Problem Does This Paper Address?
In the world of machine learning, there is a classic tug-of-war between interpretability and accuracy. Simple models like Generalized Additive Models (GAMs)—which predict an outcome by summing up the effects of individual features—are easy to visualize and trust. However, they often fall short of "black-box" models like Deep Neural Networks (DNNs) because they ignore interactions between features (e.g., how the effect of "age" might change depending on "income").
Adding pairwise interactions to GAMs helps close this accuracy gap, but it introduces two major headaches:
- Computational Explosion: If you have $p$ features, there are $O(p^2)$ possible interactions. For a dataset with 500 features, that’s over 124,000 potential terms to calculate.
- Structural Complexity: To keep a model interpretable, we usually want "hierarchy." For example, a Strong Hierarchy constraint dictates that an interaction between features A and B should only be included if the individual effects of A and B are also important. Enforcing these rules during training is mathematically difficult (a combinatorial optimization problem).
Methods
The authors introduce GRAND-SLAMIN’ (GeNeRAlizeD Sparse Learning of Additive Models with INteractions) to solve these issues using a differentiable, end-to-end approach.
- Smooth Variable Selection: Instead of a hard "yes/no" for including a feature, they use binary indicator variables relaxed by a Smooth-Step function. This allows the model to use standard gradient-based optimization (like SGD) to "learn" which features and interactions to keep.
- Structural Constraints: They explicitly bake Weak and Strong Hierarchy into the optimization objective. This ensures that the model doesn't pick random interactions without their corresponding main effects, leading to more "sensible" and compact models.
- Soft Trees: The model uses "soft trees" (differentiable decision trees) as the underlying functions. These are more parameter-efficient than neural networks for tabular data.
- Sparse Backpropagation: This is the "secret sauce" for speed. As the model trains, many features are zeroed out by the Smooth-Step function. The authors customized the backpropagation algorithm to skip these zeroed-out components in both the forward and backward passes, leading to massive GPU speedups.
Datasets
The framework was evaluated on 16 real-world datasets spanning various domains:
- Classification: Magic (physics), Adult (socio-economic), Churn (business), Satimage, Texture, MiniBooNE, Covertype, Spambase, News, Optdigits, Bankruptcy, Madelon, Activity, and Multiple.
- Regression/Visualization: Bike Sharing and the American Community Survey (US Census).
Key Insights and Ideas
- Hierarchy as a Regularizer: One of the most interesting findings is that imposing hierarchy isn't just for human readability; it actually reduces the variance of the model's estimates. By constraining the search space, the model produces more stable "shape functions," which increases user trust in the explanations.
- Efficiency through Sparsity: Most deep learning frameworks are designed for "dense" computation. By writing a custom kernel that exploits the sparsity of the indicator variables during training, the authors proved that interpretable models don't have to be slow.
- Soft Trees > MLPs: For these additive structures, the authors found that soft trees often outperformed Multi-Layer Perceptrons (MLPs) when matched for the number of parameters, suggesting trees are still the superior "shape" for tabular feature effects.
Key Results
- Accuracy: GRAND-SLAMIN’ performed on par with or better than state-of-the-art interpretable toolkits like Explainable Boosting Machines (EBM) and NODE-GA2M.
- Sparsity: On the Bankruptcy dataset, it achieved a factor of 8x feature compression compared to other toolkits while maintaining accuracy.
- Speed: Thanks to sparse backpropagation, the toolkit is up to 10x faster than standard backpropagation. Compared to other hierarchical models like SIAN, it was sometimes over 1,300x faster on specific datasets.
- Theoretical Grounding: The paper provides novel non-asymptotic prediction bounds, giving a mathematical guarantee that the model's error converges to zero as more data is provided.
Limitations and Future Work
- Higher-Order Interactions: The current framework focuses on pairwise (2-way) interactions. While it can be extended to 3-way interactions, the authors note that these are much harder for humans to interpret and lead to an $O(p^3)$ computational burden.
- Initial Screening: For extremely high-dimensional data (where $p$ is very large), the model still benefits from an initial "screening" step to prune the most irrelevant interactions before the main training begins.
- Interpretability vs. Complexity: While the model is "interpretable," a model with hundreds of sparse interactions is still harder to digest than a simple linear regression. The burden remains on the user to tune the sparsity penalty ($\lambda$) to find the right balance for their specific needs.
Summary updated