mlsanityData to 14 Oct 2026

Single-Pass Document Scanning for Question Answering

arXiv 2504.03101 ↗First posted 4 Apr 2025cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

Handling extremely large documents for question answering is challenging: chunk-based embedding methods often lose track of important global context, while full-context transformers can be prohibitively expensive for hundreds of thousands of tokens. We propose a single-pass document scanning approach that processes the entire text in linear time, preserving global coherence while deciding which sentences are most relevant to the query. On 41 QA benchmarks, our single-pass scanner consistently outperforms chunk-based embedding methods and competes with large language models at a fraction of the computational cost. By conditioning on the entire preceding context without chunk breaks, the method preserves global coherence, which is especially important for long documents. Overall, single-pass document scanning offers a simple solution for question answering over massive text. All code, datasets, and model checkpoints are available at https://github.com/MambaRetriever/MambaRetriever

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 47 of its 58 references that are in the map. First posted on arXiv 4 Apr 2025.

Builds on

47 of 58 references.

References · 47

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Scaling Laws for Neural Language Modelscited by 6,586
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  5. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  6. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
  7. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
  8. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  9. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  10. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  11. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
  12. 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
35 more
  1. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
  2. 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 472
  3. 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 404
  4. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
  5. 2021Efficient Attentions for Long Document Summarizationcited by 345
  6. 2023Improving Text Embeddings with Large Language Modelscited by 303
  7. 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 236
  8. 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 233
  9. 2024Generative Representational Instruction Tuningcited by 233
  10. 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
  11. 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMscited by 202
  12. 2024An Empirical Study of Mamba-based Language Modelscited by 186
  13. 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 124
  14. 2024Make Your LLM Fully Utilize the Contextcited by 119
  15. 2024Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approachcited by 119
  16. 2023How to Train Your DRAGON: Diverse Augmentation Towards Generalizable Dense Retrievalcited by 118
  17. 2023Retrieval meets Long Context Large Language Modelscited by 115
  18. 2024ChatQA: Surpassing GPT-4 on Conversational QA and RAGcited by 90
  19. 2024LV-Eval: A Balanced Long-Context Benchmark with 5 Length Levels Up to 256Kcited by 81
  20. 2024Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encodingcited by 72
  21. 2023Shall We Pretrain Autoregressive Language Models with Retrieval? A Comprehensive Studycited by 63
  22. 2023Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecturecited by 63
  23. 2024DocFinQA: A Long-Context Financial Reasoning Datasetcited by 60
  24. 2024Just read twice: closing the recall gap for recurrent language modelscited by 60
  25. 2023BAMBOO: A Comprehensive Benchmark for Evaluating Long Text Modeling Capacities of Large Language Modelscited by 53
  26. 2024ChatQA 2: Bridging the Gap to Proprietary LLMs in Long Context and RAG Capabilitiescited by 53
  27. 2024Hydra: Bidirectional State Space Models Through Generalized Matrix Mixerscited by 44
  28. 2023RAVEN: In-Context Learning with Retrieval-Augmented Encoder-Decoder Language Modelscited by 37
  29. 2024Benchmarking and Building Long-Context Retrieval Models with LoCo and M2-BERTcited by 21
  30. 2024Contextual Document Embeddingscited by 19
  31. 2024From Artificial Needles to Real Haystacks: Improving Retrieval Capabilities in LLMs by Finetuning on Synthetic Datacited by 18
  32. 2022MuLD: The Multitask Long Document Benchmarkcited by 9
  33. 2024ELITR-Bench: A Meeting Assistant Benchmark for Long-Context Language Modelscited by 9
  34. 2024Mamba Retriever: Utilizing Mamba for Effective and Efficient Dense Retrievalcited by 8
  35. 2024FastFiD: Improve Inference Efficiency of Open Domain Question Answering via Sentence Selectioncited by 2

Built on by

Cited by year (2026 to 14 Oct)

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

6 papers.