跳到正文
arXiv:cs.AI· Alexis Fox, Junlin Wang, Paul Rosu, Bhuwan Dhingra·· 23 小时前

PRO-LONG:用程序化记忆让 LLM 智能体实现长时程推理

PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoning

AI 导读

研究者提出上下文管理框架 PRO-LONG,为长时程探索场景下的 LLM 智能体保留完整结构化交互日志,并用程序化工具高效检索历史。在 NetHack 上,其跨回合记忆得分最高达基础编码智能体的 2.2 倍;在 ARC-AGI-3 全部公开游戏集上,跨前沿模型平均提升 18.0 个百分点,最佳@2 达 97.4%,同时 token 用量减少 4.2-5.8 倍。相关代码与日志已公开。

正文

View PDF HTML (experimental)

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