Abstract
This paper presents a computational model for plan recognition specifically designed for collaborative discourse. Moving beyond "keyhole" models that treat agents as passive observers, this approach focuses on "intended" plan recognition, where agents actively communicate intent to build mutual beliefs. By utilizing augmented recipe graphs (rgraphs) and constraint logic programming, the system models how agents coordinate joint actions even with incomplete knowledge or partially specified plans.
Introduction
In the early 1990s, plan recognition systems primarily operated on a "keyhole" model, where an AI agent observed a human's actions to infer goals, much like a detective. However, in collaborative environments—such as two people working together to move furniture—plan recognition is fundamentally different. It is an "intended" process where the speaker wants the listener to understand their intent to facilitate cooperation.
Existing models at the time suffered from several limitations: they often assumed a master/slave hierarchy, required all agents to have perfect and identical knowledge of task "recipes," and struggled with the incremental, back-and-forth nature of conversational plan building. This work seeks to bridge these gaps by distinguishing between different agents' beliefs and handling the inherent uncertainty of teamwork.
Methods: Augmented Recipe Graphs
The core of the proposed algorithm is the Augmented Recipe Graph (rgraph). The system first distinguishes between an act-type (a general category like "boiling water") and an activity (a specific instance, such as "Carol boiling water at 10:00 AM").
As shown in the figure above, act-types are related to activities through various relations (like generation and enablement) and constructors (like sequence, simultaneity, and iteration). These structures form the basis of the rgraph, a tree-like representation where nodes are activities and links represent their relationships within a complex task.
What makes these graphs "augmented" is the inclusion of specific constraints regarding timing and agency. For instance, if two actions are part of a "simultaneous" constructor, the rgraph enforces a constraint that their time intervals must be identical.
The Recognition Algorithm
When an agent processes an utterance, the algorithm follows a three-step process:
- Search: It searches its internal recipes to determine how the mentioned action might contribute to the overall goal.
- Fragment Creation: It creates a new rgraph fragment based on these schemas.
- Merging: It attempts to merge this new fragment with existing graphs.
The implementation utilizes CLP($\mathcal{R}$) (Constraint Logic Programming over Real numbers), allowing the system to treat time intervals as real-valued variables. If the constraints (timing or agency) become unsatisfiable during a merge, the algorithm identifies a misunderstanding or an invalid plan.
Key Insights and Results
The algorithm treats plan recognition as a shared effort of unifying information. By using variables for agents and times rather than requiring concrete event occurrences, the model can reason about hypothetical or partially specified actions. This is critical for planning future events that have not yet occurred.
Key results include:
- Overcoming Keyhole Limitations: The model successfully handles multi-agent joint actions, a significant advancement over previous state-of-the-art models that were limited to single-agent actions.
- Handling Divergent Beliefs: The formal structure allows the system to track what one agent believes another agent believes, which is essential for correcting dialogue-based misunderstandings.
- Computational Feasibility: The prototype implementation in CLP($\mathcal{R}$) proved that complex collaborative constraints could be solved in real-time during discourse.
Limitations and Future Work
While robust in handling timing and agency, the current model needs expansion to handle constraints on action parameters (e.g., specific tools required). Additionally, while the algorithm can detect when a plan is unsatisfiable, future work is needed to automatically generate the dialogue required to resolve such misunderstandings. Integrating more linguistic structure from sentences could also improve the system's understanding of how a speaker believes two acts are related.
Summary updated