Improving Planning with Large Language Models: A Modular Agentic Architecture

Taylor Webb, Shanka Subhra Mondal, Ida Momennejad
9/30/2023
7 citations
cs.AIcs.NE
rl

Official code: MAPLLM/MAPICLR2025sub (6 stars, Python, MIT, last commit 2024-10-20). Most starred: Shanka123/MAP, a community implementation (35 stars, Python, MIT, last commit 2025-09-20, 5.8× the official stars). 1 more implementation below.

Abstract

Large language models (LLMs) demonstrate impressive performance on a wide variety of tasks, but they often struggle with tasks that require multi-step reasoning or goal-directed planning. Both cognitive neuroscience and reinforcement learning (RL) have proposed a number of interacting functional components that together implement search and evaluation in multi-step decision making.

Show full abstract

These components include conflict monitoring, state prediction, state evaluation, task decomposition, and orchestration. To improve planning with LLMs, we propose an agentic architecture, the Modular Agentic Planner (MAP), in which planning is accomplished via the recurrent interaction of the specialized modules mentioned above, each implemented using an LLM. MAP improves planning through the interaction of specialized modules that break down a larger problem into multiple brief automated calls to the LLM. We evaluate MAP on three challenging planning tasks -- graph traversal, Tower of Hanoi, and the PlanBench benchmark -- as well as an NLP task requiring multi-step reasoning (strategyQA). We find that MAP yields significant improvements over both standard LLM methods (zero-shot prompting, in-context learning) and competitive baselines (chain-of-thought, multi-agent debate, and tree-of-thought), can be effectively combined with smaller and more cost-efficient LLMs (Llama3-70B), and displays superior transfer across tasks. These results suggest the benefit of a modular and multi-agent approach to planning with LLMs.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
MAPLLM/MAPICLR2025subOfficial6PythonMIT2024-10-20
Shanka123/MAPCommunity35PythonMIT2025-09-20
MIT
62PythonJan 28, 20242 years agoMIT
Shanka123/MAPCommunity100%
MIT
356PythonMar 6, 20241 years agoMIT

Similar Papers

Cite this paper

@article{webb2023improving,
  title  = {Improving Planning with Large Language Models: A Modular Agentic Architecture},
  author = {Taylor Webb and Shanka Subhra Mondal and Ida Momennejad},
  year   = {2023},
  eprint = {2310.00194},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.00194v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.00194.svg)](https://codeofpaper.com/paper/2310.00194)

Discussion