VIP-COP: Context Optimization for Tabular Foundation Models

Yilong Chen, Xueying Ding, Leman AkogluarXiv 2026

TL;DR

Tabular Foundation Models (TFMs) allow for powerful zero-shot predictions on structured data, but they are severely bottlenecked by strict context length limits. VIP-COP solves this by using a black-box, anytime algorithm based on cooperative game theory to select the most influential training samples and features ("Very Important Predictors"). This approach significantly boosts TFM performance and provides robust defense against data noise and uninformative augmentations.

What Problem Does This Paper Address?

Tabular Foundation Models (TFMs), such as TabPFN, have revolutionized tabular machine learning by enabling in-context learning. Instead of training a model from scratch, you simply feed a labeled dataset as "context" into a fixed, pretrained Transformer, which then predicts labels for new query points in a single forward pass.

However, TFMs suffer from a major architectural constraint: context window limits (typically capped at around 1,024 samples and 100 features). If your dataset exceeds these limits, simply cramming it into the model triggers out-of-distribution behavior and tanks generalization performance.

Prior attempts to fix this rely either on model-agnostic heuristics (like random sampling or K-Means clustering) that ignore the TFM's specific behavior, or "soft-prompt" optimization methods that require full access to model gradients and generate uninterpretable latent tokens. The authors address this gap by introducing a "hard" (discrete) context optimization framework that explicitly selects the best raw samples and features in a completely black-box manner.

Methods

The authors frame hard context optimization (HardCOp) as a credit allocation problem: how much does an individual sample or feature contribute to the collective performance of the context? To answer this, VIP-COP estimates Shapley values via an extension of KernelSHAP.

Here is how the algorithm works:

  1. Linear Regression Formulation: VIP-COP treats the TFM's validation performance as a dependent variable ($y_{val}$) and the presence or absence of specific samples/features in the context as binary inputs ($c_i \in \{0, 1\}$). The least-squares solution to this regression yields coefficients that approximate the Shapley values (the "VIP" scores).
  2. Temperature-Guided Importance Sampling: Rather than evaluating random subsets, the algorithm alternates between updating its VIP estimates and sampling new subsets. It uses a temperature parameter ($\tau$) to balance exploring new data combinations versus exploiting known high-value samples and features.
  3. Multi-Fidelity Pruning: Inspired by Hyperband, the algorithm runs multiple temperature schedules in parallel, dynamically allocating more time-budget to the most promising context configurations.

Crucially, VIP-COP is fully black-box, meaning it interacts with the TFM solely through forward-pass validation scores. This makes it natively compatible with both open-source and proprietary, API-governed foundation models.

Datasets

The authors evaluated VIP-COP using 38 multi-class classification datasets sourced from the TALENT benchmark. The datasets were categorized into three distinct testbeds to evaluate different scaling challenges:

  • Small-d (16 datasets): Dimensionality $d < 100$ and sample size $n < 50K$.
  • Small-d, Large-n (8 datasets): Dimensionality $d < 100$ and sample size $n > 50K$.
  • Large-d (14 datasets): High-dimensional datasets where $d > 100$ (ranging up to 5,000 features).

Key Insights and Ideas

  • Context Selection is Model Selection: In the TFM paradigm, the context is the surrogate model. Optimizing the context directly shapes the forward-pass dynamics and implicit hypothesis space of the network.
  • The Power of Hard Selection: Unlike soft prompts, selecting discrete rows and columns preserves interpretability. It allows practitioners to see exactly which "Very Important Predictors" are driving the model's decisions.
  • Synergy with Data Augmentation: Because VIP-COP explicitly filters data, it turns data augmentation from a risky gamble (which often introduces noise) into a reliable win. It acts as a gatekeeper, isolating high-value augmented samples while discarding uninformative ones.

Key Results

VIP-COP was rigorously tested against standard heuristics (Random, Ensemble, XLContext) and optimized baselines (KMeansReps, DT+TFM).

  • Superior Performance: VIP-COP consistently outperformed all baselines across the benchmarks. As shown in the Critical Difference diagram below, it achieved the top average rank across all evaluated settings.
Figure 2: CD diagram (numbers depict avg. rank) comparing methods across all HardCOp settings.
  • Robust Denoising: In low signal-to-noise ratio experiments (where random noise was injected into features or samples), VIP-COP demonstrated massive performance improvements over baselines—achieving up to a 240.81% relative improvement under feature noise conditions.
  • Anytime Efficiency: The algorithm functions as a true anytime method. Its runtime scales linearly (averaging ~1.4 seconds per optimization round), allowing it to deliver substantial performance boosts within just 2.5 minutes (100 rounds).

Limitations and Future Work

While VIP-COP excels in a black-box setting, the authors note that its lack of access to model internals is a double-edged sword. If a TFM is fully open-source, incorporating internal signals—such as attention-based attributions—could potentially accelerate or improve the value estimation process. Additionally, context optimization inherently adds test-time latency, meaning simpler baselines like decision-tree routing (DT+TFM) might still be preferred under ultra-strict, millisecond-level latency constraints. Future work could explore hybrid white-box/black-box approaches to mitigate this overhead.

Summary updated

BibTeX
@misc{chen2026vip,
  author = {Yilong Chen and Xueying Ding and Leman Akoglu},
  title = {{VIP-COP: Context Optimization for Tabular Foundation Models}},
  year = {2026},
  eprint = {2605.12904},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.12904},
}
Figure