Introduction
Goal recognition is the process of inferring an agent's intent from a sequence of observed actions. This capability is foundational for applications in smart environments, assistive robotics, and security. However, traditional "Plan Recognition As Planning" (PRAP) methods often suffer from high computational complexity, as they require generating full plans for every possible goal. In real-world scenarios, this can lead to processing times that prohibit online, real-time interaction. This paper presents a hybrid approach that combines symbolic reasoning with data-driven models to achieve near real-time performance without sacrificing accuracy.
The HPLR Framework
To address the limitations of existing methods, we propose Hybrid Planning Landmark-based Recognition (HPLR). This framework integrates two complementary components:
Symbolic Component: Planning Landmark Recognition (PLR)
Instead of full plan generation, PLR identifies "landmarks"—states or facts that must be achieved to reach a specific goal. For example, in a cooking task, "water is boiling" is a landmark for the goal "make tea." By treating these landmarks as a checklist, the system can estimate goal probability based on the completion of these essential waypoints. To improve signal quality, we implemented a "trivial" filter that ignores landmarks already true in the initial state (e.g., "the stove is in the kitchen").
Data-Driven Component: Naive Bayes Model (NBM)
A Naive Bayes Model is trained on historical observation sequences to provide an initial estimate of goal likelihood based on action patterns. This component is particularly effective in the early stages of an observation sequence before many landmarks have been triggered.
Hybrid Fusion
HPLR combines these two scores using a weighted sum. As the observation sequence progresses (represented by $\lambda$, the percentage of the plan completed), the system dynamically shifts its reliance from the data-driven NBM to the symbolic PLR, leveraging the strengths of each at different stages of the task.
Experimental Evaluation
The framework was evaluated using the CMU-MMAC Kitchen Dataset, which contains multi-modal recordings of humans preparing five different recipes (brownies, eggs, sandwiches, pizza, and salad). The raw data was translated into PDDL (Planning Domain Definition Language) format to allow the symbolic component to reason about the kitchen environment.
Results and Discussion
Computational Efficiency
A primary advantage of the landmark-based approach is its near-instantaneous computation. Once landmarks are extracted at the start of a sequence, calculating the heuristic score takes approximately 10ms per goal.
As shown in the figure above, the standard RG approach requires hundreds of seconds per sequence, which is impractical for real-time applications. In contrast, PLR maintains a negligible computational footprint regardless of the observation length.
Recognition Accuracy
The hybrid model (HPLR) consistently outperformed individual components and the state-of-the-art RG method across various training set sizes ($n$).
The results demonstrate that HPLR is robust even with limited training data ($n=1$ or $n=3$), a critical requirement for real-world deployment where large labeled datasets are often unavailable. While data-driven models provide a strong baseline early on, the symbolic landmarks allow HPLR to reach near-perfect accuracy as the task nears completion.
Conclusion
By leveraging planning landmarks, HPLR bridges the gap between slow, exhaustive symbolic planners and data-hungry probabilistic models. While current iterations do not strictly enforce the temporal ordering of landmarks, the massive gains in speed and accuracy represent a significant step toward practical, real-time goal recognition in complex human environments. Future work will focus on re-incorporating temporal constraints to further refine reasoning capabilities.
Summary updated