Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

SayCanPay: Heuristic Planning with Large Language Models using Learnable Domain Knowledge

About

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.

Rishi Hazra, Pedro Zuidberg Dos Martires, Luc De Raedt• 2023

Related benchmarks

TaskDatasetResultRank
Instruction ExecutionVirtualHome (unseen domains)
Success Rate58.88
15
Embodied Task PlanningVirtualHome (Seen)
Simple Success64.14
10
Embodied Task PlanningRLBench Seen domains
Success Rate68.08
6
Embodied Task PlanningVirtualHome (unseen domains)
Success Rate49.53
6
Embodied Task PlanningALFWorld (unseen domains)
Success Rate (SR)42.04
6
Embodied Task PlanningRLBench Unseen domains
Success Rate38.54
6
Embodied Task PlanningALFWorld (seen domains)
Success Rate (SR)51.48
6
Few-shot task expansionVirtualHome unseen domains 1-shot
SR54.98
5
Few-shot task expansionVirtualHome unseen domains 5-shot
Success Rate58.88
5
Few-shot task expansionVirtualHome average performance (unseen domains)
SR56.93
5
Showing 10 of 15 rows

Other info

Follow for update