Computer Science > Computation and Language
[Submitted on 26 May 2023]
Title:AdaPlanner: Adaptive Planning from Feedback with Language Models
View PDFAbstract:Large language models (LLMs) have recently demonstrated the potential in acting as autonomous agents for sequential decision-making tasks. However, most existing methods either take actions greedily without planning or rely on static plans that are not adaptable to environmental feedback. Consequently, the sequential decision-making performance of LLM agents degenerates with problem complexity and plan horizons increase. We propose a closed-loop approach, AdaPlanner, which allows the LLM agent to refine its self-generated plan adaptively in response to environmental feedback. In AdaPlanner, the LLM agent adaptively refines its plan from feedback with both in-plan and out-of-plan refinement strategies. To mitigate hallucination, we develop a code-style LLM prompt structure that facilitates plan generation across a variety of tasks, environments, and agent capabilities. Furthermore, we propose a skill discovery mechanism that leverages successful plans as few-shot exemplars, enabling the agent to plan and refine with fewer task demonstrations. Our experiments in the ALFWorld and MiniWoB++ environments demonstrate that AdaPlanner outperforms state-of-the-art baselines by 3.73% and 4.11% while utilizing 2x and 600x fewer samples, respectively.
Ancillary-file links:
Ancillary files (details):
- prompt_alfworld_basic_info.tex
- prompt_alfworld_code_check.tex
- prompt_alfworld_demo_clean.tex
- prompt_alfworld_demo_cool.tex
- prompt_alfworld_demo_examine.tex
- prompt_alfworld_demo_heat.tex
- prompt_alfworld_demo_pick.tex
- prompt_alfworld_demo_picktwo.tex
- prompt_alfworld_initial_planning.tex
- prompt_alfworld_refinement.tex
- prompt_alfworld_start_from.tex
- prompt_miniwob_basic_info.tex
- prompt_miniwob_demo_email-inbox-forward-nl-turk.tex
- prompt_miniwob_demo_email-inbox-forward-nl.tex
- prompt_miniwob_demo_email-inbox-nl-turk.tex
- prompt_miniwob_demo_email-inbox.tex
- prompt_miniwob_demo_guess-number.tex
- prompt_miniwob_demo_login-user-popup.tex
- prompt_miniwob_demo_search-engine.tex
- prompt_miniwob_demo_terminal.tex
- prompt_miniwob_demo_tic-tac-toe.tex
- prompt_miniwob_initial_planning.tex
- prompt_miniwob_refinement.tex
Current browse context:
cs.CL
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.