atlas

Research map / Large language models / Agents, code and math

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

AAAI 2024 · Large language models › Agents, code and math · approach: Agent instruction-following benchmarks · 33 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SayCanPay, which combines LLM action generation (Say), a trained feasibility model (Can), a trained payoff model (Pay), and beam search over actions to produce plans that are both feasible and cost-effective.

Problem

LLM planners often produce infeasible plans (ignoring affordances/preconditions) or cost-inefficient long plans because they greedily pick the next action without considering long-term goal relevance.

Approach

Frames LM planning as heuristic search: the LM's action probability is multiplied by a learned precondition (Can) score and a learned payoff (Pay) heuristic, and a beam search over whole actions (Beam-Action) selects the plan, rather than greedy token-level decoding.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add Pay scoring to SayCanSayCan planning · test environmentscost-effectiveness: ≈ 0-33 % for Beam-Action and ≈ 1-150 % for Greedy-ActionHelped
Add Pay scoring to SaySay planning · test environmentscost-effectiveness: ≈ 11-97 % for Beam-ActionHelped
Use Beam-Action instead of Greedy-ActionSayCanPay · test environmentsplanning success: ≈~1-40 %Helped
Use Beam-Action instead of Greedy-ActionSayCanPay · test environmentscost-effectiveness: ≈~0-73 %Helped
Use Beam-Action instead of Greedy-ActionSayCanPay · test-generalize environmentsgeneralization success: ≈~0-89 %Helped
Use a Perfect Say model instead of Vicuna (ablation)Greedy-Action SayCanPay · Ravens Tower of Hanoiplanning success: 50 -> 92Helped
Use a Perfect Say model instead of Vicuna (ablation)Greedy-Action SayCan · Ravens Tower of Hanoiplanning success: 48 -> 88Helped
Use a Perfect Say model instead of Vicuna (ablation)Greedy-Action SayCanPay · Ravens Put Blocks in Bowlsplanning success: 54 -> 75Helped
Use a Perfect Say model instead of Vicuna (ablation)Greedy-Action SayCan · Ravens Put Blocks in Bowlsplanning success: 52 -> 70Helped
Use a Perfect Say model instead of Vicuna (ablation)Greedy-Action SayCanPay · BabyAI Pickupplanning success: 88 -> 92Helped
Use a Perfect Say model instead of Vicuna (ablation)Greedy-Action SayCan · BabyAI Pickupplanning success: 81 -> 90Helped
Use a Perfect Say model instead of Vicuna (ablation)Greedy-Action SayCanPay · VirtualHomeplanning success: 52 -> 64Helped

Surprising findings

Limitations

Experimental setup

Datasets: Ravens (Tower of Hanoi, Put Blocks in Bowls) BabyAI (Pickup) VirtualHome-Env

Benchmarks: Ravens Tower of Hanoi Ravens Put Blocks in Bowls BabyAI Pickup VirtualHome

Metrics: planning success (# plans out of 100 reaching goal) cost-effectiveness (success with expert plan length) generalization success on test-generalize split relative plan length

Baselines: Greedy-Token Greedy-Action Say Greedy-Action SayCan Beam-Action Say Beam-Action SayCan

Builds on: SayCan Planning LM (Huang et al. 2022 style LM planning) Tree-of-Thoughts approximate planning (POMDP) BERT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy