TLDR: ArcMemo is a new framework that gives Large Language Models (LLMs) a “lifelong memory” to improve their reasoning abilities. Instead of discarding learned patterns, ArcMemo distills complex problem-solving steps into reusable, abstract concepts. This allows LLMs to build on past insights, similar to human learning. Tested on the challenging ARC-AGI benchmark, ArcMemo significantly boosted performance, demonstrating that abstract, modular memory helps LLMs continually learn and solve new problems more effectively.
Large Language Models (LLMs) have shown incredible progress in tackling complex reasoning tasks. However, a significant limitation has been their inability to retain and build upon the insights gained during one problem-solving session once that session ends. Imagine a human solving a puzzle, learning a new strategy, and then completely forgetting it for the next puzzle. This is often how LLMs operate, discarding valuable reasoning patterns. A new research paper, ARCMEMO : Abstract Reasoning Composition With Lifelong LLM Memory, introduces a novel framework called ArcMemo that aims to overcome this challenge by equipping LLMs with a lifelong, abstract memory.
The Challenge of Ephemeral Reasoning
Current LLM systems, once deployed, are essentially fixed. Any new patterns or strategies they uncover during deep reasoning are not carried forward. This is a stark contrast to human intelligence, which thrives on building upon prior knowledge, abstracting patterns, and applying them in new situations. While external memory has been explored for LLMs, previous approaches often stored ‘instance-level’ memories – specific query-response pairs or summaries tightly linked to the original problem. These are useful for very similar problems but lose effectiveness when faced with superficially different scenarios.
Introducing ArcMemo: Memory for Abstract Concepts
ArcMemo proposes a more sophisticated approach: ‘concept-level memory’. Instead of storing exact problem-solution pairs, ArcMemo distills reusable, modular abstractions from solution traces and stores them in natural language. These abstract concepts are more general and separated from their original context, making them broadly applicable across a wider range of future problems. They are also modular, meaning they can be easily recombined with other ideas or built upon with new experiences.
How ArcMemo Works
The framework involves two primary operations:
- Writing to Memory (Concept Abstraction): When an LLM solves a problem, ArcMemo reflects on the solution trace and summarizes general, reusable ideas. The paper explores two formats for this: an Open-Ended (OE) approach that allows the model to define the structure, and a more structured Program Synthesis (PS) approach. The PS format, inspired by software engineering, frames concepts as types, structures, and routines, allowing for parameterization and higher-order functions. This encourages greater abstraction and modularity, making concepts more compact and adaptable.
- Reading from Memory (Concept Selection): For a new problem, ArcMemo doesn’t just dump all past memories into the LLM’s context. Instead, it selectively retrieves only the most relevant concepts. This is crucial because even with larger context windows, irrelevant information can distract the model and increase computational cost. The OE approach uses a vision language model to describe the problem and then selects top-k relevant memories. The PS approach employs a more advanced ‘reasoning-based selection,’ where the LLM systematically explores the problem, identifies initial concepts using relevance cues, and then fills in details by investigating other concepts based on type annotations.
A key aspect of ArcMemo is its support for continual concept learning. This means the memory can be dynamically updated during test-time. As the LLM solves more problems and abstracts new patterns, these discoveries are added to memory, enabling a form of self-improvement without requiring expensive weight updates to the LLM itself. This process requires some form of feedback (like test cases or self-reflection) to ensure only productive ideas are retained.
Performance on ARC-AGI
The researchers evaluated ArcMemo on the challenging ARC-AGI-1 benchmark, which is designed to test fluid intelligence and the efficient acquisition of new skills rather than mere memorization. The results were impressive:
- ArcMemo-PS achieved an official score of 59.33, representing a 7.5% relative gain over a strong no-memory baseline (55.17).
- It was the only memory design tested that consistently outperformed the baseline across all inference compute scales.
- The study also confirmed that continually updating memory during evaluation time led to improved puzzle-solving performance, especially with additional attempts.
- The concept selection mechanism proved vital, not only for managing memory growth but also for enhancing problem-solving performance and reducing token usage.
Also Read:
- Assessing LLM Capabilities: A New Framework to Counter Data Contamination
- LLMs Learn to Improve Their Own Answers
Looking Ahead
ArcMemo represents a significant step towards building more intelligent and adaptable LLMs. By focusing on abstract and modular concept-level memory, it allows LLMs to learn and evolve over time, much like humans. While this work is an early exploration, it opens up exciting avenues for future research, including developing hierarchical memory consolidation mechanisms and optimizing memory representations for even greater efficiency and effectiveness. The release of a concept-annotation dataset by the authors aims to further encourage research in this promising area.


