OCR-Memory: Optical Context Retrieval for Long-Horizon Agent Memory
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
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
- 2023CogAgent: A Visual Language Model for GUI Agentscited by 704
- 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrievalcited by 532
7 more
- 2023AppAgent: Multimodal Agents as Smartphone Userscited by 415
- 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agentscited by 401
- 2023Ghost in the Minecraft: Generally Capable Agents for Open-World Environments via Large Language Models with Text-based Knowledge and Memorycited by 289
- 2023ChatDB: Augmenting LLMs with Databases as Their Symbolic Memorycited by 140
- 2025ACON: Optimizing Context Compression for Long-horizon LLM Agentscited by 136
- 2023Walking Down the Memory Maze: Beyond Context Limit through Interactive Readingcited by 133
- 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agentscited by 109
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026ScrapMem: A Bio-inspired Framework for On-device Personalized Agent Memory via Optical Forgettingcited by 3
- 2026SkillLens: Visual Skill Cards for Retrieval-Augmented GUI Action Prediction and On-Policy Distillationcited by 3
- 2026When History Is Multimodal: Rethinking Context Management for Long-Horizon Agentscited by 2
- 2026Memory Control Signals Emerge Before Action in Long Horizon Agentscited by 1
- 2026Retrieved but Not Delivered: Multimodal Memory Delivery for Long-Term Agentscited by 1
- 2026MemPrism: Task-Conditioned Relational Memory Views for Long-Horizon Agentscited by 0
- 2026Beyond Retrieval: Query-Conditioned Reuse of Long-Horizon Agent Trajectoriescited by 0
- 2026Retrieved but Not Delivered: Multimodal Memory Delivery for Long-Term Agents26 Sep 2026
- 2026Memory Control Signals Emerge Before Action in Long Horizon Agents23 Sep 2026
- 2026When History Is Multimodal: Rethinking Context Management for Long-Horizon Agents30 Aug 2026
- 2026Beyond Retrieval: Query-Conditioned Reuse of Long-Horizon Agent Trajectories13 Aug 2026
- 2026SkillLens: Visual Skill Cards for Retrieval-Augmented GUI Action Prediction and On-Policy Distillation11 Aug 2026
- 2026MemPrism: Task-Conditioned Relational Memory Views for Long-Horizon Agents7 Aug 2026
- 2026ScrapMem: A Bio-inspired Framework for On-device Personalized Agent Memory via Optical Forgetting5 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026Reading is not Reasoning: Bridging the Agentic Policy Gap in Vision-Text Compression
- 2026Visual Agentic Memory: Enabling Online Long Video Understanding via Online Indexing, Hierarchical Memory, and Agentic Retrieval
- 2026Light-Omni: Reflex over Reasoning in Agentic Video Understanding with Long-Term Memory
- 2026AgentOCR: Reimagining Agent History via Optical Self-Compression
- 2026VimRAG: Navigating Massive Visual Context in Retrieval-Augmented Generation via Multimodal Memory Graph
- 2026MemEye: A Visual-Centric Evaluation Framework for Multimodal Agent Memory
- 2026MM-ContextFold: Context Folding for Multimodal Agentic Retrieval
- 2026MemOCR: Layout-Aware Visual Memory for Efficient Long-Horizon Reasoning