mlsanityData to 14 Oct 2026

OCR-Memory: Optical Context Retrieval for Long-Horizon Agent Memory

arXiv 2604.26622 ↗First posted 29 Apr 2026cs.CLcited by 7

On the map: LLM agents and tool use → Multimodal and embodied agents

Abstract (arXiv)

Autonomous LLM agents increasingly operate in long-horizon, interactive settings where success depends on reusing experience accumulated over extended histories. However, existing agent memory systems are fundamentally constrained by text-context budgets: storing or revisiting raw trajectories is prohibitively token-expensive, while summarization and text-only retrieval trade token savings for information loss and fragmented evidence. To address this limitation, we propose Optical Context Retrieval Memory (OCR-Memory), a memory framework that leverages the visual modality as a high-density representation of agent experience, enabling retention of arbitrarily long histories with minimal prompt overhead at retrieval time. Specifically, OCR-Memory renders historical trajectories into images annotated with unique visual identifiers. OCR-Memory retrieves stored experience via a locate-and-transcribe paradigm that selects relevant regions through visual anchors and retrieves the corresponding verbatim text, avoiding free-form generation and reducing hallucination. Experiments on long-horizon agent benchmarks show consistent gains under strict context limits, demonstrating that optical encoding increases effective memory capacity while preserving faithful evidence recovery.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Multimodal and embodied agents, one of 16 directions in LLM agents and tool use. Builds on 19 of its 26 references that are in the map. First posted on arXiv 29 Apr 2026.

Builds on

19 of 26 references.

References · 19

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  3. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  5. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  6. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
  7. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  8. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
  9. 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
  10. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
  11. 2023CogAgent: A Visual Language Model for GUI Agentscited by 704
  12. 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrievalcited by 532
7 more
  1. 2023AppAgent: Multimodal Agents as Smartphone Userscited by 415
  2. 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agentscited by 401
  3. 2023Ghost in the Minecraft: Generally Capable Agents for Open-World Environments via Large Language Models with Text-based Knowledge and Memorycited by 289
  4. 2023ChatDB: Augmenting LLMs with Databases as Their Symbolic Memorycited by 140
  5. 2025ACON: Optimizing Context Compression for Long-horizon LLM Agentscited by 136
  6. 2023Walking Down the Memory Maze: Beyond Context Limit through Interactive Readingcited by 133
  7. 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agentscited by 109

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 7.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Reading is not Reasoning: Bridging the Agentic Policy Gap in Vision-Text Compression
  2. 2026Visual Agentic Memory: Enabling Online Long Video Understanding via Online Indexing, Hierarchical Memory, and Agentic Retrieval
  3. 2026Light-Omni: Reflex over Reasoning in Agentic Video Understanding with Long-Term Memory
  4. 2026AgentOCR: Reimagining Agent History via Optical Self-Compression
  5. 2026VimRAG: Navigating Massive Visual Context in Retrieval-Augmented Generation via Multimodal Memory Graph
  6. 2026MemEye: A Visual-Centric Evaluation Framework for Multimodal Agent Memory
  7. 2026MM-ContextFold: Context Folding for Multimodal Agentic Retrieval
  8. 2026MemOCR: Layout-Aware Visual Memory for Efficient Long-Horizon Reasoning