A Survey on Unifying Human Brain and Agent Memory Systems
This article breaks down a joint survey that places human memory and AI agent memory within one framework. It explains the three forms of memory in large language models, the three core dimensions of agent memory, and how agent memory differs from traditional retrieval-augmented generation (RAG). Developers will find practical abstractions and implementation recommendations for building structured, schedulable, and self-evolving memory systems.
A Survey on Unifying Human Brain and Agent Memory Systems
Why a Unified Perspective Matters
In recent years, large language model (LLM)-powered agents have hit a shared bottleneck in long-horizon tasks, multi-turn interactions, and complex environment operations: memory. Limited context windows, redundant retrieval results, and the failure to turn past experience into strategy are not really problems of insufficient storage. They point to the lack of a systematic theory of memory.
A joint survey attempts to bridge cognitive neuroscience and artificial intelligence, examining “how the human brain remembers” and “how an agent remembers” under the same framework. It lays a theoretical foundation for designing genuinely human-like agent memory systems. For developers, the value of this survey is not a ready-to-call API, but a set of actionable abstractions: three forms of memory, three dimensions, and the essential difference between agent memory and traditional retrieval-augmented generation (RAG).
Redefining Memory: From Storage to a Cognitive Link
A traditional engineering view often equates memory with a database or cache. The survey stresses that memory is essentially the process by which the brain stores and manages information—a cognitive bridge connecting past experience with future decisions.
In the human brain, memory involves at least two stages:
- Encoding and consolidation: When the brain encounters a new concept or event, it rapidly forms a specific neural representation and integrates and stores the information.
- Consolidation and retrieval: The brain operates on existing representations, either consolidating them over time or retrieving them based on similar future situations.
This “encode–consolidate–retrieve” loop maps directly onto the write, organize, and recall stages of an agent memory system. Understanding this keeps developers from building memory as a write-only, unmanaged pile of logs.
The LLM View: Three Coexisting Forms of Memory
For a large language model, memory is not a single structure but three coexisting forms:
- Parametric memory: Knowledge internalized in the neural network weights, corresponding to abstracted long-term memory in humans. It requires no explicit retrieval, but is costly to update and weak in interpretability.
- Working memory: Based on the context window, it handles real-time reasoning. With limited capacity and strong time sensitivity, it is the “workbench” for current inference.
- Explicit external memory: Typically represented by RAG, it decouples computation from storage, turning the model from a “knowledge base” into a “knowledge dispatcher.”
The engineering takeaway is direct: parametric memory handles “common sense and style,” working memory handles “the current task,” and external memory handles “updatable facts and experience.” The three need clear division of labor rather than stuffing all information into the context.
The Agent View: The Leap from Storage to Cognition
An agent’s memory goes beyond the simple storage of an LLM; it is a dynamic cognitive architecture. The survey deconstructs it along three core dimensions.
1. Structured Storage
The goal is to convert unstructured natural-language interactions into an effective format that machines can index and understand. Common practices include extracting entities and relations, generating summaries, tagging, building hierarchical directories, and preserving timestamps and sources. An illustrative structure:
{"memory_id": "m_001","type": "episodic","summary": "User prefers concise answers","entities": ["user", "answer style"],"relations": ["prefers -> concise"],"timestamp": "2025-01-01T10:00:00Z","source": "dialog_turn_12","confidence": 0.86}
The higher the degree of structure, the more reliable subsequent retrieval and reflection become. But over-structuring loses context, so a balance must be struck between “searchable” and “understandable.”
2. Dynamic Scheduling
This addresses the conflict between limited attention resources and massive memory storage, mimicking the brain’s mechanisms of forgetting and arousal. Strategies worth borrowing include time-based decay, weighting by access frequency, scoring by task relevance, and retention by importance. The scheduler must answer two questions: when to write and when to forget; and how to rank and truncate during recall.
3. Cognitive Evolution
An agent must reflect deeply on, abstract, and reorganize memory content to keep updating its behavioral strategy. For example, summarizing multiple failed trajectories into a rule to “avoid a certain type of operation,” or abstracting scattered facts into a preference profile. Without a reflection layer, memory is just a running account of history; with one, memory becomes experience.
How Agent Memory Differs from RAG
Traditional RAG focuses on connecting the model to a static knowledge base for queries, emphasizing “retrieve–concatenate–generate.” Agent memory is embedded in the dynamic interaction between the agent and its environment, continuously merging operation trajectories and environmental feedback into the memory container.
The differences can be summarized as:
- Data source: RAG relies mainly on external documents; agent memory includes interactions, actions, feedback, and reflection artifacts.
- Update mode: RAG mostly builds the index offline; agent memory writes and reorganizes online and continuously.
- Goal: RAG supplements knowledge; agent memory supports decision-making and strategy evolution.
Therefore, RAG can be seen as one implementation means of agent memory, but it cannot replace a complete memory system.
Implementation Recommendations
- Layered design: Give parametric memory, working memory, and external memory their own roles to avoid context bloat.
- Structure on write: Extract summaries, entities, and tags as interactions happen to reduce later organizing costs.
- Explainable scheduling: Set observable metrics for forgetting and recall to make tuning and auditing easier.
- Regular reflection: Periodically abstract and reorganize memory to distill reusable strategies.
- Cloud support: Build a scalable memory pipeline using general cloud capabilities such as object storage, message queues, container platforms, logging services, and monitoring and alerting.
Conclusion
The core contribution of this survey is aligning the human brain’s “encode–consolidate–retrieve” with the agent’s “store–schedule–evolve” into a unified framework. For developers, truly human-like memory lies not in capacity, but in the coordination of structure, scheduling, and reflection.
