NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Evolving Generalist Virtual Agents with Generative and Associative Memory

Zhenkui Zhang, Wendong Bu, Kaihang Pan, Bingchen Miao, Wenqiao Zhang, Guoming Wang, Wei Ji, Rui Tang, Juncheng Li, Siliang Tang

TL;DR

This paper introduces CA3Mem, a novel memory framework for virtual agents that mimics the human hippocampus to enable agents to evolve beyond their pre-programmed behaviors. By organizing past experiences into a structured graph and using both generative recombination and associative retrieval, CA3Mem allows agents to synthesize new solutions and adapt continuously to complex environments.

What Problem Does This Paper Address?

Generalist Virtual Agents (GVAs) powered by Large Language Models (LLMs) are becoming increasingly capable of understanding and interacting with digital environments. However, a significant limitation hinders their long-term learning and adaptability: their memory systems often treat past experiences as isolated fragments. This reliance on brittle semantic retrieval prevents agents from synthesizing novel solutions from disparate knowledge, effectively trapping them within existing behavioral trajectories. This makes it difficult for agents to learn and adapt in dynamic, open-world scenarios that require more than just recalling past actions.

Methods

CA3Mem is inspired by the human hippocampus and introduces two core innovations:

  1. Generative Memory Recombination for Evolution:
    • CA3-Net: Experiences (task trajectories) are first parsed into "subtask nodes" and structured into a Directed Acyclic Graph (DAG) that captures contextual dependencies. These DAGs are then merged into a unified memory graph, CA3-Net.
  2. Memory Recombination: The framework synthesizes novel task trajectories by bottom-up composition of subtask nodes within CA3-Net. This process is guided by a "Coverage-based Overlap Score" (COS) to prioritize novel combinations. The resulting recombined trajectories are then used to abstract transferable knowledge (guidelines) for the agent.
  3. Associative Retrieval via Spreading Activation:
    • Initialization: When a query (current task context) is given, the agent performs a semantic search to identify initial "seed" nodes in CA3-Net.
  4. Spreading Activation: Activation then iteratively spreads through the network via contextual links, mimicking pattern completion in the hippocampus. This allows the agent to retrieve relevant memories that might be semantically distant but contextually connected, bridging the gap between simple semantic matching and deeper understanding.

Datasets

The paper evaluates CA3Mem on two public benchmarks:

  • OSWorld: Assesses agent proficiency in complex GUI tasks within desktop operating systems.
  • WebArena: Focuses on long-horizon challenges in dynamic, hierarchical web environments. The evaluation specifically uses the Reddit domain of WebArena.

Key Insights and Ideas

  • Hippocampal Inspiration is Powerful: Mimicking the hippocampus's mechanisms for memory replay (recombination) and pattern completion (associative retrieval) provides a robust foundation for agent evolution and adaptation.
  • Beyond Semantic Similarity: Relying solely on semantic similarity for memory retrieval is insufficient for complex tasks. CA3Mem's associative retrieval, which considers contextual links, is crucial for finding relevant information even when it's not a direct semantic match.
  • Compositionality is Key to Generalization: The ability to recombine subtasks from different experiences, rather than just reusing entire trajectories, is vital for compositional generalization and tackling novel tasks.
  • Memory as a Generative Engine: CA3Mem transforms memory from a static repository into a dynamic, generative engine that actively contributes to the agent's evolution and learning.

Key Results

  • State-of-the-Art Performance: CA3Mem achieves state-of-the-art overall success rates of 23.85% on OSWorld and 63.2% on WebArena (Reddit domain).
  • Significant Improvements:
    • On OSWorld, CA3Mem significantly outperforms baselines, particularly in the challenging Workflow domain (15.84% success rate, a 10.3% improvement over GPT-40).
  • On WebArena, it substantially outperforms existing methods like ReAct (6.0%) and strong baselines like AWM (50.9%).
  • Dynamic Knowledge Accumulation: Experiments show CA3Mem effectively learns from ongoing experience, with its success rate dramatically improving as it accumulates more memory nodes.
  • Model-Agnostic: CA3Mem provides substantial performance lifts when applied to different LLM backbones (GPT-40, Claude-3, Qwen2.5-VL), demonstrating its architectural generality.
  • Ablation Studies: Disabling memory recombination leads to a significant drop in performance (23.85% to 16.80% on OSWorld), highlighting its importance for compositional generalization. Similarly, disabling associative retrieval (using only semantic similarity) also severely impacts performance (down to 14.91%).

Limitations and Future Work

  • Computational Overhead: While not explicitly detailed as a limitation, the construction and maintenance of the CA3-Net graph and the spreading activation process likely introduce computational overhead.
  • Future Work: The paper suggests that CA3Mem provides a new paradigm for creating more adaptive, resourceful, and continually evolving virtual agents. Future work could explore scaling this framework to even more complex environments and tasks, as well as investigating more sophisticated methods for abstracting and utilizing the generated guidelines. The current work focuses on GUI agents, and extending it to other modalities or agent types could be a promising direction.

Summary updated

BibTeX
@inproceedings{zhang2026evolving,
  author = {Zhenkui Zhang and Wendong Bu and Kaihang Pan and Bingchen Miao and Wenqiao Zhang and Guoming Wang and Wei Ji and Rui Tang and Juncheng Li and Siliang Tang},
  title = {{Evolving Generalist Virtual Agents with Generative and Associative Memory}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i15.38300},
}

Loading related content...

Figure