Testing the Planning Claims of LLM-Based Agents against Formal Semantics
Organizations: Barcelona Supercomputing Center, Barcelona, Spain · University of Amsterdam, Amsterdam, The Netherlands · Safe AI Netherlands, The Netherlands · Universitat Politècnica de Catalunya, Barcelona, Spain
Abstract
LLM-based agents are increasingly credited with the competences of practical reasoning: planning, monitoring, and correcting their own actions. Their success is attributed to the prompting strategies and agent architectures built around the model, such as chain-of-thought, search-based prompting, self-refinement, reflection, critics and tool-using loops. Yet these claims are usually supported by end-to-end success rates, which show only whether a task was completed, or by LLM judges, which are not verifiers. We test LLM planning against formal semantics. Tasks are posed in natural language, but each is grounded in a hidden PDDL model that decides whether every action is applicable, whether the goal is reached, and whether a plan exists at all. Across five domains (two of them new, all released with the paper), four models, six prompting strategies and three agent architectures, the best configuration solves 78% of the solvable tasks offline but only 40% online, where agents mostly act without inspecting the state. Unsolvable tasks are recognised in under 10% of episodes, and heavier prompting strategies use 5 to 22 times as many tokens as direct prompting with no clear gain. In our experiments, planning performance varied more across models than across prompting strategies or agent architectures. Claims that agents can plan require evidence from validated action traces.
Figures & tables
| Attributed competence | Checked property | Measure |
|---|---|---|
| Means–ends reasoning (CoT, Plan-and-Solve, ReAct) | The plan reaches the goal | Success (solvable) |
| Tracking state and constraints (Step-Back, ReAct) | Every committed action is applicable | Executability |
| Search and lookahead (Tree of Thoughts) | Higher success, no wasted actions | Success; score |
| Self-monitoring and repair (Self-Refine, Reflexion, Critic) | Fewer failures than the within-model baseline | Paired vs. baseline |
| Sensing before acting (ReAct, Critic) | The state is queried before each commitment | Inspection rate; failure mode |
| Recognising infeasibility (all) | if and only if no plan exists | Detection; false abstention |
| Domain | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| Blocksworld | 4 | 6 | 6 | 10 | – | 8 | – | 10 | 10 | 14 |
| Gripper | – | 5 | 9 | 11 | 15 | 17 | 21 | 23 | – | 29 |
| Logistics | 9 | 15 | 21 | – | – | 39 | 45 | 51 | 57 | 63 |
| LoadBalancing | 4 | 3 | – | 7 | 4 | 5 | 3 | – | 8 | 5 |
| Hospital | 2 | 2 | – | 6 | 11 | – | 9 | 8 | 5 | 10 |
| Model | API identifier | Input | Output |
|---|---|---|---|
| GPT-4o-mini | gpt-4o-mini-2024-07-18 | 0.15 | 0.60 |
| GPT-4o | gpt-4o-2024-08-06 | 2.50 | 10.00 |
| Gemini 2.0 Flash-Lite | gemini-2.0-flash-lite | 0.075 | 0.30 |
| Gemini 2.0 Flash | gemini-2.0-flash | 0.10 | 0.40 |
| GPT-4o-mini | GPT-4o | Gemini 2.0 Flash-Lite | Gemini 2.0 Flash | ||||||||||
| Method | Tok. | Succ. | Exec. | Det. | Succ. | Exec. | Det. | Succ. | Exec. | Det. | Succ. | Exec. | Det. |
| Offline (prompting strategies) | |||||||||||||
| Direct | 1.5 | 12.5 | 12.5 | 1 | 57.5 | 62.5 | 1 | 25.0 | 45.0 | 0 | 45.0 | 47.5 | 0 |
| Zero-shot CoT | 4.3 | 27.5 ∗ | 32.5 | 1 | 77.5 ∗ | 80.0 | 3 | 22.5 | 27.5 | 0 | 62.5 | 65.0 | 2 |
| Plan-and-Solve | 2.9 | 17.5 | 22.5 | 0 | 75.0 | 77.5 | 1 | 22.5 | 25.0 | 0 | 65.0 ∗ | 65.0 | 0 |
| Step-Back | 3.0 | 20.0 | 25.0 | 1 | 57.5 | 57.5 | 1 | 20.0 | 30.0 | 0 | 57.5 | 60.0 | 3 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
LLM Planning
Large language model planning studies how models decompose goals, choose actions, and revise plans under constraints.
See all 142 papers