What Do Tabular Foundation Models Compute In Context? In-Situ Representation Refinement through Attention-Gated Updates

Tian Zhou, Beverly Jin, Linxiao Yang, Xue Wang, Wenwei Wang, Bingqing Peng, Mengni Ye, Jinjie Gu, Liang SunarXiv 2026

TL;DR

Tabular foundation models achieve in-context learning by dynamically reshaping data representations inside the network rather than emulating gradient descent in parameter space. By formalizing this process as "in-situ representation refinement," the authors design REFINEICL—a highly efficient, feed-forward network (FFN)-free architecture that outperforms state-of-the-art models like TabPFN-3 while slashing peak inference memory by over 60%.

What Problem Does This Paper Address?

Tabular foundation models turn supervised learning into a single forward pass: you feed the network a labeled table (the support set) along with unlabeled query rows, and it predicts the missing labels. While these models have achieved rapid empirical success, a fundamental question remains: What reusable computation converts a labeled table into its predictor during a forward pass?

Previous theories suggest that Transformers emulate gradient descent or closed-form optimization algorithms within their parameter space. However, this paper argues that for multiclass tabular in-context learning (ICL), optimization actually happens in the representation space. The authors set out to provide a constructive, representation-level explanation of how context rows actively reshape an episode's geometry to build a task-specific predictor on the fly.

Methods

The authors frame tabular ICL as in-situ representation refinement. They define a class-separation objective (a leave-one-out supervised neighborhood objective) directly on the support data representations. From this objective, they mathematically derive an update rule showing that support labels guide geometric corrections to data states, which then smoothly transfer to query states via a kernel extension.

This theoretical derivation directly inspires REFINEICL, a novel architecture optimized for tabular data that introduces three key design choices:

  1. An Attention-Gated, FFN-Free Context Stack: In standard language models, Feed-Forward Networks (FFNs) act as static key-value memories for facts. Because tabular tasks change completely with every new table, REFINEICL replaces the massive, memory-heavy FFN expansion layers with an attention routing branch multiplied by a state-dependent SiLU gate. This product provides the necessary non-linearity at a fraction of the cost.
  2. Selected Low-Rank Feature Interaction: Computes feature crosses on a sparse graph (limiting communication to the top 16 feature neighbors) before compressing features into row states.
  3. Typed Memory Re-entry: Periodically injects feature-level details back into the contextual stack to recover information lost during row compression.
From the tabular ICL problem to the REFINEICL architecture.

Datasets

The model's performance and generalization were evaluated across several established tabular classification benchmarks without any dataset-specific fine-tuning:

  • AMLB29: A standard 29-task AutoML Benchmark suite.
  • TabArena (v0.1 snapshot): A comprehensive 38-dataset benchmark used to compute competitive Elo ratings.
  • TabZilla: Evaluated on both the Canonical (36 tasks) and Extension (102 tasks) views.
  • OpenML-CC18: A suite of 72 diverse classification tasks used for rigorous common-budget comparisons.

Key Insights and Ideas

  • Support States are Dynamic, Not Static: The support rows are not just a fixed lookup table for queries to retrieve. The model continuously refines support representations layer by layer. Internal intervention experiments showed that blocking a single intermediate support update significantly harms final query cross-entropy across all tested episodes.
  • FFNs are Dead Weight for Tabular ICL: Traditional Transformer architectures waste significant memory expanding hidden dimensions in FFNs. Bypassing FFN expansion entirely yields no loss in contextual learning performance for tabular data, proving that attention-gated updates are entirely sufficient.
  • Labels Drive Predictors In-Situ: By changing only the support labels on an identical cloud of data points, the model completely shifts its internal decision boundaries (e.g., switching from a linear rule to an XOR or wave pattern), demonstrating true context-driven rule selection.
How support labels select the predictor in-situ across identical coordinates.

Key Results

  • State-of-the-Art Baselines: REFINEICL-L24 achieves 0.93836 OVR-AUC and 0.87173 accuracy on AMLB29, outperforming TabPFN-v3.
  • TabArena Leaderboard: It reaches 1644.8 Elo on TabArena, placing it 31.4 Elo above TabPFN-3 under identical evaluation conditions.
  • Massive Memory Savings: In a matched 100K-update depth grid at layer depth L8, omitting the expanded FFN reduced peak inference memory by 60.2% while maintaining competitive validation cross-entropy.

Limitations and Future Work

  • Classification Only: The current framework, mathematical derivation, and empirical evaluations are strictly limited to tabular classification; regression tasks are completely outside the scope of this work.
  • Theoretical Assumptions: The proof for the support update requires local smoothness and a minimum of two examples per class to compute the leave-one-out objective.
  • Approximation vs. Exact Optimization: The network does not explicitly calculate exact analytical gradients or kernel scales; it learns an empirical neural approximation of the derived update rule.
  • Training Variance: The fixed-budget FFN ablation grids were trained using a single seed, meaning that training variance across independent runs was not fully quantified.

Summary updated

BibTeX
@misc{zhou2026what,
  author = {Tian Zhou and Beverly Jin and Linxiao Yang and Xue Wang and Wenwei Wang and Bingqing Peng and Mengni Ye and Jinjie Gu and Liang Sun},
  title = {{What Do Tabular Foundation Models Compute In Context? In-Situ Representation Refinement through Attention-Gated Updates}},
  year = {2026},
  eprint = {2609.27679},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.27679},
}
Figure