Selecting Feature Interactions for Generalized Additive Models by Distilling Foundation Models

Jingyun Jia, Chandan Singh, Rich Caruana, Ben LengericharXiv 2026

TL;DR

TabDistill bridges the gap between high-capacity black-box models and interpretable frameworks by using Tabular Foundation Models (TFMs) to discover complex feature interactions. By extracting these interactions via a post-hoc explainer and feeding them into a Generalized Additive Model (GAM), TabDistill consistently boosts predictive accuracy while preserving full model transparency.

What Problem Does This Paper Address?

In high-stakes domains like medicine or finance, data scientists often face a harsh tradeoff between accuracy and interpretability. Generalized Additive Models (GAMs) are a popular choice for interpretability because they decompose predictions into isolated, single-feature curves that humans can easily inspect. However, standard GAMs struggle when features interact—for instance, if a medical risk factor depends heavily on a patient's combined age and blood pressure.

Existing methods to find these feature interactions typically rely on greedy heuristics (like sequentially adding pairs based on residual improvements) or tree-based rules. These approaches often miss higher-order (3-way or more) or highly localized interactions. Meanwhile, modern Tabular Foundation Models (TFMs) excel at capturing these intricate dependencies through large-scale pretraining, but they are massive, opaque black boxes. This paper asks: Can we use the representational power of TFMs to guide interaction discovery for interpretable models?

Methods

The authors introduce TabDistill, a three-step pipeline designed to distill interaction knowledge from a foundation model into a transparent GAM:

  1. Fit a TFM: Train a tabular foundation model (such as TabPFN) on the target dataset. Because TFMs use in-context learning and large-scale representation learning, they implicitly capture rich, adaptive feature dependencies.
  2. Extract Interactions: Apply a scalable, model-agnostic post-hoc interaction attribution method called SPEX (Sparse Fourier Transform explainer). Specifically, they use it to compute the Faith-Banzhaf Interaction Index (FBII), which efficiently identifies the most salient low-order and higher-order feature interactions without exponentially enumerating the entire interaction space.
  3. Train a Downstream GAM: Take the top-$k$ discovered interactions and incorporate them as explicit additive terms into an Explainable Boosting Machine (EBM) or another GAM variant.
Figure 1: TabDistill utilizes the adaptive feature dependency structure learned from TFM. The distilled model is then passed through the post-hoc explainer SPEX for interaction feature discovery.

Datasets

The method was evaluated across a diverse benchmark suite consisting of datasets with fewer than 2,000 samples and 10 features drawn from TabArena, TALENT, and the Penn Machine Learning Benchmark (PMLB). This resulted in:

  • 35 regression task datasets
  • 44 classification task datasets

Additionally, the authors generated synthetic datasets based on Fourier-sparse functions and tree-structured teacher rules to rigorously test how accurately the foundation models could recover known, ground-truth interaction structures under low-data and noisy regimes.

Key Insights and Ideas

  • TFMs as Data-Driven Guides: Instead of relying on rigid, greedy algorithmic heuristics to find interactions, TabDistill treats the pretrained foundation model as an intuitive "teacher" that has already mapped out the data's complex landscape.
  • Unlocking Higher-Order Interactions: Unlike traditional baselines like FAST (which is strictly limited to pairwise interactions), TabDistill can seamlessly uncover 3-way or higher dependencies.
  • Robustness to Noise and Sparsity: Synthetic experiments revealed that TabPFN is remarkably adept at finding the "needle in a haystack"—recovering minimal feature interactions even in high-dimensional spaces, low-data settings, or environments with low signal-to-noise ratios.
Performance of TabPFN on synthetic Fourier-sparse functions across different regimes

Key Results

  • Consistent Performance Gains: Across both regression and classification benchmarks, GAMs equipped with TabDistill-selected interactions achieved better average ranks than standard baselines like FAST and RuleFit.
Figure 2: Comparison of TabDistill against baseline methods. When the number of interactions is small, selecting informative interactions is critical. TabDistill remains superior across set- tings. As more interactions are included, sensitivity to the specific interaction set decreases.
  • Closing the Black-Box Gap: On the PMLB regression datasets, an EBM using TabDistill interactions achieved an average rank of 2.26 (MAE), outperforming the popular black-box model XGBoost (3.30).
  • TFM Generality: The framework is not tied to a single foundation model architecture; it achieved strong results using both TabPFN and TabICL as backbones.
Figure 3: Comparison of TabDistill on TabICL and TabPFN against baseline methods. Left: per- formance evaluated by average rank across datasets using the F1 score metric. Right: performance evaluated by average rank across datasets using the accuracy metric.
  • Real-World Case Study: In predicting used Fiat 500 car prices, TabDistill successfully identified a crucial 3-way interaction between longitude, latitude, and model type (sport vs. non-sport), capturing geographic pricing variations that pairwise methods completely missed.

Limitations and Future Work

While powerful, TabDistill is not without its drawbacks. It inherently inherits any biases or failure modes present in the underlying TFM, meaning it could potentially transfer spurious or unstable interactions to the downstream GAM. Furthermore, running post-hoc interaction attribution can be computationally expensive, especially as datasets scale up.

The authors suggest that future work should focus on improving this performance-efficiency tradeoff—perhaps by utilizing intermediate distillation models (like ProxySPEX) or by training future TFMs to directly output important feature interactions natively.

Summary updated

BibTeX
@misc{jia2026selecting,
  author = {Jingyun Jia and Chandan Singh and Rich Caruana and Ben Lengerich},
  title = {{Selecting Feature Interactions for Generalized Additive Models by Distilling Foundation Models}},
  year = {2026},
  eprint = {2604.13332},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.13332},
}
Figure