DocTabQA: Answering Questions from Long Documents Using Tables
Not on the map. Why?
Abstract (arXiv)
We study a new problem setting of question answering (QA), referred to as DocTabQA. Within this setting, given a long document, the goal is to respond to questions by organizing the answers into structured tables derived directly from the document's content. Unlike traditional QA approaches which predominantly rely on unstructured text to formulate responses, DocTabQA aims to leverage structured tables as answers to convey information clearly and systematically, thereby enhancing user comprehension and highlighting relationships between data points. To the best of our knowledge, this problem has not been previously explored. In this paper, we introduce the QTabA dataset, encompassing 300 financial documents, accompanied by manually annotated 1.5k question-table pairs. Initially, we leverage Large Language Models (LLMs) such as GPT-4 to establish a baseline. However, it is widely acknowledged that LLMs encounter difficulties when tasked with generating intricate, structured outputs from long input sequences. To overcome these challenges, we present a two-stage framework, called DocTabTalk, which initially retrieves relevant sentences from extensive documents and subsequently generates hierarchical tables based on these identified sentences. DocTabTalk incorporates two key technological innovations: AlignLLaMA and TabTalk, which are specifically tailored to assist GPT-4 in tackling DocTabQA, enabling it to generate well-structured, hierarchical tables with improved organization and clarity. Comprehensive experimental evaluations conducted on both QTabA and RotoWire datasets demonstrate that our DocTabTalk significantly enhances the performances of the GPT-4 in our proposed DocTabQA task and the table generation task. The code and dataset are available at https://github.com/SmileWHC/DocTabQA for further research.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 45 of its 56 references that are in the map. First posted on arXiv 21 Aug 2024.
Builds on
45 of 56 references.
References · 45
- 2023GPT-4 Technical Reportcited by 18,132
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2015VQA: Visual Question Answeringcited by 2,489
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
- 2019Towards VQA Models That Can Readcited by 1,696
33 more
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2020DocVQA: A Dataset for VQA on Document Imagescited by 1,288
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 973
- 2017The NarrativeQA Reading Comprehension Challengecited by 590
- 2019ELI5: Long Form Question Answeringcited by 567
- 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 554
- 2021TAT-QA: A Question Answering Benchmark on a Hybrid of Tabular and Textual Content in Financecited by 402
- 2018QuAC : Question Answering in Contextcited by 379
- 2022Promptagator: Few-shot Dense Retrieval From 8 Examplescited by 233
- 2017Challenges in Data-to-Document Generationcited by 226
- 2023Query Rewriting for Retrieval-Augmented Large Language Modelscited by 211
- 2023Query2doc: Query Expansion with Large Language Modelscited by 146
- 2020TUTA: Tree-based Transformers for Generally Structured Table Pre-trainingcited by 100
- 2023AnglE-optimized Text Embeddingscited by 98
- 2022Video Question Answering: Datasets, Algorithms and Challengescited by 84
- 2019Effective Modeling of Encoder-Decoder Architecture for Joint Entity and Relation Extractioncited by 73
- 2023Augmentation-Adapted Retriever Improves Generalization of Language Models as Generic Plug-Incited by 71
- 2017Table-to-text Generation by Structure-aware Seq2seq Learningcited by 54
- 2021Text-to-Table: A New Way of Information Extractioncited by 47
- 2018Table-to-Text: Describing Table Region with Natural Languagecited by 41
- 2022A Survey on Table Question Answering: Recent Advancescited by 41
- 2021Quiz-Style Question Generation for News Storiescited by 23
- 2021Question Answering Survey: Directions, Challenges, Datasets, Evaluation Matricescited by 17
- 2023A Sequence-to-Sequence&Set Model for Text-to-Table Generationcited by 16
- 2022STable: Table Generation Framework for Encoder-Decoder Modelscited by 15
- 2022KnowGL: Knowledge Generation and Linking from Textcited by 13
- 2021A survey on VQA_Datasets and Approachescited by 11
- 2023Revisiting Event Argument Extraction: Can EAE Models Learn Better When Being Aware of Event Co-occurrences?cited by 10
- 2023Unified Text Structuralization with Instruction-tuned Language Modelscited by 8
- 2023WebIE: Faithful and Robust Information Extraction on the Webcited by 8
- 2023RealCQA: Scientific Chart Question Answering as a Test-bed for First-Order Logiccited by 7
Built on by
Citing papers per year: 2024: 1; 2025: 4; 2026: 1.
6 papers.
- 2024HtmlRAG: HTML is Better Than Plain Text for Modeling Retrieved Knowledge in RAG Systemscited by 37
- 2025NeedleInATable: Exploring Long-Context Capability of Large Language Models towards Long-Structured Tablescited by 8
- 2025Toward Real-World Table Agents: Capabilities, Workflows, and Design Principles for LLM-based Table Intelligencecited by 2
- 2025QBD-RankedDataGen: Generating Custom Ranked Datasets for Improving Query-By-Document Search Using LLM-Reranking with Reduced Human Effortcited by 0
- 2025Beyond Isolated Dots: Benchmarking Structured Table Construction as Deep Knowledge Extractioncited by 0
- 2026UniFinEval: Towards Unified Evaluation of Financial Multimodal Models across Text, Images and Videoscited by 0
- 2026UniFinEval: Towards Unified Evaluation of Financial Multimodal Models across Text, Images and Videos9 Jan 2026
- 2025Beyond Isolated Dots: Benchmarking Structured Table Construction as Deep Knowledge Extraction22 Jul 2025
- 2025Toward Real-World Table Agents: Capabilities, Workflows, and Design Principles for LLM-based Table Intelligence14 Jul 2025
- 2025QBD-RankedDataGen: Generating Custom Ranked Datasets for Improving Query-By-Document Search Using LLM-Reranking with Reduced Human Effort7 May 2025
- 2025NeedleInATable: Exploring Long-Context Capability of Large Language Models towards Long-Structured Tables9 Apr 2025
- 2024HtmlRAG: HTML is Better Than Plain Text for Modeling Retrieved Knowledge in RAG Systems5 Nov 2024