Recognizing Plans by Learning Embeddings from Observed Action Distributions

Yantian Zha, Yikang Li, Sriram Gopalakrishnan, Baoxin Li, Subbarao KambhampatiAAMAS 2017

TL;DR

This paper introduces Distr2Vec, a novel method for learning "embeddings" (numerical representations) of action distributions, which are crucial for plan recognition in scenarios with uncertain observations (like from video analysis). By effectively capturing the nuances of these uncertain action sequences, Distr2Vec significantly improves plan recognition accuracy, especially in challenging, noisy environments.

What Problem Does This Paper Address?

Imagine trying to understand what someone is doing by watching a video, but the video feed is a bit fuzzy, or the camera misses brief moments. You don't get a clear sequence of "action A, then action B." Instead, you might get something like "there's a 30% chance it was action A, a 40% chance it was action B, and a 30% chance it was action C." This is "observational uncertainty."

Plan recognition, a field focused on predicting an agent's future actions based on observed behavior, often relies on models that learn "action affinities" – which actions tend to follow each other. Traditional methods, like Word2Vec (originally for text), work well with clear action sequences. However, they struggle when the input is a sequence of probabilities for different actions at each step, rather than a single, definite action. This paper tackles the challenge of building effective plan recognition models when the observed actions are uncertain, represented as probability distributions.

Methods

The core contribution is Distr2Vec, a new model designed to learn embeddings directly from action distributions. Unlike previous approaches that might try to "guess" a single action from the distribution and then use standard methods, Distr2Vec embraces the uncertainty.

Here's a breakdown of their approach:

  • UDUP Framework: The overall system, called UDUP (Uncertain DUP), uses these learned embeddings for plan recognition. It takes sequences of action distributions as input.
  • Distr2Vec Architecture: This is the heart of the paper. It's a neural network architecture that takes an action distribution at a given time step and learns a vector representation (embedding) for it.
  • Loss Function: To train Distr2Vec, they use a loss function based on the Kullback-Leibler (KL) divergence. KL divergence is a standard measure of how one probability distribution differs from another. By minimizing the KL divergence between the actual observed action distribution and the distribution predicted by their model, Distr2Vec learns to capture the essence of the input distributions.
  • Hierarchical Softmax: They also incorporate hierarchical softmax, a technique that makes the training process more efficient, especially with a large number of possible actions.
  • Resampling-Based Model (RBM): As an alternative approach, they also propose RBM. This method samples multiple possible action sequences from the input distributions and then uses these sampled sequences to train a standard Word2Vec model. This is a more indirect way to handle uncertainty.

The key novelty lies in Distr2Vec's ability to directly learn from distributions, avoiding the information loss that might occur with resampling or by simply picking the most probable action.

Datasets

The authors evaluated their methods on two types of datasets:

  • Synthetic Dataset: They generated a synthetic dataset based on the 50 Salads Dataset [15]. This allowed them to precisely control parameters like the perception error rate (how often the observed action distribution is "wrong") and the entropy (how spread out the probabilities are within a distribution). This controlled environment is crucial for understanding the models' behavior under different conditions.
  • Video-Based Dataset: They also used a dataset derived from real-world videos. They processed videos using a model called Video2Vec [3] to generate action distribution sequences, simulating different levels of perception error (PER).

Key Insights and Ideas

  • Embracing Uncertainty is Key: The paper strongly advocates for directly modeling action distributions rather than trying to resolve uncertainty into a single action. This is particularly important when dealing with noisy sensor data like video.
  • Distr2Vec Outperforms: Distr2Vec consistently shows superior performance, especially in scenarios with high perception error (noisy data). This highlights the power of learning embeddings that capture the full probabilistic information.
  • RBM's Trade-offs: The Resampling-Based Model (RBM) is an interesting alternative, but it requires significantly more samples to achieve comparable performance to Distr2Vec, especially with longer action sequences. This suggests that RBM is more computationally expensive for achieving similar results.
  • Training Time Matters: Distr2Vec offers a good balance between accuracy and training time. While RBM's training time increases with the number of samples, Distr2Vec's remains relatively constant, making it more practical for real-time applications.
  • Longer Sequences Help: For both Distr2Vec and RBM, longer training sequences generally lead to better performance, as more data is available for learning robust embeddings.

Key Results

  • Improved Accuracy: Distr2Vec significantly outperforms the baseline "Naive Model" (which uses the most probable action) and the RBM approach, particularly when the perception error rate (PER) is high (e.g., 69% and 100%). For instance, in high PER scenarios, Distr2Vec achieved substantially higher accuracy than the Naive Model, which performed very poorly.
  • Robustness to Noise: The paper demonstrates that Distr2Vec is more robust to noisy input data (high PER) compared to other methods.
  • Efficiency: Distr2Vec's training time is more stable and generally faster than RBM when a large number of samples are needed for RBM to perform well.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that for very low PER scenarios, all models perform comparably well, suggesting that the benefit of Distr2Vec is most pronounced in challenging, uncertain environments.
  • The Naive Model can perform surprisingly well in specific low-PER, high-entropy scenarios due to how the synthetic data was generated (ground truth always being the most probable action). This highlights the importance of realistic data simulation.
  • Future Work:
    • The authors suggest that their approach could be useful in other domains dealing with categorical data sequences and uncertainty, not just plan recognition.
  • Further exploration of different architectures and loss functions for learning distribution embeddings could be beneficial.

Summary updated

BibTeX
@misc{zha2017recognizing,
  author = {Yantian Zha and Yikang Li and Sriram Gopalakrishnan and Baoxin Li and Subbarao Kambhampati},
  title = {{Recognizing Plans by Learning Embeddings from Observed Action Distributions}},
  year = {2017},
  eprint = {1712.01949},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.01949},
}
Figure