mlsanityData to 7 Oct 2026

RAGOCR: Optical Compression of Retrieval-Augmented Text via Visual Representation

arXiv 2608.00765 ↗First posted 1 Aug 2026cs.CLcited by 0

On the map: Retrieval-augmented generation → Generation and context integration

Abstract (arXiv)

Retrieval-Augmented Generation (RAG) has become essential for knowledge-intensive question answering, yet scaling RAG pipelines remains challenging due to the prohibitive computational cost of processing lengthy retrieved contexts. Existing compression approaches face a fundamental trade-off: hard compression methods operate online in a query-aware fashion but achieve only modest compression rates and typically require fine-tuning the generative model, while soft compression methods attain higher ratios but rely on costly offline encoding that is entirely agnostic to the input query. To bridge this gap, we introduce RAGOCR, a novel framework that compresses retrieved documents into compact visual representations conditioned on the input query. To further balance compression rate and information fidelity, we introduce a query-aware dynamic resolution mechanism that adaptively allocates visual granularity based on each document's estimated relevance and complexity: highly relevant passages are rendered at higher resolution to preserve fine-grained details, while peripheral documents are aggressively compressed at lower resolution. Experiments on five QA benchmarks using the MedOmniKB retrieval corpus demonstrate that RAGOCR surpasses naive RAG by over 15% in accuracy while requiring only one-eighth the number of input tokens, and consistently outperforms both hard and soft compression baselines across varying retrieval depths.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 19 of its 38 references that are in the map. First posted on arXiv 1 Aug 2026.

Builds on

19 of 38 references.

Closest ancestors · 6

Same direction, newest first

  1. 2025OSCAR: Online Soft Compression And Reranking17 Mar
  2. 2025Provence: efficient and robust context pruning for retrieval-augmented generation27 Jan
  3. 2025PISCO: Pretty Simple Compression for Retrieval-Augmented Generation27 Jan
  4. 2024xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token22 May
  5. 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentation6 Oct
  6. 2023REPLUG: Retrieval-Augmented Black-Box Language Models30 Jan

Other references · 13

  1. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  2. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  3. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,371
  4. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,324
  5. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
  6. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
  7. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
  8. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 343
  9. 2026Qwen3-VL-Embedding and Qwen3-VL-Reranker: A Unified Framework for State-of-the-Art Multimodal Retrieval and Rankingcited by 211
  10. 2023SlideVQA: A Dataset for Document Visual Question Answering on Multiple Imagescited by 175
  11. 2026DeepSeek-OCR 2: Visual Causal Flowcited by 68
  12. 2025Glyph: Scaling Context Windows via Visual-Text Compressioncited by 49
1 more
  1. 2025SecurityLingua: Efficient Defense of LLM Jailbreak Attacks via Security-Aware Prompt Compressioncited by 12

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Enhancing RAG Efficiency with Adaptive Context Compression
  2. 2026Rethinking Soft Compression in Retrieval-Augmented Generation: A Query-Conditioned Selector Perspective
  3. 2025Less Is More: Elevating RAG via Performance-Driven Context Compression
  4. 2025SARA: Selective and Adaptive Retrieval-augmented Generation with Context Compression
  5. 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAG
  6. 2025Visual-RAG: Benchmarking Text-to-Image Retrieval Augmented Generation for Visual Knowledge Intensive Queries
  7. 2024Contextual Compression in Retrieval-Augmented Generation for Large Language Models: A Survey
  8. 2026AdaMem: Adaptive Memory Token Allocation for Soft Compression in Retrieval-Augmented Generation