DiffAnt: Diffusion Models for Action Anticipation

Zeyun Zhong, Chengzhi Wu, Manuel Martin, Michael Voit, Juergen Gall, Jürgen BeyererarXiv 2023 · DOI

Introduction

Predicting human actions from video is a fundamental challenge in computer vision, essential for applications ranging from human-robot interaction to proactive digital assistants. A significant hurdle in action anticipation is the inherent non-determinism of the future. For instance, observing a person entering a kitchen and opening a cupboard could lead to several plausible next steps: reaching for a mug, a cereal bowl, or a plate.

Traditional discriminative models often struggle with this multi-modality, typically mapping video inputs to a single, deterministic sequence of future actions. This often results in "averaged" or unrealistic predictions. To address this, DiffAnt introduces a generative framework based on diffusion models. By treating action anticipation as a denoising process, DiffAnt can effectively model the distribution of possible futures, capturing the uncertainty inherent in long-term predictions.

Overview of DiffAnt's approach to uncertain future actions, showing multiple plausible paths from a single observation.

Methodology

DiffAnt leverages the power of diffusion models—popularized by image generation tools like Stable Diffusion—to generate sequences of future actions. The core idea is to start with Gaussian noise and iteratively refine it into a coherent sequence of action embeddings, conditioned on past observations.

Architecture and Inference Pipeline

The framework consists of an encoder-decoder architecture designed for sequential data:

  1. Encoder: A Transformer-based module processes features from past video frames (extracted using an I3D backbone) to create a context embedding $E$.
  2. Diffusion Process: In the reverse diffusion process, the model starts with a noise vector $\mathbf{z}_S$ sampled from $\mathcal{N}(\mathbf{0}, \mathbf{I})$.
  3. Decoder: The decoder iteratively denoises $\mathbf{z}_S$ over $S$ steps to produce a clean latent representation $\tilde{\mathbf{z}}_0$. Each decoder layer utilizes Multi-Head Self-Attention (MHSA) and Multi-Head Cross-Attention (MHCA) to incorporate the context $E$ and the current diffusion step $s$.
  4. Predictor: Finally, a predictor module maps the refined embeddings $\tilde{\mathbf{z}}_0$ back into discrete action classes and their corresponding durations.
The DiffAnt architecture, detailing the decoder layer components and the overall inference pipeline from past observation to future action sequences.

By sampling different initial noise vectors, the model can generate a diverse set of plausible future action sequences for the same input video, effectively representing the multi-modal nature of the future.

Experimental Results

The authors evaluated DiffAnt on four benchmark datasets: Breakfast, 50Salads, EpicKitchens, and EGTEA Gaze+.

Performance Gains

DiffAnt achieved state-of-the-art (SOTA) results across several metrics. On the Breakfast dataset, for long-term anticipation, DiffAnt improved accuracy from 25.87% to 30.77%, representing a significant relative improvement of nearly 19%. Notably, the model excels at predicting "Rare" actions in the EpicKitchens dataset, a common failure point for deterministic models that tend to favor frequent classes.

Efficiency and Qualitative Insights

Qualitative analysis reveals that the denoising process gradually "sharpens" the predictions. Early steps provide a general semantic category, while later steps resolve specific actions and timings. Despite the iterative nature of diffusion, the authors optimized the process to just 10 denoising steps, achieving an inference time of approximately 39ms, which is suitable for many real-time applications.

Conclusion and Future Work

DiffAnt demonstrates that generative diffusion models are highly effective for long-term action anticipation by embracing future uncertainty. While the model sets new performance standards, future research could explore end-to-end training from raw video pixels to bypass the limitations of pre-extracted features. Additionally, developing new evaluation metrics that better reward diversity and plausibility in probabilistic predictions remains an open challenge for the field.

Reference: Zhong, Z., Wu, C., Martin, M., Voit, M., Gall, J., & Beyerer, J. (2023). DiffAnt: Diffusion Models for Action Anticipation. arXiv:2311.15991v1 [cs.CV].

Summary updated

BibTeX
@misc{zhong2023diffant,
  author = {Zeyun Zhong and Chengzhi Wu and Manuel Martin and Michael Voit and Juergen Gall and Jürgen Beyerer},
  title = {{DiffAnt: Diffusion Models for Action Anticipation}},
  year = {2023},
  eprint = {2311.15991},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.15991},
}
Figure