How Do Language Models Understand Tables? A Mechanistic Analysis of Cell Location

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhang, Xuanliang, Wang, Dingzirui, Xu, Keyan, Zhu, Qingfu, Che, Wanxiang
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918328714395648
author Zhang, Xuanliang
Wang, Dingzirui
Xu, Keyan
Zhu, Qingfu
Che, Wanxiang
author_facet Zhang, Xuanliang
Wang, Dingzirui
Xu, Keyan
Zhu, Qingfu
Che, Wanxiang
contents While Large Language Models (LLMs) are increasingly deployed for table-related tasks, the internal mechanisms enabling them to process linearized two-dimensional structured tables remain opaque. In this work, we investigate the process of table understanding by dissecting the atomic task of cell location. Through activation patching and complementary interpretability techniques, we delineate the table understanding mechanism into a sequential three-stage pipeline: Semantic Binding, Coordinate Localization, and Information Extraction. We demonstrate that models locate the target cell via an ordinal mechanism that counts discrete delimiters to resolve coordinates. Furthermore, column indices are encoded within a linear subspace that allows for precise steering of model focus through vector arithmetic. Finally, we reveal that models generalize to multi-cell location tasks by multiplexing the identical attention heads identified during atomic location. Our findings provide a comprehensive explanation of table understanding within Transformer architectures.
format Preprint
id arxiv_https___arxiv_org_abs_2602_08548
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle How Do Language Models Understand Tables? A Mechanistic Analysis of Cell Location
Zhang, Xuanliang
Wang, Dingzirui
Xu, Keyan
Zhu, Qingfu
Che, Wanxiang
Computation and Language
While Large Language Models (LLMs) are increasingly deployed for table-related tasks, the internal mechanisms enabling them to process linearized two-dimensional structured tables remain opaque. In this work, we investigate the process of table understanding by dissecting the atomic task of cell location. Through activation patching and complementary interpretability techniques, we delineate the table understanding mechanism into a sequential three-stage pipeline: Semantic Binding, Coordinate Localization, and Information Extraction. We demonstrate that models locate the target cell via an ordinal mechanism that counts discrete delimiters to resolve coordinates. Furthermore, column indices are encoded within a linear subspace that allows for precise steering of model focus through vector arithmetic. Finally, we reveal that models generalize to multi-cell location tasks by multiplexing the identical attention heads identified during atomic location. Our findings provide a comprehensive explanation of table understanding within Transformer architectures.
title How Do Language Models Understand Tables? A Mechanistic Analysis of Cell Location
topic Computation and Language
url https://arxiv.org/abs/2602.08548