PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoning

· Source: Artificial Intelligence · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Robotics & Autonomous Systems · Depth: Expert, quick

Summary

PRO-LONG is a novel context management framework designed for large language model (LLM) agents tackling long-horizon, exploratory tasks. It addresses the persistent challenge of sustained perception and reasoning in LLMs, which often exhibit limited performance on continual learning benchmarks like ARC-AGI-3. The framework overcomes the tradeoff in existing context management methods—where preserving more information complicates retrieval—by maintaining a complete, structured interaction log and employing coding agents for efficient history search. On the full ARC-AGI-3 public game set, PRO-LONG enhances base coding agent performance by an average of 18.0 percentage points across frontier models. It achieves up to 76.1% pass@1, matching or surpassing specialized harnesses while consuming 4.2-5.8x fewer tokens. Notably, with Fable 5, PRO-LONG reached 97.4% best@2 at a total cost of \$1,750.

Key takeaway

For AI Engineers developing LLM agents for long-horizon or exploratory tasks, you should consider implementing programmatic memory frameworks like PRO-LONG. This approach significantly improves performance on benchmarks such as ARC-AGI-3, offering up to 76.1% pass@1 while drastically reducing token usage by 4.2-5.8x compared to other methods. Adopting a structured interaction log and coding agents for history search can enhance your agent's reasoning capabilities and cost-efficiency.

Key insights

Programmatic memory and structured interaction logs enable LLM agents to efficiently manage context for long-horizon reasoning.

Principles

Method

Maintain a complete, structured interaction log and leverage coding agents to efficiently search this history for relevant details.

In practice

Topics

Code references

Best for: AI Architect, Research Scientist, AI Scientist, Machine Learning Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.