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

TL;DR

MP5 is a novel embodied agent for Minecraft that integrates Multimodal Large Language Models (MLLMs) with a modular "active perception" scheme to solve complex, long-horizon tasks. By grounding high-level planning in goal-conditioned visual feedback, MP5 achieves a 91% success rate on complex environmental tasks and successfully mines diamonds using only ego-centric visual input.

What Problem Does This Paper Address?

Building agents that can operate autonomously in open-ended, complex environments like Minecraft is a grand challenge in AI. The authors identify two primary hurdles:

  1. Process Dependency: The logical sequence of sub-goals required to reach a final objective (e.g., you must craft a pickaxe before you can mine stone).
  2. Context Dependency: The need to adapt actions based on the immediate, often nuanced, state of the environment (e.g., "kill a pig near water during the daytime").

While recent LLM-based agents have shown promise in high-level planning, they often "cheat" by accessing perfect, structured game-state data. Real embodied agents must rely on visual perception, which is noisy and requires selective attention to relevant details. MP5 aims to bridge this gap by creating a system that "sees" and "reasons" simultaneously.

Methods

MP5 employs a modular "divide and conquer" architecture consisting of five interacting components:

  • Parser: Decomposes long-horizon tasks into a sequence of natural language sub-objectives, aided by a Knowledge Memory (Wiki, Reddit tips).
  • Percipient (MineLLM): A domain-specific MLLM fine-tuned on Minecraft data. It acts as the agent's eyes, answering questions about the current ego-centric view.
  • Planner: Schedules specific action sequences for each sub-objective, adapting the plan based on the perceived environment.
  • Performer: Translates plans into low-level game commands and interacts directly with the Minecraft simulator.
  • Patroller: The system's coordinator. It enables Active Perception by querying the Percipient to verify if environmental conditions are met or if an action has successfully finished.
Figure 2. Overview of module interaction in MP5. After receiving the task instruction, MP5 first utilizes Parser to generate a sub-objective list. Once a sub-objective is passed to the Planner, the Planner Obtaining Env. Info. for Perception-aware Planning. The performer takes frequently Perception-aware Execution to interact with the environment by interacting with the Patroller. Both Perception-aware Planning and Execution rely on the Active Perception between the Percipient and the Patroller. Once there are execution failures, the Planner will re-schedule the action sequence of the current sub-objective. Mechanisms for collaboration and inspection of multiple modules guarantee the correctness and robustness when MP5 is solving an open-ended embodied task.

The core innovation is the Active Perception scheme (Figure 3). Instead of a passive "captioning" approach, the Patroller and Percipient engage in a multi-round dialogue to confirm specific task-relevant details (e.g., "Is there a pig in sight?", "Is it daytime?"). This allows for "situation-aware planning" and robust error recovery.

Datasets

  • MineDojo: The primary simulation environment used for training and evaluation.
  • MineLLM Dataset: To overcome the "domain gap" where general MLLMs struggle with Minecraft's pixelated style, the authors collected 50,000 snapshots across 60 biomes. They used GPT-4 to generate 500,000 image-text instruction-following pairs to fine-tune their Percipient module.
  • New Benchmarks: The paper introduces two rigorous evaluation sets: 16 Context-Dependent Tasks (testing environmental awareness) and 25 Process-Dependent Tasks (testing long-term logical reasoning up to the "Diamond" level).

Key Insights and Ideas

  • Active vs. Passive Perception: Describing an entire scene is computationally expensive and often irrelevant. MP5's goal-conditioned approach focuses only on what matters for the current step, mirroring how humans selectively attend to their surroundings.
  • The Power of the Patroller: The Patroller acts as a vital feedback loop. If the agent runs out of wood mid-task, the Patroller detects the failure and triggers the Planner to re-route, making the system significantly more robust than "open-loop" planners.
  • Domain-Specific Tuning Matters: General-purpose models like LLaVA-1.5 failed completely on complex Minecraft tasks. Fine-tuning the visual-language alignment (MineLLM) was essential for the agent to recognize specific blocks and mobs in the game's unique aesthetic.
Paradigm innovation: Situation awareness

Key Results

  • Contextual Mastery: MP5 achieved a 91% success rate on complex context-dependent tasks, outperforming GPT-4V (87.5%) and vastly superior to LLaVA-1.5 (0%).
  • Long-Horizon Success: On the most difficult "Diamond level" tasks, MP5 reached a 22% success rate. While this may seem low, it represents a significant milestone for agents operating purely from visual input without privileged game data.
  • Ablation Proof: Removing the Patroller (the feedback mechanism) caused the success rate on diamond tasks to plummet to near zero, highlighting that embodied interaction is the key to solving open-world problems.

Limitations and Future Work

  • API Reliance: The system currently depends on OpenAI's GPT-4 for the Parser, Planner, and Patroller modules. This introduces latency and limits the system's "offline" usability.
  • Environment Specificity: While highly effective in Minecraft, the framework has not yet been tested in other simulators or real-world robotic environments.
  • Future Directions: The authors suggest exploring more efficient, locally-hosted LLMs and extending the active perception paradigm to more diverse embodied platforms.

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