arXiv cs.AI· Alexis Fox, Junlin Wang, Paul Rosu, Bhuwan Dhingra·· 3 天前AI 评分60
PRO-LONG:用程序化记忆实现长程推理
PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoning
AI 导读
论文提出 PRO-LONG,一个面向 LLM 智能体长程探索场景的最小上下文管理框架,通过保留完整结构化交互日志并用程序化工具高效检索历史来化解信息保留与检索难度之间的取舍。
正文 · 原文
Abstract:Long-horizon tasks require sustained perception, reasoning, and exploration, and are a persistent challenge for large language model (LLM) agents. This gap is reflected in their limited performance on continual learning benchmarks such as ARC-AGI-3 and NetHack, especially when evaluated without specialized harnesses. Various agent harnesses have been proposed to close the gap, and each commits to a strategy for handling long sequences of observations, i.e., what information to save from the environment and how to load it into model context, a choice we argue is particularly consequential. Existing methods for context management have typically been designed around a tradeoff, where preserving more information makes relevant details harder to retrieve. Recent progress in coding agents, however, makes new approaches to memory viable. We propose PRO-LONG, a minimal context management framework built around programmatic memory for LLM agents in long-horizon, exploratory settings. PRO-LONG addresses the tradeoff by keeping a complete, structured interaction log and using programmatic tools to search this history efficiently. On NetHack, we find increasing gains from using PRO-LONG for cross-episodic memory, with scores reaching up to 2.2x those of a base coding agent. On the full ARC-AGI-3 public game set, PRO-LONG improves over this baseline agent by an average of 18.0 percentage points across frontier models, and matches or exceeds state-of-the-art specialized harnesses (up to 97.4% best@2) while using 4.2-5.8x fewer tokens. Relevant code and logs are available at this https URL.
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2607.20064 [cs.AI] |
| (or arXiv:2607.20064v3 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2607.20064 arXiv-issued DOI via DataCite |
Submission history
From: Alexis Fox [view email]
[v1]
Wed, 22 Jul 2026 12:11:51 UTC (254 KB)
[v2]
Thu, 23 Jul 2026 17:42:22 UTC (255 KB)
[v3]
Mon, 12 Oct 2026 06:47:34 UTC (890 KB)
来源:arXiv cs.AI · arxiv.org