atlas

Research map / Large language models / Retrieval and knowledge

TableRAG: Million-Token Table Understanding with Language Models

NeurIPS 2024 · Large language models › Retrieval and knowledge · approach: Long-context and personalized retrieval · 17 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes TableRAG, a retrieval-augmented framework that uses LM-generated query expansion with schema and cell retrieval (frequency-capped cell budget) to let program-aided LM agents reason over million-cell tables.

Problem

LM-based table understanding does not scale to very large tables: full tables exceed context limits, suffer lost-in-the-middle degradation, and cost grows with table size.

Approach

Instead of encoding entire rows/columns, TableRAG separately retrieves column schemas and distinct column-cell pairs (top-B by frequency) using LM-expanded queries, and passes only the top-K retrieved schema and cells to a ReAct-style program-aided solver, making prompt size independent of table size.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use TableRAG instead of ReadSchemaGPT-3.5 Turbo table QA · ArcadeQAaccuracy: 43.1 -> 49.2Helped
Use TableRAG instead of ReadSchemaGPT-3.5 Turbo table QA · BirdQAaccuracy: 40.3 -> 45.5Helped
Use TableRAG instead of ReadSchemaGemini 1.0 Pro table QA · ArcadeQAaccuracy: 30.8 -> 42.3Helped
Use TableRAG instead of ReadSchemaGemini 1.0 Pro table QA · BirdQAaccuracy: 31.8 -> 44.2Helped
Use TableRAG instead of ReadSchemaMistral Nemo table QA · ArcadeQAaccuracy: 32.3 -> 46.2Helped
Use TableRAG instead of RowColRetrievalMistral Nemo table QA · BirdQAaccuracy: 36.4 -> 45.1Helped
Replace BM25 with embedding-based retrieval (ablation)TableRAG · ArcadeQAaccuracy: 37.7 -> 49.2Helped
Replace hybrid retrieval with embedding-based retrieval (ablation)TableRAG · BirdQAaccuracy: 44.5 -> 45.5Helped
Add cell retrieval while keeping all schemas (ablation)TableRAG · ArcadeQAaccuracy: 43.1 -> 48.5Helped
Add cell retrieval while keeping all schemas (ablation)TableRAG · BirdQAaccuracy: 40.3 -> 42.5Helped
Retrieve schemas instead of using all schemas, without cell retrieval (ablation)TableRAG · ArcadeQAaccuracy: 43.1 -> 46.9Helped
Retrieve schemas instead of using all schemas, without cell retrieval (ablation)TableRAG · BirdQAaccuracy: 40.3 -> 44.8Helped

Surprising findings

Limitations

Experimental setup

Datasets: ArcadeQA BirdQA Synthetic TabFact TabFact WikiTableQA

Benchmarks: ArcadeQA BirdQA Synthetic TabFact WikiTableQA

Metrics: exact-match accuracy retrieval recall retrieval precision retrieval F1

Baselines: ReadTable ReadSchema RandRowSampling RowColRetrieval TaBERT Text-to-SQL Binder Dater

Builds on: ReAct PyReAct Dater Binder Chain-of-Table

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy