TL;DR
TICDA (Tabular In-Context Data Attribution) is a new, lightning-fast method for identifying which examples in a Tabular Foundation Model's (TFM) context are helping or hurting its predictions. By training a simple linear surrogate on the model's internal embeddings, TICDA can detect labeling errors and curate high-quality contexts in a single forward pass—running up to 1,000x faster than traditional resampling methods.
What Problem Does This Paper Address?
Tabular Foundation Models, such as TabPFN, have revolutionized small-data tasks by using In-Context Learning (ICL). Instead of traditional training, these models make predictions by "looking at" a set of labeled examples (demonstrations) provided directly in the input prompt.
However, this approach has a major blind spot: we don't know how much each individual demonstration influences the final prediction. If the context contains mislabeled data, redundant examples, or outliers, the model's performance can tank, and inference costs (which grow quadratically with context size) skyrocket.
Standard data attribution tools fail here:
- Resampling methods (like Shapley values) are computationally explosive, requiring thousands of model passes.
- Gradient-based methods (like Influence Functions) assume the model updates its parameters, but TFMs are frozen during inference.
Methods
The authors introduce TICDA, which bridges the gap between influence functions and frozen in-context learners. The process works in four main steps:
- Embedding Extraction: The TFM processes the context, and TICDA extracts the latent representations (embeddings) for every demonstration.
- Ridge Surrogate: It fits a simple linear ridge regression model to these embeddings. This surrogate acts as a differentiable proxy for the complex transformer.
- Fixed-Representation Approximation: A key insight of the paper is that in large contexts, removing one example barely changes the embeddings of the others. By assuming these representations are "fixed," TICDA avoids re-running the heavy transformer for every attribution check.
- Closed-Form Influence: Using the surrogate, TICDA calculates influence scores ($s_{iq}$) based on the similarity between embeddings and the residuals (errors) of the labels.
Datasets
The researchers evaluated TICDA across a massive suite of 38 classification datasets from the TabArena benchmark. For specific scaling and active learning experiments, they utilized well-known datasets including:
- GiveMeSomeCredit
- SDSS17
- Bank-marketing
- HR Analytics
- APSFailure, jannis, higgs, and otto (for active learning).
Key Insights and Ideas
- The Power of Surrogates: You don't need to differentiate through a billion-parameter transformer to understand its logic. A linear probe on the final hidden states captures enough of the "in-context learner's" behavior to provide highly accurate attribution.
- Stability in Scale: The "Fixed-Representation" assumption is mathematically sound for TFMs. The authors show that for a context of 4,096 examples, removing one demonstration changes other representations by only ~0.5%. This is the "secret sauce" that enables the massive speedup.
- Universal Quality: Attribution scores are surprisingly transferable. Scores calculated using one model (e.g., TabICLv2) can effectively curate data for a completely different model (e.g., TabPFN-3.5). This suggests that "good" data for one TFM is generally "good" data for others.
Key Results
- Massive Speedup: TICDA computes attribution for thousands of points in roughly 2 seconds. In contrast, Leave-One-Out (LOO) or DemoShapley can take over 2,000 seconds for the same task.
- Superior Error Detection: In detecting corrupted labels (20% noise), TICDA achieved an AUC of 0.88-0.89, matching or exceeding the performance of methods that are orders of magnitude slower.
- Efficient Curation: By using TICDA to drop the "worst" 50% of context examples, the researchers could maintain or even improve predictive accuracy while significantly reducing the computational cost of inference.
- Active Learning: When used as an acquisition strategy, TICDA outperformed standard uncertainty-based sampling (entropy), reaching higher accuracy with fewer labeled points.
Limitations and Future Work
- Context Size Limits: While TICDA is designed for long contexts, the "ground truth" comparison (LOO) is so expensive that the authors could only validate faithfulness up to 4,096 demonstrations.
- Task Scope: The current work focuses on classification. Extending this framework to regression tasks and multimodal foundation models is a logical next step.
- Small Contexts: The fixed-representation approximation is less accurate when the context is very small (e.g., fewer demonstrations than embedding dimensions), though TFMs are typically used with larger contexts where this is not an issue.
Summary updated