Interpretable Tabular Foundation Models via In-Context Kernel Regression
Ratmir Miftachov, Bruno Charron, Simon Valentin
TL;DR
This work tackles the opacity of tabular foundation models that rely on in-context learning by introducing KernelICL, which replaces the final prediction head with explicit kernel functions and uses symmetric in-context embeddings. The method yields predictions as transparent weighted averages over training labels, quantified by a perplexity-based inspectability measure, and is supported by a two-dimensional taxonomy that unifies standard kernel methods, neighbor-based approaches, and attention. KernelICL demonstrates competitive accuracy on 55 TALENT datasets (e.g., around 82.88% accuracy, within 0.2% of TabICL) while enabling explicit, interpretable weights over training samples. The combination of distance-based kernels, symmetric embeddings, and tunable sparsity provides a practical accuracy–inspectability trade-off for real-world tabular decision-making tasks.
Abstract
Tabular foundation models like TabPFN and TabICL achieve state-of-the-art performance through in-context learning, yet their architectures remain fundamentally opaque. We introduce KernelICL, a framework to enhance tabular foundation models with quantifiable sample-based interpretability. Building on the insight that in-context learning is akin to kernel regression, we make this mechanism explicit by replacing the final prediction layer with kernel functions (Gaussian, dot-product, kNN) so that every prediction is a transparent weighted average of training labels. We introduce a two-dimensional taxonomy that formally unifies standard kernel methods, modern neighbor-based approaches, and attention mechanisms under a single framework, and quantify inspectability via the perplexity of the weight distribution over training samples. On 55 TALENT benchmark datasets, KernelICL achieves performance on par with existing tabular foundation models, demonstrating that explicit kernel constraints on the final layer enable inspectable predictions without sacrificing performance.
