TableRAG: Million-Token Table Understanding with Language Models

Si-An Chen, Lesly Miculicich, Julian Martin Eisenschlos, Zifeng Wang, Zilong Wang +5 more
2/3/2026

No official code found. Best implementation: google-research/google-research (38,246 stars, Apache-2.0, last commit 2026-04-30). 1 more below.

Abstract

Recent advancements in language models (LMs) have notably enhanced their ability to reason with tabular data, primarily through program-aided mechanisms that manipulate and analyze tables. However, these methods often require the entire table as input, leading to scalability challenges due to the positional bias or context length constraints. In response to these challenges, we introduce TableRAG, a Retrieval-Augmented Generation (RAG) framework specifically designed for LM-based table understanding. TableRAG leverages query expansion combined with schema and cell retrieval to pinpoint crucial information before providing it to the LMs. This enables more efficient data encoding and precise retrieval, significantly reducing prompt lengths and mitigating information loss. We have developed two new million-token benchmarks from the Arcade and BIRD-SQL datasets to thoroughly evaluate TableRAG's effectiveness at scale. Our results demonstrate that TableRAG's retrieval design achieves the highest retrieval quality, leading to the new state-of-the-art performance on large-scale table understanding.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

Google Research

38,2468,446C, ROct 4, 20185 months agoApache-2.0
aimachine-learningresearch

reproduction of TableRAG: Million-Token Table Understanding with Language Models

61Shell, PythonDec 20, 20241 years ago

Similar Papers

Cite this paper

@article{chen2026tablerag,
  title  = {TableRAG: Million-Token Table Understanding with Language Models},
  author = {Si-An Chen and Lesly Miculicich and Julian Martin Eisenschlos and Zifeng Wang and Zilong Wang and Yanfei Chen and Yasuhisa Fujii and Hsuan-Tien Lin and Chen-Yu Lee and Tomas Pfister},
  year   = {2026},
  eprint = {2410.04739},
  archivePrefix = {arXiv},
  doi    = {10.52202/079017-2382},
  url    = {https://arxiv.org/abs/2410.04739},
  journal = {NEURIPS 2024 2024}
}

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

Discussion