Thinking in Depth: Retrospective Inference for Tabular Foundation Models

Hao-Run Cai, Si-Yang Liu, Zi-Jian Cheng, Kun-Yang Yu, Jin-Hao Sheng +6 more
10/7/2026
cs.LG

No confident code implementation found for this paper.

Abstract

Tabular foundation models (TFMs) are pretrained across diverse tabular tasks and make predictions on a new table at inference time using its labeled examples as context. Most recent TFMs perform such in-context prediction with stacked Transformer layers, repeatedly transforming how examples are represented and compared.

Show full abstract

By tracing individual queries through several strong TFMs, we find that predictive refinement is highly uneven across depth and is often concentrated in later layers. This uneven refinement motivates us to reconsider how intermediate representations are constructed and reused throughout the network. We introduce Retro, a tabular foundation model based on retrospective inference, where later stages can explicitly revisit and recombine intermediate information produced earlier in the network. Retro organizes this process around two complementary operations: which intermediate information to revisit, and how the resulting contextual update should be shaped for each query. Attention Residuals address the former by adaptively reweighting contributions from different depths, while query-conditioned Gated Attention addresses the latter by modulating the attention output element-wise across representation dimensions. Our analysis shows that Retro shifts predictive refinement earlier and more broadly across depth, with different stages revising different subsets of queries in a pattern suggestive of multi-view refinement. Across TabArena, TALENT, and RelArena, Retro ranks among the top three and lies on the Pareto frontier. These results indicate that directly reusing intermediate representations provides a practical way to better exploit depth in TFMs.

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{cai2026thinking,
  title  = {Thinking in Depth: Retrospective Inference for Tabular Foundation Models},
  author = {Hao-Run Cai and Si-Yang Liu and Zi-Jian Cheng and Kun-Yang Yu and Jin-Hao Sheng and Guo Yu and Chonghan Liu and Zhi Zhou and Jun-Peng Jiang and Lan-Zhe Guo and Han-Jia Ye},
  year   = {2026},
  eprint = {2610.10317},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.10317v1}
}

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.10317.svg)](https://codeofpaper.com/paper/2610.10317)

Discussion