Discovering Underlying Plans Based on Shallow Models

Hankz Hankui Zhuo, Yantian Zha, Subbarao Kambhampati

TL;DR

This paper introduces two novel approaches, DUP and RNNPlanner, for plan recognition that learn "shallow" models of actions from plan libraries. These methods overcome limitations of traditional approaches by not requiring complete domain models and by learning distributed representations of actions, enabling more robust plan discovery in real-world scenarios.

What Problem Does This Paper Address?

In cooperative work scenarios, recognizing human intentions through plan recognition is crucial for providing effective decision support. Traditional plan recognition methods often rely on complete domain models or pre-defined plan libraries, which are difficult and expensive to obtain in practice. This paper addresses the challenge of plan recognition when target plans are not necessarily from existing libraries and complete domain models are unavailable. The authors propose learning "shallow" models from available plan corpora to infer underlying plans, which is more practical for real-world applications.

Methods

The paper proposes two main approaches:

  • DUP (Discovering Underlying Plans): This method first learns distributed representations (action vectors) of actions from a plan library using a Skip-gram model. It then employs an Expectation-Maximization (EM) style framework to capture local action contexts and discover target plans by optimizing their probability. DUP iteratively samples potential plans and updates weights associated with unobserved actions.
  • RNNPlanner: This approach leverages Recurrent Neural Networks (RNNs), specifically Long Short-Term Memory (LSTM) networks, to model action sequences. It learns action embeddings and uses LSTM layers to capture long- and short-term action contexts, enabling it to generate plans that best explain observed actions. RNNPlanner directly learns from the action sequences without an explicit EM step for weight updates.

Both methods utilize action vector representations learned from plan libraries as a common foundation.

Datasets

The experiments were conducted on three planning domains from the International Planning Competition:

  • blocks
  • depots
  • driverlog

For each domain, 5000 planning problems were generated and solved to create a dataset of 5000 plans for training and evaluation.

Key Insights and Ideas

  • Shallow models are sufficient: The paper demonstrates that learning "shallow" models, like distributed action representations, can be highly effective for plan recognition, even without complete domain knowledge.
  • Leveraging plan libraries as corpora: Plan libraries can be treated as text corpora, allowing the application of powerful word embedding techniques (like Skip-gram) to learn meaningful action representations.
  • Context is key: Both DUP (local context) and RNNPlanner (long/short-term context) highlight the importance of contextual information for accurate plan recognition.
  • RNNs excel at sequential prediction: RNNPlanner's ability to leverage sequential dependencies makes it particularly effective for predicting future or missing actions.
  • Blocks domain advantage: The "blocks" domain consistently shows higher accuracies for DUP, potentially due to a higher ratio of action occurrences to vocabulary size, suggesting that denser action relationships benefit the approach.

Key Results

  • DUP outperforms baselines: DUP generally achieved higher accuracies than traditional methods like ARMS+PRP (action-model based) and MatchPlan (plan library matching), especially as the percentage of unobserved actions increased. For instance, DUP's accuracy remained stable even with up to 25% unobserved actions, while ARMS+PRP's accuracy degraded.
  • RNNPlanner vs. DUP: RNNPlanner generally performed better than DUP when predicting missing actions at the end of a plan, suggesting its strength in leveraging past observations for future prediction. However, DUP showed better performance in cases with fewer missing actions or when actions were missing in the middle, potentially due to its ability to use information from both preceding and succeeding observed actions.
  • Recommendation set size: Accuracies for all methods generally increased with a larger recommendation set size, as expected.
  • Training set size: Both DUP and MatchPlan benefited from larger training sets, with DUP consistently outperforming MatchPlan.

Limitations and Future Work

  • Fixed context window for DUP: DUP's performance can be sensitive to the fixed context window size. While a larger window might seem beneficial, it can also introduce noise.
  • RNNPlanner's reliance on preceding context: RNNPlanner primarily uses preceding observed actions to predict missing ones, which can be a limitation when future context is crucial.
  • Incremental plan recognition: The current work focuses on one-shot recognition. Future work aims to make DUP "incremental" to support iterative human-in-the-loop planning.
  • Critiquing and justifying plans: The authors plan to extend their work to "critiquing" human-generated plans and "explaining/justifying" suggestions, moving beyond simple plan completion.
  • Systematic comparison of shallow vs. traditional models: A future goal is to systematically compare the trade-offs between shallow models and traditional precondition/effect-based action models.

Summary updated

BibTeX
@article{zhuo2018discovering,
  author = {Hankz Hankui Zhuo and Yantian Zha and Subbarao Kambhampati},
  title = {{Discovering Underlying Plans Based on Shallow Models}},
  journal = {ACM Trans. Intell. Syst. Technol.},
  year = {2018},
  doi = {10.1145/3368270},
}
Figure