mlsanityData to 14 Oct 2026

Holistic Reasoning with Long-Context LMs: A Benchmark for Database Operations on Massive Textual Data

arXiv 2410.11996 ↗First posted 15 Oct 2024cs.CLcited by 11

On the map: LLM reasoning → Knowledge- and tool-augmented reasoning

also in 1 more
Abstract (arXiv)

The rapid increase in textual information means we need more efficient methods to sift through, organize, and understand it all. While retrieval-augmented generation (RAG) models excel in accessing information from large document collections, they struggle with complex tasks that require aggregation and reasoning over information spanning across multiple documents--what we call holistic reasoning. Long-context language models (LCLMs) have great potential for managing large-scale documents, but their holistic reasoning capabilities remain unclear. In this work, we introduce HoloBench, a novel framework that brings database reasoning operations into text-based contexts, making it easier to systematically evaluate how LCLMs handle holistic reasoning across large documents. Our approach adjusts key factors such as context length, information density, distribution of information, and query complexity to evaluate LCLMs comprehensively. Our experiments show that the amount of information in the context has a bigger influence on LCLM performance than the actual context length. Furthermore, the complexity of queries affects performance more than the amount of information, particularly for different types of queries. Interestingly, queries that involve finding maximum or minimum values are easier for LCLMs and are less affected by context length, even though they pose challenges for RAG systems. However, tasks requiring the aggregation of multiple pieces of information show a noticeable drop in accuracy as context length increases. Additionally, we find that while grouping relevant information generally improves performance, the optimal positioning varies across models. Our findings surface both the advancements and the ongoing challenges in achieving a holistic understanding of long contexts.

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 24 of its 30 references that are in the map. First posted on arXiv 15 Oct 2024.

Builds on

24 of 30 references.

References · 24

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  4. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  5. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  6. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  7. 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
  8. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  9. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  10. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
  11. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
  12. 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 215
12 more
  1. 2024Data Engineering for Scaling Language Models to 128K Contextcited by 186
  2. 2024Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Modelscited by 152
  3. 2024Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approachcited by 119
  4. 2024Summary of a Haystack: A Challenge to Long-Context LLMs and RAG Systemscited by 87
  5. 2024One Thousand and One Pairs: A "novel" challenge for long-context language modelscited by 80
  6. 2024Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?cited by 56
  7. 2024In Defense of RAG in the Era of Long-Context Language Modelscited by 53
  8. 2024Vibe-Eval: A hard evaluation suite for measuring progress of multimodal language modelscited by 35
  9. 2023Less is More for Long Document Summary Evaluation by LLMscited by 28
  10. 2021Database Reasoning Over Textcited by 20
  11. 2024Retrieval Helps or Hurts? A Deeper Dive into the Efficacy of Retrieval Augmentation to Language Modelscited by 19
  12. 2023Multimodal Neural Databasescited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 6.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025ToM: Leveraging Tree-oriented MapReduce for Long-Context Reasoning in Large Language Models
  2. 2025TableRAG: A Retrieval Augmented Generation Framework for Heterogeneous Document Reasoning
  3. 2025Beyond Quacking: Deep Integration of Language Models and RAG into DuckDB
  4. 2026CorpusQA: A 10 Million Token Benchmark for Corpus-Level Analysis and Reasoning
  5. 2026Probing How Scalable Table Data Enhances General Long-Context Reasoning
  6. 2024Retrieval Meets Reasoning: Dynamic In-Context Editing for Long-Text Understanding
  7. 2025DynaQuery: A Self-Adapting Framework for Querying Structured and Multimodal Data
  8. 2024Lucy: Think and Reason to Solve Text-to-SQL