Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:2305.16653

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Computation and Language

arXiv:2305.16653 (cs)
[Submitted on 26 May 2023]

Title:AdaPlanner: Adaptive Planning from Feedback with Language Models

Authors:Haotian Sun, Yuchen Zhuang, Lingkai Kong, Bo Dai, Chao Zhang
View a PDF of the paper titled AdaPlanner: Adaptive Planning from Feedback with Language Models, by Haotian Sun and 4 other authors
View PDF
Abstract: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.
Subjects: Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
Cite as: arXiv:2305.16653 [cs.CL]
  (or arXiv:2305.16653v1 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2305.16653
arXiv-issued DOI via DataCite

Submission history

From: Haotian Sun [view email]
[v1] Fri, 26 May 2023 05:52:27 UTC (725 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled AdaPlanner: Adaptive Planning from Feedback with Language Models, by Haotian Sun and 4 other authors
  • View PDF
  • TeX Source
view license
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
  • (18 additional files not shown) You must enabled JavaScript to view entire file list.
Current browse context:
cs.CL
< prev   |   next >
new | recent | 2023-05
Change to browse by:
cs
cs.AI
cs.LG

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

1 blog link

(what is this?)
export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

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.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • Click here to contact arXiv Contact
  • Click here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status