cs.LGOct 6, 2026

TAFFY: A Task-Adaptive Tabular Foundation Model with In-Context Diversity

Authors: Zijian Li, Xiangchen Song, Gongxu Luo, Jie Qiao, Ruichu Cai, Zhenhao Chen, Xinshuai Dong, Fan Feng, +2 more

Organizations: Carnegie Mellon University · Mohamed bin Zayed University of Artificial Intelligence · Guangdong University of Technology · University of California, San Diego

Abstract

Recent progress in tabular foundation models suggests that training on synthetic tasks can substantially improve in-context learning capabilities, with overall performance largely depending on how well models can infer task-specific predictive relationships from the available context during inference. In this paper, we introduce TAFFY, a tabular foundation model with an In-Context Diversity Prior and a Task-Conditioned Looped Transformer that strengthen this ability. Specifically, to construct each synthetic pretraining context, the In-Context Diversity Prior samples from multiple related environments derived via controlled interventions and distribution shifts on a shared causal process. This in-context diversity encourages the model to learn a more comprehensive and task-specific representation. Moreover, the Task-Conditioned Looped Transformer iteratively and selectively applies a shared group of Transformer blocks to refine contextual representations, with a task-conditioned gate modulating the final hidden-state update. This enables task-adaptive iterative refinement. Together, these components encourage the model to identify predictive relationships from contextual contrasts during pretraining and dynamically modulate context integration for each task. Across six classification and five regression benchmark datasets, TAFFY attains the lowest average rank.

Figures & tables

Appendix figures & tables10 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Is One Layer Enough? Understanding Inference Dynamics in Tabular Foundation Models

    May 7, 2026Amir Rezaei Balef, Mykhailo Koshil, Katharina EggenspergerTabular Foundation ModelsTransformer Interpretability

  2. TabICLv2: A better, faster, scalable, and open tabular foundation model

    Feb 11, 2026Jingang Qu, David Holzmüller, Gaël Varoquaux +1Synthetic Data PretrainingTabular Foundation Models

  3. TabPFN-MT: A Natively Multitask In-Context Learner for Tabular Data

    May 16, 2026Cormac Cureton, Narges ArmanfardTabular Foundation ModelsEfficient Neural Network Inference