Rethinking Learning Approaches for Long-Term Action Anticipation

Megha Nawhal, Akash Abdu Jyothi, Greg MoriECCV 2022

Introduction

Action anticipation is a cornerstone of proactive artificial intelligence, aiming to predict future human activities based on limited initial observations. While "near-term" anticipation (predicting the next few seconds) has seen significant progress, long-term action anticipation—predicting minutes into the future—remains a formidable challenge.

Overview of the long-term action anticipation task, where an observed video segment is used to predict a sequence of future action instances over a specified duration.

Existing methods typically encode observed video as a single global representation, which often overlooks the "local logic" of human actions. For instance, seeing someone put food in a microwave strongly suggests they will next close the door and start the timer, regardless of the broader context of the meal. Furthermore, many current models rely on recursive predictions (predicting step $n+1$ based on step $n$), leading to "error accumulation" where a single early mistake cascades through the entire predicted timeline. To address these issues, the authors introduce Anticipatr, a novel transformer-based framework.

The Anticipatr Framework

Anticipatr tackles long-term anticipation by decomposing the problem into two distinct scales of representation and utilizing a non-recursive, set-prediction approach.

Two-Stage Learning

The model employs a two-stage training strategy to capture both local action patterns and global video context:

  1. Stage 1 (Segment-level Training): The model trains a "segment encoder" to recognize local action co-occurrences. By looking at short video segments, it learns to predict which actions are likely to follow eventually, capturing the inherent "grammar" of human activities. This stage allows the model to learn from individual segments across different activities (e.g., "pouring water" in a coffee-making video helps predict the same action in a pasta-making video).
  2. Stage 2 (Action Anticipation): This stage integrates the pre-trained segment encoder with a global "video encoder" and an "anticipation decoder."

Transformer Architecture and Direct Set Prediction

Borrowing concepts from object detection (such as DETR), Anticipatr uses a Transformer-based encoder-decoder structure. Unlike recursive models, the decoder uses a fixed set of "anticipation queries" to directly predict a set of future action instances—each consisting of a label, a start time, and an end time—in a single forward pass. This eliminates the drift associated with step-by-step prediction.

The detailed architecture of Anticipatr, illustrating the dual-encoder setup (Segment and Video) and the time-conditioned Anticipation Decoder.

As shown in the architecture, the decoder is conditioned on the desired anticipation duration ($T_a$). This time-conditioning allows the model to dynamically adjust its predictions based on the required forecasting horizon.

Key Insights and Results

The authors' experiments yielded several critical insights into long-term forecasting:

  • The Power of "Local Logic": Learning from individual segments helps the model generalize better across different but related activities.
  • Two-Stage vs. Joint Training: Interestingly, fine-tuning the segment encoder during the final anticipation stage actually degraded performance. Keeping segment-level representations independent of the specific global context allowed for more effective reasoning.
  • Efficiency: By treating anticipation as a set-prediction problem, the model avoids the computational overhead and error propagation of RNN-based sequence generation.

Performance Benchmarks

Anticipatr achieved state-of-the-art (SOTA) results across four major benchmarks:

  • Breakfast & 50Salads: The model consistently outperformed previous methods in mean-over-classes accuracy. On the Breakfast dataset (20% observation, 50% anticipation), it achieved 28.6% accuracy.
  • Epic-Kitchens-55 (EK-55): It set a new benchmark in mean Average Precision (mAP), reaching 39.1 mAP, surpassing the previous SOTA of 38.0.
  • Ablation Studies: Removing the segment-level stream caused a significant performance drop, confirming that global video context alone is insufficient for accurate long-term forecasting.

Limitations and Future Work

While Anticipatr represents a significant leap forward, some limitations remain. The model uses a fixed number of anticipation queries ($N_a$), which may need adjustment for exceptionally dense or long activities. Additionally, the optimal segment size ($k$) is a hyperparameter that requires tuning. Future research may explore incorporating multimodal data, such as audio or gaze information, to further refine the model's intuitive grasp of human action sequences.

Summary updated

BibTeX
@inproceedings{nawhal2022rethinking,
  author = {Megha Nawhal and Akash Abdu Jyothi and Greg Mori},
  title = {{Rethinking Learning Approaches for Long-Term Action Anticipation}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19830-4\_32},
}
Figure