TL;DR
This paper introduces DUP (Discovering Underlying Plans), a plan recognition approach that treats sequences of actions like sentences in a language. By learning distributed vector representations (embeddings) of actions from a plan library, the system can accurately predict missing steps in a human's plan without requiring a complete, formal domain model or an exact match in a database.
What Problem Does This Paper Address?
Plan recognition is the task of figuring out what a user is trying to do based on a few observed actions. Traditionally, this requires one of two things:
- A complete plan library: A massive database of every possible plan. If the user does something slightly new, the system fails.
- A complete domain model: A formal logic-based description (like STRIPS) of every action's preconditions and effects. These are notoriously difficult and expensive to author for real-world tasks.
In modern "human-in-the-loop" scenarios—like a digital assistant helping a user assemble furniture or write code—we often lack both. The authors address this "knowledge bottleneck" by proposing a "shallow" model that learns the statistical structure of plans rather than their rigid logical rules.
Methods
The core innovation of DUP is the analogy that actions are words and plans are sentences.
- Learning Action Embeddings: The authors use the Skip-gram model (popularized by Word2Vec) to learn vector representations for actions. By treating a library of previous plans as a text corpus, actions that frequently appear in similar contexts (e.g.,
pick-up-blockandstack-block) end up close to each other in a high-dimensional vector space. - Filling the Gaps: When presented with an incomplete observation (e.g., Action A, [Missing], Action C), DUP uses an Expectation-Maximization (EM) framework. It iteratively samples potential actions for the gaps and updates their "weights" to maximize the joint probability of the entire sequence based on the learned embeddings.
- Action Suggestion: Instead of just guessing one plan, the system can suggest a set of $m$ likely actions for each gap, making it useful for interactive decision support.
Datasets
The researchers evaluated DUP using three standard planning domains from the International Planning Competition (IPC):
- Blocks: A robot arm moving blocks between stacks.
- Depots: A combination of logistics and block-stacking.
- Driverlog: A logistics domain involving trucks, drivers, and packages.
For each domain, they generated 5,000 plans using an automated solver (FF) to serve as the "corpus" for training and testing.
Key Insights and Ideas
- Distributed vs. Symbolic: Traditional AI planning is symbolic and brittle. By moving to a distributed representation (vectors), the system gains "soft" reasoning capabilities. It understands that even if it hasn't seen a specific sequence before, certain actions "fit" together based on global patterns.
- Global Context Matters: Unlike simple matching algorithms that only look at immediate neighbors, DUP's EM approach considers the entire observed sequence to find the most coherent underlying plan.
- Less is More: DUP requires significantly less input than competing methods. It doesn't need to know the initial state of the world or the user's final goal to make accurate suggestions.
Key Results
The authors compared DUP against two baselines: MatchPlan (a library-matching approach) and ARMS+PRP (which tries to learn a formal STRIPS model and then uses a planner to recognize the plan).
- Robustness to Missing Data: DUP consistently outperformed both baselines across all domains. As shown in Figure 1, DUP maintains high accuracy even when 25% of the actions in a plan are unobserved.
- Recommendation Quality: When the system was allowed to suggest a small set of actions (a "top-10" list), its accuracy improved significantly, reaching over 70% in the Blocks domain. This makes it highly effective for "auto-complete" style interfaces in planning tools.
Limitations and Future Work
- Causal Explanations: Because DUP is a "shallow" statistical model, it cannot explain why it suggests an action in terms of cause and effect (e.g., "You need to pick up the block because you want to stack it").
- One-Shot Recognition: The current version is designed for a single batch of observations. The authors note that for real-time human-in-the-loop support, the algorithm needs to be made incremental, updating its suggestions as the user performs each new action.
- Critiquing: Future work could involve not just suggesting actions, but "critiquing" user actions that seem inconsistent with the learned model.
Summary updated