TabRAG: Improving Tabular Document Question Answering for Retrieval Augmented Generation via Structured Representations

Jacob Si, Mike Qu, Michelle Lee, Marek Rei, Yingzhen Li
11/10/2025
cs.CLcs.AIcs.CV

Official code: jacobyhsi/TabRAG (15 stars, last commit 2026-03-27).

Abstract

Incorporating external knowledge bases in traditional retrieval-augmented generation (RAG) relies on parsing the document, followed by querying a language model with the parsed information via in-context learning. While effective for text-based documents, question answering on tabular documents often fails to generate plausible responses. Standard parsing techniques lose the two-dimensional structural semantics critical for cell interpretation. In this work, we present TabRAG, a parsing-based RAG framework designed to improve tabular document question answering via structured representations. Our framework consists of layout segmentation that decomposes the document inputs into a series of components, enabling fine-grained extraction. Subsequently, a vision language model parses and extracts the document tables into a hierarchically structured representation. In order to cater various table styles and formats, we integrate a self-generated in-context learning module that guides the table extraction process. Experimental results demonstrate that TabRAG outperforms existing popular parsing techniques across a broad suite of evaluation and ablation benchmarks. Code is available at: https://github.com/jacobyhsi/TabRAG.

View on arXivView PDF

Code Implementations(1)

jacobyhsi/TabRAGOfficial100%

TabRAG: Improving Tabular Document Question Answering for Retrieval Augmented Generation via Structured Representations.

152PythonSep 18, 20256 months agoNOASSERTION

Similar Papers

Cite this paper

@article{si2025tabrag,
  title  = {TabRAG: Improving Tabular Document Question Answering for Retrieval Augmented Generation via Structured Representations},
  author = {Jacob Si and Mike Qu and Michelle Lee and Marek Rei and Yingzhen Li},
  year   = {2025},
  eprint = {2511.06582},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.06582v2}
}

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

Discussion