Manuscript Offprint

arXiv:2610.01143

Parameter-Efficient Distributionally Robust Adaptation of Tabular Foundation Models under Subpopulation Shift

Seonghwi Kim, Sung Ho Jo, Minwoo Chae

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Despite strong mean accuracy, tabular foundation models (TFMs) can perform poorly on underrepresented groups under subpopulation shift, where group proportions change between training and deployment. We propose DR-TFM, a parameter-efficient distributionally robust adaptation framework that requires no true group annotations. DR-TFM adjusts attention to labeled context examples by fine-tuning an existing query scaling network or adding and training one, while keeping all other parameters fixed. We instantiate the framework with two robust objectives using estimated groups or source conditional distributions derived from training data. For TabPFN-3, adaptation updates only 0.016% of the pretrained model's parameters. Across five tabular benchmarks, DR-TFM achieves substantially higher average worst-group accuracy than pretrained TFMs and the compared robust baselines without true group annotations, while maintaining competitive mean group accuracy. DR-TFM also improves average worst-group accuracy on ACS Income and across four additional TFMs.

1 Introduction

Tabular foundation models (TFMs), such as the TabPFN 1^{1}, have emerged as a promising approach to general-purpose prediction on tabular data (Hollmann et al., 2025; Qu et al., 2025; Jiang et al., 2026). They have demonstrated strong predictive performance, while recent advances have further improved their scalability and computational efficiency (Grinsztajn et al., 2026).

However, strong predictive performance does not necessarily imply robustness to distribution shift, where the training and test distributions differ. We focus on subpopulation shift, a practically important form of distribution shift in which the training and test distributions consist of the same underlying subpopulations, which we also refer to as groups, but differ in their mixture proportions (Duchi and Namkoong, 2021; Sagawa et al., 2020; Yang et al., 2023). For example, the relative frequencies of demographic groups may vary across data collection sites or deployment environments. When some groups are underrepresented in the training data, predictive methods optimized for average performance can exhibit substantial variation in performance across groups, with particularly poor performance on underrepresented groups. As the training mixture becomes more imbalanced, these disparities can become more pronounced, while aggregate performance may obscure degradation in the worst-performing group.

Figure 1 illustrates this challenge. It shows TabPFN's mean group and worst-group accuracies as the combined proportion of the majority groups in the training data increases, while test groups remain balanced. When the majority groups together account for 90% of the training data, the worst-group accuracy falls to approximately 31%, despite a mean group accuracy of approximately 66%.

∗^{*}Corresponding author.

1^{1}Unless otherwise specified, TabPFN refers to version 3.

Figure

Model: TabPFN DR-TFM (GR)

Metric: Mean --- Worst group

Figure 1: Classification results under subpopulation shift with balanced test groups. TabPFN’s worst-group accuracy deteriorates more sharply than its mean group accuracy, whereas DR-TFM (GR) mitigates this degradation without true group labels. Curves show averages over 50 runs.

To address this challenge, we propose Distributionally Robust Tabular Foundation Models (DR-TFM), a framework that adapts TFMs to subpopulation shift by updating only a small set of model parameters using distributionally robust optimization (DRO) objectives. We instantiate this framework with two objectives. DR-TFM (GR) uses GroupDRO (Sagawa et al., 2020). For DR-TFM (MS), we adopt the multi-source DRO objective of Kim et al. (2026), motivated by the empirical gains reported on spurious-correlation benchmarks. Both objectives rely on auxiliary group or source structure, which we infer or construct from the training data. Specifically, we estimate groups by clustering pretrained TFM embeddings and form source subsets through clustering or resampling, enabling adaptation without true group annotations. To the best of our knowledge, DR-TFM is the first adaptation framework for TFMs that explicitly targets subpopulation shift.

The central idea of DR-TFM is to improve robustness by adapting how pretrained representations are used for prediction, rather than modifying the representations themselves. For classification, we implement this idea through query scaling: a lightweight neural network learns coordinate-wise rescalings of query vectors, thereby adjusting how each query attends to labeled context examples. Both DRO instantiations optimize this query scaling network while keeping all remaining model parameters fixed, concentrating robust adaptation on how the context contributes to predictions.

This targeted adaptation offers computational and memory efficiency, scalability, and applicability across TFMs. First, restricting adaptation to the scaling network reduces the computational and memory costs of parameter updates. For example, adapting TabPFN-3 updates only 8,320 parameters, approximately 0.016% of the model. Second, sharing the network across attention heads allows larger encoders and more heads without increasing the trainable parameter count, provided that the head dimension and scaling network architecture remain fixed. Third, the mechanism does not depend on query scaling being part of the pretrained architecture. We fine-tune the existing query scaling network in TabPFN's classification decoder; for TFMs without this component, we add and train one in the final attention layer that attends to the context.

We evaluate DR-TFM through simulations and experiments on five tabular benchmarks and ACS Income. Across these benchmarks, both instantiations achieve substantially higher average worst-group accuracy than pretrained TabPFN while maintaining competitive mean group accuracy. Both also require substantially less time than TabPFN fine-tuning. We further apply DR-TFM (GR) to four additional TFMs and observe consistent improvements in average worst-group accuracy.

Our main contributions can be summarized as follows.

• We propose DR-TFM, a parameter-efficient distributionally robust adaptation framework for TFMs under subpopulation shift, instantiated with two robust objectives without requiring true group annotations.

• We develop an efficient and scalable adaptation strategy that reweights attention through a small, shared query scaling network while keeping pretrained representations fixed.

• Through extensive simulations and real-world experiments, we demonstrate that both instantiations of DR-TFM improve robustness to subpopulation shift, achieving higher average worst-group accuracy than the compared baselines that do not use true group annotations, while maintaining competitive mean group accuracy.

• We demonstrate the applicability of our robust adaptation across multiple TFMs, with consistent improvements in average worst-group accuracy.

References (37)

  • XGBoost: A scalable tree boosting system
  • Environment inference for invariant learning
  • Retiring Adult: New datasets for fair machine learning
  • Learning models with uniform performance via distributionally robust optimization
  • Statistics of robust optimization: A generalized empirical likelihood approach
  • EXAONE Tabular 1.0 : Technical Report
  • TuneTables: Context optimization for scalable prior-data fitted networks
  • Léo Grinsztajn, Klemens Flöge, Oscar Key, Felix Birkel, Philipp Jund, Brendan Roof, Mihir Manium, Shi Bin Hoo, Magnus Bühler, Anurag Garg, et al. TabPFN-3: Technical report. ArXiv:2605.13986, 2026. (opens arXiv in a new tab)
  • Accurate predictions on small data with a tabular foundation model
  • Representation learning for tabular data: A comprehensive survey
  • Mitigating spurious correlation via distributionally robust learning with hierarchical ambiguity sets
  • Towards fair in-context learning with tabular foundation models
  • Distributionally robust classification for multi-source unsupervised domain adaptation
  • Out-of-distribution generalization via risk extrapolation (REx)
  • Large-scale methods for distributionally robust optimization
  • Just train twice: Improving group robustness without training group information
  • On the need for a language describing distribution shifts: Illustrations on tabular datasets
  • TabPFN unleashed: A scalable and effective solution to tabular classification problems
  • TabDPT: Scaling tabular foundation models on real data
  • Data-driven distributionally robust optimization using the Wasserstein metric: Performance guarantees and tractable reformulations
  • Bank marketing
  • Relative flatness and generalization
  • Cat-Boost: Unbiased boosting with categorical features
  • TabICL: A tabular foundation model for in-context learning on large data
  • FairPFN: A tabular foundation model for causal fairness
  • Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization
  • Online shoppers purchasing intention dataset
  • Unsupervised learning of debiased representations with pseudo-attributes
  • Stable learning via sample reweighting
  • No subclass left behind: Fine-grained robustness in coarse-grained classification problems
  • Retrieval & fine-tuning for in-context tabular models
  • Latent score-based reweighting for robust classification on imbalanced tabular data
  • Mixture of in-context prompters for tabular PFNs
  • Identifying spurious biases early in training through the lens of simplicity bias
  • Change is hard: A closer look at subpopulation shift
  • A closer look at TabPFN v2: Understanding its strengths and extending its capabilities
  • Towards robust out-of-distribution generalization bounds via sharpness