arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.26622cs.CL
收藏

OCR-Memory:光学上下文检索用于长周期智能体记忆

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

The University of Hong Kong(香港大学);University of North Texas(北得克萨斯大学);University of Tsukuba(筑波大学);Yonsei University(延世大学)

Jinze Li, Yang Zhang, Xin Yang, Jiayi Qu, Jinfeng Xu, Shuo Yang, Junhua Ding, Edith Cheuk-Han Ngai

AI总结:

OCR-Memory通过视觉模态高密度表示智能体经验,实现长周期记忆存储与检索,减少token消耗并提升证据恢复准确性。

摘要:

自主LLM智能体越来越多地在长周期、交互性环境中运行,其成功依赖于重用长期积累的经验。然而,现有智能体记忆系统受限于文本上下文预算:存储或重访原始轨迹成本过高,而摘要和文本检索则牺牲信息完整性。为解决此问题,我们提出OCR-Memory,一种利用视觉模态作为高密度经验表示的记忆框架,使在检索时能以最小提示开销保留任意长的历史。具体而言,OCR-Memory将历史轨迹渲染为带有唯一视觉标识的图像。OCR-Memory通过"定位与转录"范式检索存储经验:通过视觉锚点选择相关区域并检索对应的原文本,避免自由生成并减少幻觉。在长周期智能体基准测试中,实验结果表明在严格上下文限制下表现出一致优势,证明了光学编码在提升有效记忆容量的同时保持了忠实的证据恢复。

英文摘要:

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 \emph{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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑