TabCUQ: Context-Uncertainty Quantification for Tabular Foundation Models
Organizations: School of Mathematics, Zhejiang University · Center for Data Science, Zhejiang University · Department of Biostatistics, Peking University Health Science Center · Beijing International Center for Mathematical Research, Peking University
Abstract
Tabular foundation models use in-context learning to estimate conditional expected outcomes and average treatment effects for specific groups of individuals. Using these estimates to guide scientific decisions requires reliable uncertainty quantification. The challenge is to account simultaneously for two sources of uncertainty: limited-context bias and context variation arising from the small labeled sample supplied at inference. Predictive spread does not directly quantify both sources of uncertainty, and we observe that the ordinary bootstrap may substantially overestimate context variation, whereas subsampling may underestimate it. We introduce TabCUQ, a perturbation-based framework that injects noise into observed outcomes and applies the foundation model to the perturbed contexts. TabCUQ estimates context variation using wild-bootstrap dispersion and accounts for limited-context bias using the maximum deviation between perturbed and original estimates. For a kernel-regression analogue whose estimation error admits an exact decomposition into these two components, we show that our framework provides asymptotically valid pointwise coverage. In simulations, TabCUQ substantially improves coverage, with average interval widths typically about twice those of an oracle bias-aware benchmark. Across seven real-world tasks, it also improves coverage of reference functions learned from much larger samples.
Figures & tables
| A. Conditional means: | |||
| Univariate: . Multivariate: , with and for M1–M8. M1 also uses ; M9 uses and . | |||
| Design | Univariate mean | Multivariate mean | Outcome noise |
| Linear (U1 / M1) | |||
| Quadratic (U2 / M2) | |||
| Bimodal (U3 / M3) | |||
| Heteroskedastic linear (U4 / M4) | 1D: Multi: | ||
| Model | Designs | Wild bootstrap coverage | TabCUQ coverage | TabCUQ width / OBA |
|---|---|---|---|---|
| A. Univariate edge queries | ||||
| TabPFN 2.6 | 4 | – | – | – |
| TabPFN 3 | 4 | – | – | – |
| TabFM | 4 | – | – | – |
| B. Multivariate tail queries | ||||
| TabPFN 2.6 | 9 | – | – | – |
| Dataset | Pool | Evaluation | Input | Outcome |
|---|---|---|---|---|
| Census | 11,800 | 200 | 2 | Income |
| Tree cover | 11,800 | 200 | 4 | Canopy cover |
| Job Corps | 10,014 | 200 | 23 | Earnings |
| Jester Jokes | 48,245 | 200 | 110 | Rating |
| Protein engineering | 8,754 | 461 | 145 | Gibbs free energy changes ( ) |
| Protein engineering | 4,346 | 571 | 155 | Melting temperature changes ( ) |
Uncertainty Quantification
Uncertainty quantification estimates how reliable predictions and scientific inferences are, and how uncertainty propagates into decisions.
See all 663 papers