Imagine watching someone navigate a terminal interface or drive through a complex intersection. If you want to guess their destination, a natural starting assumption is that they will take the most efficient path. Early goal recognition systems, such as the framework introduced by Neal Lesh and Oren Etzioni in A Sound and Fast Goal Recognizer, relied heavily on this type of logical consistency. They pruned away candidate goals as soon as an observed agent took an action that did not optimally support them.
However, this strict optimality assumption makes intent recognition systems incredibly brittle. If a user makes a typo, takes an exploratory action, or gets temporarily confused, a model that assumes perfect rationality will immediately rule out the true goal. As Chris Baker et al. point out in Bayesian models of human action understanding, real-world actors frequently deviate from perfectly efficient paths due to noise, errors, or limited information. To build systems that understand real-world behavior, we must preserve the core intuition that agents are goal-directed while accepting that their execution is often suboptimal.
From Binary Optimality to Cost-Based Probabilities
How do we mathematically relax the assumption of perfect rationality without making every conceivable goal equally plausible? The breakthrough came from shifting the question from "Is this action perfectly optimal?" to "How much extra cost did this action incur?"
In Plan Recognition as Planning and Probabilistic Plan Recognition Using Off-the-Shelf Classical Planners, Miquel Ramírez and Hector Geffner transformed goal recognition into a cost-comparison problem using automated planners. Instead of checking whether observed actions $O$ perfectly match an ideal plan for a goal $G$, they compared two distinct costs:
- $c(G|O)$: The cost of the most efficient plan to reach $G$ that includes the observed actions $O$.
- $c(G)$: The cost of the absolute most efficient plan to reach $G$ without any constraints.
The difference between these two values, $\Delta = c(G|O) - c(G)$, represents the "penalty" or extra cost the agent paid by taking the observed path.
Perfect Optimality: [Start] -----------------------------> [Goal G] (Cost = 10)
Observed Detour: [Start] ------> [Observation O] ------> [Goal G] (Cost = 12)
(Delta = 2)
If $\Delta$ is zero, the observed actions are perfectly optimal for $G$. If $\Delta$ is small, the detour is minor, meaning $G$ remains highly probable. If $\Delta$ is massive, it becomes highly unlikely that a goal-directed agent would make such an egregious mistake to reach $G$. This cost-based formulation allows recognition systems to gracefully handle noise and detours instead of returning an empty set of candidate goals when an actor stumbles.
Modeling Flawed Mental States and Budgets
Suboptimality does not just stem from random physical noise; it often arises from cognitive and informational constraints. Agents might operate with incomplete or mistaken beliefs about their environment.
Long before modern planning approaches, Kurt Konolige and Martha E. Pollack argued in Ascribing Plans to Agents that observers must be capable of ascribing flawed reasoning and incorrect mental states to the agents they watch. Decades later, Ramon Fraga Pereira and Felipe Meneguzzi operationalized this in Goal Recognition in Incomplete Domain Models, demonstrating that an agent's apparent suboptimality often stems from them executing a plan based on an incomplete or flawed internal "map" of the domain.
To handle this systematically without needing to guess an agent's exact mental flaws, researchers introduced explicit bounds on suboptimality. In Goal Recognition Design for Non-Optimal Agents, Sarah Keren et al. modeled agents as having a finite "budget" for suboptimal actions. Under this framework, an agent can deviate from the shortest path, but only up to a fixed cost threshold. This explicitly bounds the search space, preventing the recognition system from breaking down when faced with inexperienced, confused, or even mildly deceptive actors.
Designing Environments for Imperfect Actors
The realization that agents possess bounded rationality fundamentally altered Goal Recognition Design (GRD)—the practice of modifying an environment (such as an airport taxiway layout or a software interface) to force agents to reveal their intentions as early as possible.
Early GRD models assumed that if you blocked an optimal path to a goal, a perfectly rational agent would immediately switch to the next best optimal path, making their intent obvious. But what if the agent is a pilot taxiing in poor visibility, prone to taking loopy or indirect routes? As Christabel Wayllace et al. showed in the development of the DRAGON-V system for air traffic control, human navigation inherently involves bounded rationality.
If an environment is designed under the assumption of perfect rationality, it becomes brittle. In Stochastic Goal Recognition Design Problems with Suboptimal Agents, Christabel Wayllace et al. demonstrated that accounting for an agent's propensity to make mistakes leads to far more robust environment designs. Conversely, systems optimized exclusively for perfect agents fail to resolve goal ambiguity when real-world actors inevitably deviate from the ideal path.
This challenge is compounded when environments feature stochastic outcomes or hidden states, as explored by Christabel Wayllace in Stochastic Goal Recognition Design, and when actions are partially unobservable, as analyzed by Sarah Keren et al. in Goal Recognition Design with Non-Observable Actions. Even when using highly efficient declarative frameworks like Answer Set Programming—proposed by Tran Cao Son et al. in Solving Goal Recognition Design Using ASP—the underlying models must explicitly account for bounded rationality to remain applicable in real-world settings.
Modern Computational Frameworks for Suboptimality
Accounting for suboptimality exponentially expands the search space: instead of tracking a single optimal path, a system must consider a vast web of potential detours, skipped steps, and errors. To make these robust models practical, recent research focuses on alternative computational paradigms.
One approach is to leverage Linear Programming (LP) to bypass expensive state-space searches. Luísa R. A. Santos et al. introduced An LP-Based Approach for Goal Recognition as Planning, which utilizes an operator-counting framework. By converting goal recognition into a combinatorial optimization task rather than an exhaustive search, they achieved high accuracy and robustness against noisy trajectories without heavy computational overhead.
Other approaches bypass symbolic planning entirely to handle execution noise. Leonardo Amado et al. proposed GRAQL in Goal Recognition as Reinforcement Learning, using model-free reinforcement learning to learn goal-specific utility functions offline. This allows the system to remain highly resilient to sensor errors and erratic paths during live execution.
Finally, when behavioral noise creates too much ambiguity for passive observation to resolve, systems can actively intervene. Ifrah Idrees et al. developed the D4GR framework in Improved Inference of Human Intent by Combining Plan Recognition and Language Feedback, which allows assistive robots to use targeted clarification dialogue to resolve the ambiguities caused by skipped steps or interleaved tasks.
By moving away from binary checks of perfect rationality and adopting cost-based, bounded, or data-driven models of suboptimality, modern goal recognition systems can maintain accurate predictions even when the agents they observe make mistakes.
Key Foundational Work
A Sound and Fast Goal Recognizer (1995) — contributed 2 concept elements to this direction.
Ascribing Plans to Agents (1989) — contributed 1 concept elements to this direction.