Robust Goal Recognition with Operator-Counting Heuristics

Felipe Meneguzzi, André Grahl Pereira, Ramon Fraga PereiraarXiv 2019

Goal recognition—the task of inferring an agent's intent from a sequence of observed actions—is a fundamental challenge in artificial intelligence. This paper presents a robust framework based on linear programming (LP) that effectively handles the dual challenges of partial observability and noisy data. By extending the operator-counting planning framework, the authors provide a system that balances accuracy with the size of the candidate goal set.

The Challenge of Goal Recognition

In automated planning, goal recognition involves identifying which of several possible goal states an agent is pursuing based on a sequence of observed actions. This task is complicated by two primary factors:

  1. Partial Observability: Observers rarely see every action. When only a small fraction of moves are visible, multiple goals may appear equally plausible.
  2. Noisy Observations: Sensor errors can lead to "ghost" observations—actions the agent never actually performed.
A grid-world goal recognition task where an agent moves from $s_0$ towards potential goals $s_1^*$ or $s_2^*$, with only a subset of actions ($o_i$) observed.

Existing methods often struggle to maintain a high "Agreement Ratio" (Intersection over Union), a metric that penalizes both missing the true goal and being overly vague by including too many incorrect goals.

Methodology: Operator-Counting Constraints

The core of the proposed approach is the Operator-Counting Framework. Traditionally used in planning to estimate plan costs via LP, the authors enhance it for recognition tasks through three key innovations:

  • Observation-Counting Constraints: The LP is modified to ensure predicted plans account for specific observed actions. A new heuristic, $h_\Omega$, calculates the minimum cost to reach a goal while satisfying these observation counts.
  • Uncertainty Modeling: The system calculates an "uncertainty ratio" ($\mu$) based on the gap between the LP's objective value and the number of observations. This allows the model to gracefully expand the candidate goal set when data is sparse.
  • Automated Noise Filtering: To handle incorrect observations, the problem is transformed into an Integer Program (IP) that can selectively ignore a percentage of observations (governed by a sensor unreliability rating $\epsilon$) if doing so yields a more plausible, lower-cost plan.

Experimental Evaluation

The framework was evaluated on a massive dataset of 8,288 goal recognition tasks across 12 classic planning domains, including Blocks World, Logistics, and Sokoban. The experiments covered five levels of observability (10% to 100%) and included "noisy" variants where 20% of observations were random errors.

Key Results and Insights

The LP-based method ($\Gamma^{LP}$) consistently outperformed established benchmarks like RG (Ramírez and Geffner) and POM (Pereira, Oren, and Meneguzzi) in terms of Agreement Ratio.

Performance comparison (Agreement Ratio) across various domains and observability levels (10% to 100%) for both optimal and sub-optimal agents. Bold values indicate superior performance for specific heuristic combinations.

Key findings include:

  • Heuristic Synergy: Combining different constraints—such as State Equations (tracking fluents) and Landmarks (mandatory actions)—yields a significantly more informed heuristic than using them in isolation.
  • Robustness to Noise: In noisy environments, the modified heuristic ($\Gamma^\epsilon$) maintained high accuracy. In the complex Sokoban domain, it successfully filtered out "ghost" observations that would have otherwise misled the recognition process.
  • Computational Efficiency: Despite the use of IP/LP solvers, the system solved nearly all tasks within a five-second threshold, demonstrating its suitability for near-real-time applications.

Conclusion

By leveraging the mathematical rigor of linear programming and operator-counting, this research provides a robust solution for goal recognition under uncertainty. While the model currently requires a pre-defined noise parameter ($\epsilon$), it sets a new standard for accuracy and reliability in inferring agent intent from sparse and imperfect data. Future work may focus on dynamically estimating sensor reliability and better exploiting the temporal order of observations.

Summary updated

BibTeX
@misc{meneguzzi2019robust,
  author = {Felipe Meneguzzi and André Grahl Pereira and Ramon Fraga Pereira},
  title = {{Robust Goal Recognition with Operator-Counting Heuristics}},
  year = {2019},
  url = {https://openreview.net/forum?id=N5JDHE2Nvu},
}
Figure