M2PA: A Multi-Memory Planning Agent for Open Worlds Inspired by Cognitive Theory

Yanfang Zhou, Xiaodong Li, Yuntao Liu, Yongqiang Zhao, Xintong Wang, Zhenyu Li, Jinlong Tian, Xinhai XuACL 2025

Introduction

Planning in open-world environments like Minecraft presents a significant challenge for artificial intelligence. Unlike traditional games with constrained rules, open worlds are characterized by vast state spaces, environmental diversity, and the requirement for long-term reasoning. Current Large Language Model (LLM) agents often treat planning as a static text-generation task, lacking "situational awareness" and the ability to perform "lifelong learning"—the human capacity to transform successful past experiences into reusable mental templates.

Methodology: The M2PA Architecture

The Multi-Memory Planning Agent (M2PA) addresses these challenges by mimicking human cognitive architecture through four specialized memory modules:

  1. Semantic Memory: Leverages LLMs (e.g., GPT-4o) as a repository of general knowledge to decompose complex goals into hierarchical sub-goal trees.
  2. Episodic Memory: A vector database storing successful plans as "experience trees." A dual-update mechanism (real-time and periodic) merges similar experiences to optimize retrieval and prevent memory bloat.
  3. Sensory Memory: Acts as the agent's perceptual system, using MineClip to encode egocentric RGB images into scene graphs, providing environmental context such as biome type and nearby entities.
  4. Working Memory: A dynamic prompter that integrates inputs from the other three modules and a Reflector module to synthesize the final plan.
Overview of the M2PA architecture and module interactions.

The system operates in a closed loop where the Planner generates a plan, the Controller executes high-level actions, and the Reflector provides feedback for plan revision in case of failure.

Experience Representation and Generalization

Central to M2PA's success is its ability to abstract and store knowledge. Tasks are decomposed into sub-goal trees, which are then mapped to specific skills and finally stored as experience trees in episodic memory. This structure allows the agent to generalize knowledge; for instance, learning to mine iron for one task provides a template that can be reused in entirely different complex tasks requiring iron.

The hierarchical decomposition of tasks into sub-goal, skill, and experience trees.

Experimental Evaluation

M2PA was evaluated using the MineDojo benchmark across 50 tasks of varying difficulty, from basic log mining to complex diamond acquisition.

Key Results

  • State-of-the-Art Performance: M2PA achieved a 20.20% success rate on complex tasks, more than doubling the performance of the previous state-of-the-art model, MP5 (9.67%).
  • Lifelong Learning: In the "ObtainDiamond" task, M2PA's success rate reached 38.33% as it accumulated experiences, demonstrating significant improvement over time.
  • The Compensatory Effect: Notably, equipping a "weaker" model (GPT-3.5) with episodic memory allowed it to outperform a "stronger" model (GPT-4o) lacking such memory, highlighting the value of a structured experience history for embodied agents.

Discussion and Limitations

The research highlights that situational awareness is critical; tasks performed in visually homogenous environments (like underground mining) remain challenging. Furthermore, while M2PA advances lifelong learning, it still faces probabilistic errors inherent in LLMs, such as hallucinations regarding task prerequisites. Future work will focus on refining multimodal integration and exploring the trade-offs between neural and symbolic reasoning to improve computational efficiency.

Summary updated

BibTeX
@inproceedings{zhou2025m,
  author = {Yanfang Zhou and Xiaodong Li and Yuntao Liu and Yongqiang Zhao and Xintong Wang and Zhenyu Li and Jinlong Tian and Xinhai Xu},
  title = {{M2PA: A Multi-Memory Planning Agent for Open Worlds Inspired by Cognitive Theory}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure