MPO: Boosting LLM Agents with Meta Plan Optimization

Weimin Xiong, Yifan Song, Qingxiu Dong, Bingchan Zhao, Feifan Song, XWang, Sujian Li

TL;DR

This paper introduces MPO, a novel framework that enhances LLM agents' planning capabilities by optimizing abstract "meta plans" through environmental feedback. MPO significantly improves task completion efficiency and generalization, outperforming existing methods without requiring extensive retraining of the agent itself.

What Problem Does This Paper Address?

Large Language Models (LLMs) are increasingly being used to create agents capable of complex, multi-step tasks like embodied housework and scientific experiments. These tasks demand sophisticated planning abilities, including understanding long-term dependencies and adapting to dynamic environments. Current LLM agents primarily rely on implicit planning methods, which can lead to "planning hallucinations" and require costly retraining for each new agent or task. While explicit guidance from human knowledge can help, it often demands significant manual effort and lacks quality assurance. This paper addresses the challenge of providing effective, generalizable, and efficient planning guidance for LLM agents without the drawbacks of existing approaches.

Methods

The core of MPO is a Meta Plan Optimization (MPO) framework. It consists of two main components:

  • Meta Planner: This component generates high-level, abstract "meta plans." These meta plans are decoupled from specific environmental details and agent trajectories, making them easier to acquire and more generalizable.
  • Agent: The agent executes tasks based on the meta plan and provides feedback on its performance.

The MPO framework iteratively refines the meta plans through the following steps:

  1. Supervised Fine-Tuning (SFT) Initialization: A basic meta planner is initialized by fine-tuning on a dataset of seed meta plans. These seed meta plans are generated by GPT-40, prompted with task instructions and expert trajectories, and then manually reviewed for quality.
  2. Meta Plan Quality Evaluation: To assess the quality of a meta plan, the agent attempts the task multiple times using that meta plan. The success rate of these attempts serves as an indicator of the meta plan's quality.
  3. Meta Planner DPO Training: Direct Preference Optimization (DPO) is used to further train the meta planner. This involves creating preference pairs of high- and low-quality meta plans (identified through the quality evaluation) and using them to optimize the meta planner to generate better plans.

This process allows the meta planner to learn from environmental feedback and improve its ability to generate effective meta plans, which can then be used by various LLM agents without requiring them to be retrained.

Datasets

The authors evaluated their approach on three representative benchmarks:

  • ScienceWorld: A text-based virtual environment for AI research, focusing on scientific reasoning abilities and complex environments.
  • ALFWorld: A dataset of household tasks requiring agents to explore rooms and use commonsense reasoning.
  • WebShop: A simulated e-commerce website environment for web navigation and shopping tasks.

The paper also mentions using "unseen task variations" for ScienceWorld and ALFWorld to test generalization capabilities.

Key Insights and Ideas

  • Abstract Guidance is Powerful: The success of MPO highlights that high-level, abstract "meta plans" can be more effective and generalizable than detailed, task-specific plans or implicit planning alone.
  • Feedback Loop is Crucial: Iteratively optimizing meta plans based on agent execution feedback is key to improving their quality and ensuring they align with real-world task performance.
  • Decoupling Meta Plans: Separating meta plans from specific environmental details makes them more portable and reusable across different agents and tasks, reducing the need for agent retraining.
  • Lightweight Meta Planner: The meta planner itself is designed to be lightweight, allowing it to enhance more powerful agents without requiring them to be retrained, offering a significant efficiency gain.

Key Results

  • MPO consistently improves agent performance across all tested tasks and frameworks, with average performance increases of up to 40.5% for the Llama-3.1-8B-Instruct agent.
  • The MPO-enhanced Llama-3.1-8B-Instruct-ETO achieved 3.5 higher average reward than the state-of-the-art explicit guidance method, WKM.
  • MPO demonstrated strong effectiveness in unseen scenarios, improving the success rate of GPT-4o on the unseen part of ALFWorld by 9.7%, achieving a success rate of 93.3%.
  • Ablation studies showed that meta plans optimized by MPO yielded greater improvements compared to other training methods, including directly prompting GPT-4o.
  • Inserting meta plans into the task instruction consistently yielded the best performance, while insertion into the thought process led to the worst.

Limitations and Future Work

  • Base Model Dependency: The current approach uses Llama-3.1-8B-Instruct as the base model for the meta planner. Future work could explore using other base models or models with varying parameter sizes, including smaller, more lightweight models (e.g., 1B parameters).
  • Task-Specific Meta Planners: The current method constructs a separate meta planner for each individual task. Future research could investigate building a unified meta planner that incorporates data from multiple tasks to learn from diverse knowledge sources.
  • Sampling Methods: The DPO training uses simple sampling and Monte Carlo methods for constructing contrastive meta plan pairs. Exploring more advanced methods like Monte Carlo Tree Search (MCTS) could improve sampling efficiency.

Summary updated

BibTeX
@inproceedings{xiong2025mpo,
  author = {Weimin Xiong and Yifan Song and Qingxiu Dong and Bingchan Zhao and Feifan Song and XWang and Sujian Li},
  title = {{MPO: Boosting LLM Agents with Meta Plan Optimization}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure