MP5: A Multi-modal Open-ended Embodied System in Minecraft via Active Perception

Yiran Qin, Enshen Zhou, Qichang Liu, Zhenfei Yin, Lu Sheng, Ruimao Zhang, Yu Qiao, Jing Shao

Introduction

Developing generalist agents capable of operating within open-ended, complex environments like Minecraft remains a significant challenge in artificial intelligence. While Large Language Models (LLMs) have shown promise in high-level reasoning and planning, they often lack the grounded, embodied perception necessary to execute tasks that depend heavily on environmental context. This paper introduces MP5, a novel embodied system designed to bridge the gap between abstract planning and situated execution through a specialized architecture centered on active perception.

The Challenge: Process and Context Dependencies

Current autonomous agents in Minecraft typically struggle with two primary types of dependencies:

  1. Process Dependency: This refers to the logical sequence of sub-tasks required to reach a goal, such as the crafting hierarchy (e.g., obtaining wood to make a pickaxe to mine stone).
  2. Context Dependency: This involves environmental constraints that must be satisfied for a task to be valid, such as "killing a pig near water during the daytime."

Traditional agents often rely on "passive perception"—either receiving the full game state via an API or using static image captioning. These methods frequently fail to capture the specific, fine-grained details required for complex, context-sensitive commands.

The MP5 Framework

To address these challenges, the authors propose MP5, a system comprising five specialized modules that work in concert to achieve long-horizon goals.

Overview of the MP5 system architecture, illustrating the interaction between the Parser, Planner, Patroller, Performer, and Percipient modules.

The architecture includes:

  • Parser: Utilizes Retrieval-Augmented Generation (RAG) and a Knowledge Memory (built from Minecraft wikis and community data) to decompose high-level tasks into manageable sub-objectives.
  • Planner: Responsible for scheduling the sequence of actions needed to fulfill each sub-objective.
  • Performer: Translates the plans into low-level executable game commands, such as move, mine, or craft.
  • Percipient (MineLLM): A custom-tuned Multimodal LLM (MLLM) based on Vicuna-13B and MineCLIP. It is fine-tuned on a massive dataset of 500K instruction-following samples to understand the specific visual language of Minecraft.
  • Patroller: Acts as the system's "active brain," coordinating between the Planner and Performer by verifying environmental conditions.

Active Perception: The "Secret Sauce"

The core innovation of MP5 is its Active Perception scheme. Rather than attempting to describe every element in a scene (which introduces noise), the Patroller actively queries the Percipient with goal-directed questions.

The Active Perception loop where the Patroller queries the Percipient to verify environmental conditions through multi-round dialogue.

As shown in Figure 5, the Patroller doesn't just ask for a generic caption. It asks specific questions: "Is there a pig?", "Is there water nearby?", "Is it daytime?". This multi-round dialogue ensures the agent's internal model of the world is aligned with its current objective, allowing for dynamic re-planning if conditions change or if an action fails.

Experimental Results and Robustness

MP5 was evaluated in the MineDojo environment against state-of-the-art baselines like GPT-4V and LLaVA-1.5.

  • Context-Dependent Success: MP5 achieved a remarkable 91% success rate on tasks requiring the perception of multiple environmental elements (4–6 variables).
  • Long-Horizon Tasks: On "Diamond-level" tasks—the pinnacle of Minecraft complexity—MP5 reached a 22% success rate, significantly outperforming previous autonomous agents.
  • Closed-Loop Robustness: The system's resilience was tested using a "Random Drop" scenario, where items were removed from the agent's inventory mid-task. The Patroller/Planner loop successfully detected these losses and automatically re-planned to recover the necessary resources, demonstrating true embodied intelligence.

Conclusion

MP5 demonstrates that active, goal-oriented perception is superior to passive global perception for embodied agents in complex worlds. By decomposing tasks and maintaining a tight feedback loop between vision and action, MP5 sets a new benchmark for autonomous agents in Minecraft. Future work will focus on reducing dependency on proprietary LLMs and extending this framework to more diverse embodied environments.

Summary updated

BibTeX
@inproceedings{qin2023mp,
  author = {Yiran Qin and Enshen Zhou and Qichang Liu and Zhenfei Yin and Lu Sheng and Ruimao Zhang and Yu Qiao and Jing Shao},
  title = {{MP5: A Multi-modal Open-ended Embodied System in Minecraft via Active Perception}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure