Shanghai AI Lab's APB Exposes GPT-5's Hidden Planning Gaps in Agents
APB stress-tests 12 frontier models on planning-only tasks, exposing critical weaknesses in long-horizon reasoning, tool noise, and knowing when to refuse
Takeaways
- New benchmark: APB introduces 4,209 multimodal planning tasks across 22 domains to diagnose LLM agent planning failures separately from execution failures.
- Five stress tests: Holistic planning, step-wise planning, extraneous tools, broken tools, and unsolvable tasks each expose distinct planning weaknesses.
- Frontier model results: GPT-5 leads holistic planning at 74.5% correctness; best open-source model (Qwen3-VL-32B) scores only 22.5%.
- Tool noise is critical: Adding irrelevant distractor tools drops GPT-5 holistic accuracy by 22% and Claude Sonnet 4.5 by 12.3%; step-wise planning is far more resilient.
- Refinement works selectively: Critic-guided refinement with error taxonomy boosts holistic planning dramatically (22% to 60% on InternVL3.5-241B) but hurts step-wise planning.
- Execution validated: APB-guided plan refinement improves downstream task reward on ToolSandbox and τ²-bench by up to 7 points across three tested models.
When an LLM agent fails a task, was it a bad plan or a bad execution? Today's benchmarks can't tell you. They measure whether the agent crossed the finish line, not whether it mapped the right route. A new paper from researchers at Shanghai AI Laboratory, Tongji University, and collaborating institutions introduces the Agent Planning Benchmark (APB), a diagnostic framework designed to isolate planning quality from execution noise, and the results reveal uncomfortable gaps in even the most capable frontier models.
The blind spot in agent evaluation
Planning is central to LLM agents: before acting, an agent must decompose goals, select tools, reason over constraints, and decide when a task is infeasible. Yet existing agent evaluations often report only end-to-end success, making it difficult to determine whether failures stem from planning or execution. This is a real problem in production: a model can make every individual tool call look reasonable while still assembling a globally incoherent plan, or it can produce a plausible-looking plan that quietly violates a constraint buried in the system prompt.
The distinction matters because the fix is different. Bad planning calls for better reasoning at the strategy layer. Bad execution calls for better tool integration or environment handling. Without separating the two, you're debugging in the dark.
What APB actually tests
APB is a planning-specific diagnostic benchmark with 4,209 multimodal cases across 22 domains and five settings, covering holistic planning, feedback-conditioned step-wise planning, and robustness under extraneous tools, broken tools, and unsolvable tasks. The five task types are designed to stress different planning sub-skills:
- Holistic Planning (1,109 instances): Given a query and a tool set, produce a complete plan and ordered tool chain in a single pass , no feedback, no retries. This tests whether a model can maintain global consistency across a long trajectory before seeing any execution results.
- Step-wise Planning (900 instances): Given a partially executed trajectory and prior tool outputs, predict the next 1, 2, or 3 actions. This tests feedback-conditioned local reasoning.
- Tool-Extraneous Planning (1,500 instances): The tool set is polluted with semantically similar but functionally useless distractor tools (2 to 10 extras). Can the model ignore them?
- Tool-Broken Planning (300 instances): A critical tool returns an error. A replacement tool with a different name is available. Does the model switch, retry, or give up?
- Unsolvable Planning (400 instances): Tasks are made logically impossible via contradictory constraints, missing information, removed tools, or absent visual context. The correct answer is to refuse.

How the benchmark was built
The team aggregated data from OpenCUA, GTA, GAIA, ToolBench, FrameThinker, and real traffic from a public online AI agent platform. Each instance contains a system prompt, user query, tool set, and execution trajectory. They expanded limited seed tasks by enriching queries, expanding tools, and simulating longer trajectories with Claude Sonnet 4.5. After augmentation, tasks average 12.3 reasoning steps and 9.4 tools per query , a significant jump in complexity from the original seeds.
Rule-based checks, two-stage LLM validation, and human verification ensure quality; holistic ground truth is then synthesized from validated trajectories. Evaluation uses an LLM-as-Judge pipeline with Gemini 3 Pro as the primary evaluator, which achieved 92.22% agreement with human annotations on a 720-sample validation set.
Plans are scored on three dimensions: Plan Correctness (binary pass/fail), Plan Grade (a 0–1 scale measuring how far a failed plan deviated from optimal), and a six-category Error Taxonomy (E1–E6) covering goal misunderstanding, premature conclusions, constraint violations, logic errors, tool misuse, and hallucination.
What the results reveal
Across 12 MLLMs, APB reveals systematic weaknesses in long-horizon planning, tool-noise robustness, calibrated refusal, and inference-time refinement. The headline numbers tell a clear story: GPT-5 leads holistic planning at 74.5% correctness, followed by Gemini 3 Pro at 71.3% and Claude Sonnet 4.5 at 64.1%. Open-source models lag significantly, with the best open-source result (Qwen3-VL-32B at 22.5%) less than a third of GPT-5's score.

Several specific findings stand out:
- Holistic vs. step-wise gap: All models drop substantially when moving from feedback-conditioned step-wise planning to holistic planning. A model can make locally correct tool calls while still failing to assemble a globally complete plan , these are genuinely different skills.
- Extraneous tools are a serious problem for holistic planning: Extraneous tools cause broad performance degradation: top-tier models such as GPT-5 and Claude Sonnet 4.5 exhibit substantial holistic accuracy declines of 22.0% and 12.3%, in contrast to the much smaller 0.9%–6.7% drops in step-wise mode. The intuition: holistic planning requires one-shot trajectory generation, so each additional irrelevant tool multiplies the chance of a selection error that cascades downstream.
- Logic errors dominate: E4 (Logic Error) is the single most common failure mode across all models and settings. Holistic planning also suffers heavily from E2 (task incompleteness) and E3 (constraint violations).
- Models struggle to refuse: On unsolvable tasks, models handle explicit contradictions reasonably well but consistently fail on implicit missing information , defaulting to hallucination rather than refusal. Open-source models are especially weak on Tool Removal scenarios, attempting tasks even when the required tools are absent.
- Multi-step prediction degrades sharply: In step-wise planning, extending the prediction horizon from 1-step to 3-step causes a monotonic correctness decline across all models. Planning ahead even two steps without intermediate feedback is genuinely hard.

The refinement finding that matters
The paper tests whether inference-time refinement , having the model critique and revise its own plan , helps. The answer is nuanced and practically important. For holistic planning, critic-guided refinement with the E1–E6 error taxonomy delivers dramatic gains: InternVL3.5-241B-A28B jumps from 22% to 60% correctness under taxonomy-guided critic refinement. For step-wise planning, however, adding reflection often hurts, inducing over-correction and hallucinated alternatives. The model second-guesses locally correct decisions that didn't need revision.
This asymmetry makes sense: holistic plans are generated without feedback and benefit from explicit error diagnosis. Step-wise decisions already incorporate execution history, and extra reflection introduces noise rather than signal.
Does better planning actually improve execution?
The team validated APB's practical signal on two execution benchmarks: ToolSandbox (200 tasks, measured by trajectory similarity) and τ²-bench (200 tasks, measured by task reward). They compared three modes: direct execution, plan-first execution, and APB-guided refinement before execution.
APB-guided refinement consistently improves plan correctness, plan grade, and downstream execution metrics across three representative models. Concretely, refinement improved ToolSandbox trajectory similarity by 3.9–7.0 points and τ²-bench reward by 0.09–0.14 across GPT-4o, Qwen3-VL-235B, and Gemini 2.5 Flash. Since Plan-first and Refine use the same initial draft plan and differ only in whether APB-guided critique is applied, the gains are directly attributable to the diagnostic signal.
A new dimension: planning efficiency
Beyond correctness, the paper introduces an efficiency-aware planning setting where multiple valid solution paths exist but differ in cost. Tools are annotated with execution costs, and efficient composite tools (combining 2–3 steps at reduced total cost) are mixed with trap tools (overpriced or redundant). Top-tier models show emerging economic rationality: Gemini 3 Pro achieves the highest correctness rate (>91%) while also achieving the lowest average cost. Claude Sonnet 4.5 performs worse on both dimensions in this setting. This is an early signal that planning quality and cost-awareness are beginning to correlate in the most capable models.
Limitations and what's missing
APB is a planning-only diagnostic. It deliberately decouples planning from execution, which means it cannot replace end-to-end benchmarks , it complements them. The 22 domains, while broad, may under-represent highly specialized verticals like biomedicine or enterprise software. Parts of the pipeline rely on proprietary models for judging and data synthesis, which limits full reproducibility. The authors also note that benchmark-specific optimization is a risk: a model could overfit APB's error taxonomy without improving real-world planning.
No code or dataset release is mentioned in the paper, though the full evaluation framework, prompts, and data construction pipeline are documented in detail in the appendices , enough for a motivated team to replicate the setup.
Why this matters for practitioners
If you're building or evaluating LLM agents, APB gives you a vocabulary and a methodology for diagnosing planning failures that end-to-end metrics obscure. The practical takeaways are direct:
- If your agent fails on long-horizon tasks, check for E4 logic errors and E2 task incompleteness , these are the dominant failure modes.
- If you're deploying in a noisy tool environment (e.g., MCP servers with many registered tools), expect holistic planning accuracy to drop significantly , step-wise planning is more robust to this.
- If you're using inference-time refinement, apply it to holistic pre-planning, not to step-wise decisions mid-trajectory.
- If your agent needs to refuse infeasible tasks, test explicitly on missing-information scenarios , models are much worse at this than at detecting explicit contradictions.
The gap between proprietary and open-source models on holistic planning is stark enough that it should factor into architecture decisions for any production agentic system. And the finding that planning quality predicts downstream execution quality , not just on APB but on independent benchmarks , gives the diagnostic real practical weight.