TL;DR
Pretrained Tabular Foundation Models (TFMs) don't just treat context labels as values to be averaged; they process them "jointly," meaning one label can change how much the model trusts or weights another. The authors introduce two mathematical "certificates" to prove this while avoiding the Standardization Trap—a subtle mathematical error where label preprocessing makes even simple linear models appear complex and nonlinear.
What Problem Does This Paper Address?
When a Tabular Foundation Model (like TabPFN) makes a prediction, it looks at a few "context" examples. A common theory is that these models work like kernel smoothing or linear regression: they use the features to decide how much "weight" to give each example, and then they just take a weighted average of the labels. In this view, labels are just passive values.
However, a more sophisticated model might look at the labels themselves to adapt. For instance, if one house price in a neighborhood is an extreme outlier, the model might "discount" its weight. This would mean the labels are being processed jointly.
Testing for this is harder than it looks. Most TFM packages standardize labels (scaling them to have zero mean and unit variance) before the model ever sees them. The authors discovered a Standardization Trap: if you use standard calculus (derivatives) to check if a model is nonlinear, the standardization step can make a perfectly linear model look nonlinear. This paper provides the tools to see through that trap and certify how labels are actually being used.
Methods
The authors treat the set of all possible standardized labels as a mathematical surface called a manifold (specifically, a sphere within a subspace). They then develop two "certificates" based on the Hessian (the matrix of second derivatives) of the model's predictions:
- Tangent Projection: They project the derivatives so they only measure changes that stay on the "valid" standardized surface.
- Certificate $A_T$ (Fixed-Weight Test): This measures if the model's weights for each example stay constant as labels change. If $A_T > 0$, the model is not a simple fixed-weight averager.
- Certificate $X_{sep}$ (Joint Processing Test): This distinguishes between a model that transforms each label independently (e.g., just clipping outliers) and one where labels interact. If $X_{sep} > 0$, the model is performing joint processing.
To find out where this happens in the code, they use a stop-gradient intervention. They block the influence of labels through the attention scores (the "who attends to whom" part of a Transformer) while letting them pass through the representations (the "what is being combined" part).
Datasets
The researchers evaluated five public TFMs: TabICL-v2, TabPFN-v3, TabPFN-v2.6, TabFM 1.0, and TabDPT v1.2. They tested these models across several regression tasks:
- Synthetic Data: A custom smooth regression task used as a controlled environment.
- OpenML Benchmarks: Real-world datasets including
kin8nm,pol, andsuperconduct. - Extended Grid: Additional datasets like
ailerons,abalone,concrete, andhouse_16H.
Key Insights and Ideas
- The Trap is Real: Naive derivative tests on standardized models are misleading. Figure 2 shows how a model that is perfectly linear on the "valid" label set can appear to have massive curvature if you don't account for the standardization manifold.
- Joint Processing is Universal: Every single TFM tested failed the fixed-weight and independent-processing tests. They all process labels jointly.
- It’s a Learned Behavior: When the authors tested "random" versions of the same architectures (untrained), the joint processing almost entirely disappeared. This suggests that interacting with labels is something the models learn to do during pretraining to improve their predictions.
- Attention is the Engine: About 85% of the interaction between labels happens through the attention scores. When the authors blocked the labels from affecting attention scores, the "jointness" of the processing vanished, even though the final prediction remained the same.
Key Results
- Certificate Scores: Across all models, the normalized $A_T$ was near 98.5%, meaning the models are nowhere near being "fixed-weight." The $X_{sep}$ share averaged 63%, confirming significant joint interaction.
- Attention Drop: Blocking derivatives through attention scores caused the measured interaction ($X_{sep}$) to fall by an average of 85%.
- Trained vs. Random: In trained models, $X_{sep}$ was at least 29%, while in randomly initialized copies, it stayed below 3.4%.
- Surrogate Fidelity: While the models aren't strictly linear, a linear "fixed-weight" approximation can still explain about 72% of the variation in their predictions, suggesting that while joint processing exists, the linear account is still a useful (if incomplete) approximation.
Limitations and Future Work
- Presence vs. Necessity: The paper proves that joint processing happens, but it doesn't prove that it's necessary for the model to be accurate. The authors suggest that future work should involve "forward interventions" to see if accuracy drops when joint processing is disabled.
- Specific Mechanisms: While we know the interaction happens in the attention layers, we don't know exactly what the model is doing. Is it performing task identification? Outlier detection? Local regression? The certificates detect the interaction but can't yet name the specific algorithm the Transformer has learned.
- Scale: The study focused on context sizes up to $n=1024$. How these interactions scale with much larger contexts remains an open question.
Summary updated