TL;DR
DR-TFM is a parameter-efficient framework that makes Tabular Foundation Models (TFMs) robust to subpopulation shifts without requiring true group labels. By fine-tuning a tiny fraction of the model—just 0.016% of parameters—it dramatically improves accuracy for underrepresented groups while maintaining strong overall performance.
What Problem Does This Paper Address?
Tabular Foundation Models (TFMs), like the popular TabPFN, have revolutionized predictions on tabular data by using in-context learning. However, they share a common Achilles' heel with many machine learning models: subpopulation shift.
This occurs when the proportions of different groups (e.g., demographic segments) change between the training data and the real-world deployment environment. While a model might boast high average accuracy, it often fails miserably on minority or underrepresented groups. As the training data becomes more imbalanced, these disparities worsen, often hidden behind aggregate performance metrics.
The challenge is even steeper because, in many real-world scenarios, we don't have explicit "group labels" (like sensitive attributes) to guide the model during training or adaptation.
Methods
The authors introduce DR-TFM (Distributionally Robust Tabular Foundation Model), which adapts pretrained TFMs using Distributionally Robust Optimization (DRO).
The core innovation is Query Scaling. Instead of retraining the entire massive foundation model, DR-TFM keeps the pretrained representations frozen. It only updates a tiny, lightweight neural network (an MLP) within the classification decoder. This network learns to rescale query vectors, effectively changing how the model "attends" to labeled examples in its context.
To handle the lack of true group labels, the authors propose two robust objectives:
- DR-TFM (GR): Uses GroupDRO but estimates group assignments by clustering the model's own internal embeddings (e.g., using k-means or Gaussian Mixture Models).
- DR-TFM (MS): Adopts a multi-source DRO objective, constructing "pseudo-sources" through resampling or clustering to capture uncertainty in the data distribution.
Datasets
The framework was evaluated across a diverse set of benchmarks:
- Five Tabular Benchmarks: Adult (Census), Bank (Marketing), Default (Credit), Shoppers (Online browsing), and Taxi (Route duration).
- ACS Income: A large-scale dataset based on US Census records, used for both within-state predictions and challenging cross-state transfers (e.g., training on Arizona data and testing on Massachusetts).
- Multiple TFMs: Beyond TabPFN, the authors demonstrated the method's generality by applying it to TabPFN-3.5, EXAONE, TabFM, and Causilo.
Key Insights and Ideas
- Attention as the Lever for Robustness: The most powerful insight is that you don't need to change the data representations to achieve robustness. By simply adjusting the attention weights—specifically how a query interacts with the context—you can force the model to prioritize relevant minority-group information that it would otherwise ignore.
- Self-Supervised Group Discovery: The model's own internal embeddings are rich enough to identify subpopulations that are likely to suffer under distribution shift. Clustering these embeddings creates "pseudo-groups" that serve as effective proxies for real-world demographic or environmental groups.
- Less is More: Updating just 0.016% of parameters (8,320 for TabPFN-3) isn't just a computational shortcut; it's a regularization strategy. By freezing the backbone, the model retains its broad general knowledge while the scaling network fine-tunes the "decision logic" for robustness.
Key Results
- Massive Gains in Fairness: On the five tabular benchmarks, DR-TFM improved average worst-group accuracy by 24.63 percentage points over the base TabPFN.
- Efficiency at Scale: DR-TFM achieved a 9.0x speedup over standard TabPFN fine-tuning and a 42.9x speedup over other adapter-based methods like BETA, all while using significantly less GPU memory (~1 GB vs ~9 GB).
- Generalizability: The method consistently improved worst-group accuracy across all five tested foundation model architectures, proving it is a general-purpose "robustness patch" for TFMs.
Limitations and Future Work
While highly effective, the authors note a few areas for improvement:
- Embedding Dependency: The quality of the estimated groups depends on the quality of the pretrained TFM's embeddings. If the base model hasn't learned to distinguish certain subpopulations, clustering won't help.
- Transfer Mismatches: In some complex state-to-state transfers (like MA $\rightarrow$ MI in ACS Income), there was a slight mismatch between the estimated groups used for training and the actual target groups, suggesting room for more sophisticated group estimation.
- Future Directions: The authors plan to extend this framework to handle a wider variety of distribution shifts beyond just subpopulation proportions, such as shifts in the underlying feature relationships themselves.
Summary updated