EvoMem: Improving Multi-Agent Planning with Dual-Evolving Memory

Wenzhe Fan, Ning Yan, Masood Mortazavi

TL;DR

Large Language Models (LLMs) often struggle with complex planning tasks due to an inability to track strict constraints and systematically learn from intermediate mistakes. EvoMem solves this by introducing a multi-agent framework inspired by human working memory that separates fixed task constraints from dynamic iteration feedback. This dual-evolving memory architecture achieves state-of-the-art results on natural language planning benchmarks across multiple LLM backbones.

What Problem Does This Paper Address?

While LLMs excel at general text generation, they frequently stumble on complex planning tasks (like scheduling calendars or organizing multi-city trips) that require multi-step reasoning and long-range dependencies.

When multi-agent frameworks attempt to solve these problems through iterative self-correction, they face a subtle trap: without a structured memory mechanism, the agents often lose track of the original constraints or repeatedly commit the same errors across reasoning rounds. The authors address this gap by exploring how human-like working memory structures can stabilize and guide multi-agent coordination in natural language planning.

Methods

Inspired by Baddeley’s classic multi-component theory of working memory in cognitive psychology, EvoMem splits the planning process into specialized agent roles and two distinct, evolving memory modules:

Figure 1: The dual-evolving memory mechanism in EvoMem: CMem evolves across queries to establish fixed, task-specific constraints for the actor and verifier. QMem evolves within a single query by recording failed attempts (solution, score, errors), providing iterative feedback until the solution is verified or the turn limit is reached.

1. The Multi-Agent Trio

  • Constraint Extractor: Isolates task-specific rules and limitations directly from the user's query.
  • Actor: Generates the actual plan/solution based on the query and available memory.
  • Verifier: Evaluates the Actor's output against the constraints, assigning a reward score (0-100) and detailing any violations.

2. The Dual-Evolving Memory Modules

  • Constraint Memory (CMem): Analogous to the human phonological loop, this module stores the rules extracted by the Constraint Extractor. It remains completely fixed within a single query session to anchor the Actor's generation and prevent "constraint drift" during revisions.
  • Query-feedback Memory (QMem): Analogous to the visuo-spatial sketchpad, this is a dynamic memory module that accumulates intermediate outputs, verifier scores, and specific error signals across failed attempts within the same query session.

The Execution Loop

For any given query, the framework runs for up to $T$ iterations. The Actor generates an initial plan using CMem. If the Verifier finds errors, the failure details are logged into QMem. In the next turn, the Actor uses both the static rules in CMed and the accumulated error logs in QMem to refine its solution. Crucially, both memory modules are completely reset at the end of the query session to prevent cross-task contamination.

Datasets

The authors evaluated EvoMem using the NaturalPlan benchmark, a rigorous suite designed to test natural language planning capabilities. The evaluation covered three distinct tasks:

  • Calendar Scheduling (1,000 instances)
  • Meeting Planning (1,000 instances)
  • Trip Planning (1,600 instances)

Key Insights and Ideas

  • The Power of Separation: Keeping the core task constraints isolated and static (CMem) while allowing the error feedback to evolve dynamically (QMem) prevents the model from losing sight of the original goal during multi-round self-correction.
  • Per-Query Memory is Sufficient: The paper demonstrates that complex planning doesn't necessarily require massive, permanent long-term memory databases. A highly structured, short-term "working memory" that resets per query is enough to drastically improve reasoning.
  • Diminishing Returns of Self-Correction: Through an ablation study on iteration caps ($K$), the authors found that the first three iterations are highly effective, resolving 93.7% of all solvable tasks. Extending the cap to 5 iterations catches a few more edge cases, but going up to 7 yields negligible gains at a much higher computational cost.

Key Results

EvoMem was tested against strong baselines, including Zero-shot CoT, Self-Reflect, and PlanGen (the previous state-of-the-art multi-agent framework).

Using Gemini-1.5-Pro as the primary backbone, EvoMem achieved the highest exact match scores across all three tasks:

  • Calendar Scheduling: 63.26% (+2.56% over PlanGen)
  • Meeting Planning: 47.56% (+3.76% over PlanGen)
  • Trip Planning: 52.80% (+11.17% over PlanGen)
Figure 2: (a) Performance comparison of EvoMem against other baseline methods. (b) Performance comparison of EvoMem gradually adding one more component. (All experiments are conducted with Gemini-1.5-Pro.)

The framework also demonstrated model-agnostic robustness, showing consistent relative performance gains when swapped onto other LLM backbones like DeepSeek V3 and GPT-4.1-mini.

Limitations and Future Work

While EvoMem excels at handling individual complex queries, its memory is strictly short-term and query-bound. Because both CMem and QMem are wiped clean after each session, the system cannot retain cross-session knowledge, learn generalized workflow routines over time, or adapt to a user's long-term preferences.

The authors suggest that promising future directions include extending the framework to incorporate richer, long-term learned workflow memories to support even more complex, recurring planning tasks.

Summary updated

BibTeX
@inproceedings{fan2025evomem,
  author = {Wenzhe Fan and Ning Yan and Masood Mortazavi},
  title = {{EvoMem: Improving Multi-Agent Planning with Dual-Evolving Memory}},
  booktitle = {LAW @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=Zt4Ax0iwQf},
}
Figure