Zero-Shot Goal Recognition with Large Language Models

Kin Max Piamolini Gusmão, Nathan Gavenski, Nir Oren, Felipe MeneguzziarXiv 2026 · arXiv

TL;DR

This paper presents the first systematic zero-shot evaluation of Large Language Models (LLMs) on classical goal recognition tasks, revealing that while LLMs possess strong world-knowledge priors, their ability to integrate incremental evidence varies drastically. While some models like GPT-OSS scale effectively with more observations to match classical symbolic baselines, others like GPT-4o remain stubbornly anchored to their initial priors regardless of how much data accumulates. This positions goal recognition as a powerful new benchmark for probing the true reasoning capabilities of LLMs beyond simple pattern matching.

What Problem Does This Paper Address?

While LLMs have shown impressive performance on classical planning tasks, recent studies reveal a brittle foundation: their success largely stems from exploiting familiar domain names (world knowledge) rather than executing genuine symbolic reasoning. When names are obfuscated, their planning performance collapses.

To better evaluate LLMs' foundational planning knowledge, the authors pivot from planning (a generative task requiring long-horizon causal reasoning) to goal recognition (a discriminative, abductive task). Goal recognition asks the model to infer an agent's intended goal from a partial sequence of observed actions. This task naturally aligns with LLMs' strengths—evaluating consistency with encoded world knowledge—making it an ideal testbed to see if LLMs can actually integrate new evidence incrementally or if they just rely on static priors.

Methods

The authors evaluate frontier LLMs using a strict zero-shot, structured prompting strategy with no fine-tuning or few-shot examples. The prompt provides the model with:

  1. The PDDL (Planning Domain Definition Language) domain and action schemas.
  2. A problem template (objects and initial state).
  3. A set of candidate goal hypotheses.
  4. An ordered sequence of observed actions.

The model is tasked with assigning a normalized likelihood score to each hypothesis, identifying the most likely goal(s), and providing a post-hoc text explanation.

The study evaluates four models: commercial giants GPT-4o and GPT-5.4, alongside open-weight models GPT-OSS-20B and Qwen 3.5-9B. They compare these LLMs against a state-of-the-art symbolic baseline: a landmark-based goal recognition algorithm, which computes essential actions that must be executed to achieve a specific goal.

Datasets

The evaluation draws from a standard goal and plan recognition benchmark, selecting four PDDL domains with contrasting characteristics:

  • Blocks World: A classic combinatorial domain with highly familiar vocabulary, serving as the primary test for evidence integration.
  • Campus: A simple control domain with short plans and a small goal space to check minimum competence.
  • Driverlog: A moderately difficult logistics domain with real-world vocabulary (trucks, drivers, packages).
  • Dock-Worker Robots (DWR): A highly complex domain featuring long plans, large goal spaces, and many interdependent objects.

Problems are evaluated across five observability degrees, ranging from seeing just 10% to 100% of the full plan sequence.

Key Insights and Ideas

  • The "World-Knowledge Floor" vs. "Evidence Ceiling": At low observability (10%), LLMs perform competitively with symbolic planners because their pre-trained world knowledge provides solid prior beliefs. However, true reasoning requires updating these beliefs as more evidence arrives.
  • Uneven Evidence Integration: The bottleneck for LLMs isn't knowing the domain, but integrating a growing sequence of observations. Models split into three distinct behavioral profiles: those that scale with evidence (GPT-OSS), those that partially scale (GPT-5.4), and those that stay completely flat (GPT-4o).
  • The GPT-4o Paradox: GPT-4o exhibits a flat performance curve. It matches the baseline at 10% observability but fails to improve even when given 100% of the plan. Its reasoning traces reveal "confabulation" and overconfidence, where it invents plausible-sounding justifications that contradict its own scoring or the actual observations.
  • Position and Lost-in-the-Middle Biases: All tested LLMs struggle with position bias, showing degraded attention for goal hypotheses placed in the middle of the candidate list, with GPT-4o heavily favoring the first position.

Key Results

  • GPT-OSS was the standout performer among the LLMs, leading at every observation percentage. Across all domains, its accuracy scaled from 67.3% at 10% observability to 96.9% at 100% observability, nearly matching the landmark-based baseline (98.77%).
  • GPT-5.4 showed partial scaling, climbing from 47.32% to 78.53% accuracy.
  • GPT-4o remained completely flat, hovering around 44% accuracy regardless of whether it saw 10% or 100% of the actions.
  • Qwen 3.5-9B failed almost entirely on complex domains, largely due to output-formatting failures, achieving only 24.54% accuracy at full observability.
Average accuracy, precision, and spread across different observability percentages for all domains.

Limitations and Future Work

  • Noisy Observations: The current study assumes all observed actions are perfectly accurate. Real-world goal recognition often deals with noisy or incorrect observations, where LLMs' approximate reasoning might actually offer an advantage over rigid symbolic planners.
  • Prompting Order Constraints: The prompt forced models to output likelihood scores before the free-text explanation. Reversing this order to implement Chain-of-Thought (CoT) reasoning first might significantly improve evidence integration for models like GPT-4o.
  • Name Obfuscation (Mystery Domains): Future work is needed to test if open-weight success (like GPT-OSS) survives when domain and object names are completely obfuscated, isolating pure symbolic reasoning from world-knowledge retrieval.

Summary updated

Abstract

Large language models have recently reached near-parity with classical planners on well-known planning domains, yet this competence relies on world-knowledge exploitation rather than genuine symbolic reasoning. Goal recognition is a complementary abductive task structurally better suited to LLM strengths: it consists of evaluating consistency with world knowledge rather than generating novel action sequences. This paper provides the first systematic zero-shot evaluation of frontier LLMs as goal recognisers on key classical PDDL benchmarks. Our results show that LLM competence on goal recognition is uneven: some models scale with evidence and approach landmark-based accuracy at full observations, while others remain anchored to world-knowledge priors regardless of how much evidence accumulates. Qualitative analysis of model reasoning traces reveals that this divergence reflects a fundamental difference in evidence integration rather than domain familiarity. These findings position goal recognition as a principled benchmark for the foundational planning knowledge of LLMs.
BibTeX
@misc{gusmao2026zero,
  author = {Kin Max Piamolini Gusmão and Nathan Gavenski and Nir Oren and Felipe Meneguzzi},
  title = {{Zero-Shot Goal Recognition with Large Language Models}},
  year = {2026},
  eprint = {2605.15333},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.15333},
}
Figure