Reproduce “Plan-and-Act: Improving Planning of Agents for Long-Horizon Tasks” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Lutfi Eren Erdogan, Nicholas Lee, Sehoon Kim, Suhong Moon, Hiroki Furuta, Gopala Anumanchipalli, Kurt Keutzer, Amir Gholami

PLAN-AND-ACT proposes a dual-agent framework for training large language models (LLMs) to tackle complex, long-horizon tasks, particularly in web navigation. The approach utilizes a novel synthetic data generation pipeline to create high-quality planning data, combined with dynamic replanning and Chain-of-Thought reasoning, achieving state-of-the-art performance on WebArena and WebVoyager benchmarks using fine-tuned open-source LLMs.

Key insights

  • Separating high-level planning from low-level execution significantly reduces the cognitive load on large language models (LLMs) and improves performance on complex tasks.
  • High-quality, grounded planning data is crucial for training effective LLM planners, and this data can be efficiently generated synthetically by reverse-engineering plans from successful action trajectories and then expanding them.
  • Dynamic replanning, where the planner adapts its strategy based on real-time observations and execution feedback, is essential for robust performance in dynamic and unpredictable environments.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.