SayCanPay: Heuristic Planning with Large Language Models Using Learnable Domain Knowledge
DOI:
https://doi.org/10.1609/aaai.v38i18.29991Keywords:
PRS: Planning with Language ModelsAbstract
Large Language Models (LLMs) have demonstrated impressive planning abilities due to their vast "world knowledge". Yet, obtaining plans that are both feasible (grounded in affordances) and cost-effective (in plan length), remains a challenge, despite recent progress. This contrasts with heuristic planning methods that employ domain knowledge (formalized in action models such as PDDL) and heuristic search to generate feasible, optimal plans. Inspired by this, we propose to combine the power of LLMs and heuristic planning by leveraging the world knowledge of LLMs and the principles of heuristic search. Our approach, SayCanPay, employs LLMs to generate actions (Say) guided by learnable domain knowledge, that evaluates actions' feasibility (Can) and long-term reward/payoff (Pay), and heuristic search to select the best sequence of actions. Our contributions are (1) a novel framing of the LLM planning problem in the context of heuristic planning, (2) integrating grounding and cost-effective elements into the generated plans, and (3) using heuristic search over actions. Our extensive evaluations show that our model surpasses other LLM planning approaches.Downloads
Published
2024-03-24
How to Cite
Hazra, R., Zuidberg Dos Martires, P., & De Raedt, L. (2024). SayCanPay: Heuristic Planning with Large Language Models Using Learnable Domain Knowledge. Proceedings of the AAAI Conference on Artificial Intelligence, 38(18), 20123-20133. https://doi.org/10.1609/aaai.v38i18.29991
Issue
Section
AAAI Technical Track on Planning, Routing, and Scheduling