ActionDiffusion: An Action-aware Diffusion Model for Procedure Planning in Instructional Videos

Lei Shi, Paul C. Bürkner, Andreas BullingWACV 2024 · DOI

TL;DR

This paper introduces ActionDiffusion, a novel diffusion model for procedure planning in instructional videos. It's the first to explicitly model the temporal dependencies between actions by integrating action embeddings into the diffusion process's noise masks, leading to state-of-the-art performance on benchmark datasets.

What Problem Does This Paper Address?

Autonomous AI agents need to understand and plan sequences of actions to perform everyday tasks, a challenge known as "procedure planning." This involves predicting a series of actions given the start and end states of a procedure, often observed in instructional videos. While previous methods have used diffusion models for this task, they often treat the action sequence as a static input, failing to leverage the crucial temporal relationships between actions (e.g., you can't pour coffee before putting in a filter). This paper aims to bridge this gap by developing a diffusion model that inherently understands and utilizes these temporal dependencies.

Methods

The core innovation of ActionDiffusion lies in how it incorporates temporal action dependencies into the diffusion model. Instead of learning these dependencies in the feature space, ActionDiffusion projects them into the noise space of the diffusion process. This is achieved through two key mechanisms:

  1. Action-Aware Noise Mask: During the noise-adding phase of the diffusion model, action embeddings (representing individual actions) are added to the Gaussian noise. Crucially, this noise mask accumulates embeddings of previous actions along with the current one. This allows the model to "see" the historical context of actions at each step.
  2. Attention Mechanism in Denoising Network: The denoising network (a U-Net) is augmented with an attention mechanism. This allows the network to better learn correlations between different action steps during the denoising process, further enhancing its understanding of temporal relationships.

The overall process involves training a diffusion model to denoise a noisy representation of the action plan, conditioned on visual observations of the start and goal states, and a predicted task class.

Datasets

The paper evaluates ActionDiffusion on three established instructional video benchmark datasets:

  • CrossTask: Contains 2,750 videos, 18 tasks, and 105 action classes.
  • Coin: A larger dataset with 11,827 videos, 180 tasks, and 778 action classes.
  • NIV: A smaller dataset with 150 videos, 5 tasks, and 18 action classes.

The authors used pre-extracted features from a model trained on HowTo100M for their experiments.

Key Insights and Ideas

  • Temporal Dependencies in Noise Space: The paper's central insight is that modeling temporal action dependencies directly within the noise space of a diffusion model is a powerful and unifying approach. This avoids the need for separate modules or complex feature engineering for temporal reasoning.
  • Action Embeddings as Context: By injecting action embeddings into the noise mask, the model gains a richer understanding of the sequence's history, enabling it to predict more contextually relevant actions.
  • Attention for Enhanced Denoising: The integration of self-attention into the denoising U-Net significantly improves the model's ability to capture subtle temporal relationships, especially in datasets with more complex action sequences.

Key Results

ActionDiffusion consistently outperforms previous state-of-the-art methods across multiple metrics (Success Rate, Mean Accuracy, Mean Single Intersection over Union) on the CrossTask and NIV datasets. On the Coin dataset, it achieves state-of-the-art results on Success Rate and Mean SIoU, demonstrating its effectiveness even when action sequences are less varied. Ablation studies show that the proposed action-aware noise mask (specifically the "MultiAdd" variant) and the self-attention mechanism contribute positively to performance, particularly on datasets with more complex action compositions.

Limitations and Future Work

  • Dataset Specificity: The authors note that the effectiveness of the action-aware mask can depend on the diversity and linearity of action sequences within a dataset. While MultiAdd generally performs well, its advantage might be less pronounced on datasets with highly scattered action label distributions.
  • Computational Cost: Diffusion models are known for their computational intensity, both in training and inference. While not explicitly detailed as a limitation, this is an inherent characteristic of the approach.
  • Future Directions: The paper suggests that further exploration of action embedding strategies and attention mechanisms could lead to even greater improvements. The success on diverse datasets also hints at the potential for ActionDiffusion to be applied to other sequential prediction tasks.

Summary updated

BibTeX
@misc{shi2024actiondiffusion,
  author = {Lei Shi and Paul C. Bürkner and Andreas Bulling},
  title = {{ActionDiffusion: An Action-aware Diffusion Model for Procedure Planning in Instructional Videos}},
  year = {2024},
  eprint = {2403.08591},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.08591},
}
Figure