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

Zijian Li, Xiangchen Song, Gongxu Luo, Jie Qiao, Ruichu Cai +5 more
10/6/2026
cs.LG
transformer-attention

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026taffy,
  title  = {TAFFY: A Task-Adaptive Tabular Foundation Model with In-Context Diversity},
  author = {Zijian Li and Xiangchen Song and Gongxu Luo and Jie Qiao and Ruichu Cai and Zhenhao Chen and Xinshuai Dong and Fan Feng and Guangyi Chen and Kun Zhang},
  year   = {2026},
  eprint = {2610.07559},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.07559v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.07559.svg)](https://codeofpaper.com/paper/2610.07559)

Discussion