Search papers, labs, and topics across Lattice.
This paper empirically investigates how 16 LLMs, including general, tabular-specialized, and MoE models, understand and process tabular data for downstream tasks. The study analyzes attention dynamics, effective layer depth, expert activation in MoEs, and the impact of input design choices like chain-of-thought prompting. Key findings reveal a three-phase attention pattern, deeper layer requirements for tabular tasks compared to math reasoning, and the activation of table-specific experts in MoE models.
LLMs dissect tables in three distinct attention phases: broad scanning, cell localization, and contribution amplification.
Despite the success of Large Language Models (LLMs) in table understanding, their internal mechanisms remain unclear. In this paper, we conduct an empirical study on 16 LLMs, covering general LLMs, specialist tabular LLMs, and Mixture-of-Experts (MoE) models, to explore how LLMs understand tabular data and perform downstream tasks. Our analysis focus on 4 dimensions including the attention dynamics, the effective layer depth, the expert activation, and the impacts of input designs. Key findings include: (1) LLMs follow a three-phase attention pattern -- early layers scan the table broadly, middle layers localize relevant cells, and late layers amplify their contributions; (2) tabular tasks require deeper layers than math reasoning to reach stable predictions; (3) MoE models activate table-specific experts in middle layers, with early and late layers sharing general-purpose experts; (4) Chain-of-Thought prompting increases table attention, further enhanced by table-tuning. We hope these findings and insights can facilitate interpretability and future research on table-related tasks.