Action Sequence Augmentation for Action Anticipation

Yihui Qiu, Deepu RajanICLR 2025

Introduction

Action anticipation—the task of predicting what a person will do next based on their recent actions—is a critical capability for intelligent video systems. However, models often struggle to generalize due to the vast number of possible action sequences and the inherent biases in training datasets. This paper introduces ActSeq, a novel data augmentation framework designed to tackle "ordering bias" and input noise. By inducing a context-free grammar from video data and utilizing a specialized parser, ActSeq generates diverse, logically consistent action sequences and plausible alternative "next actions," significantly boosting model performance across major benchmarks.

The Challenge of Action Anticipation

Anticipating human actions is notoriously difficult for several key reasons:

  1. Flexibility: In everyday tasks like cooking, the exact order of actions often doesn't matter (e.g., chopping tomatoes before or after slicing cheese).
  2. Interleaving Goals: Humans frequently multitask, seamlessly switching between parallel objectives like making coffee and preparing cereal.
  3. Dataset Bias: Most datasets only capture a small fraction of the valid ways to complete a task. Models trained on these limited sequences develop an "ordering bias" and fail to generalize when encountering a novel, yet valid, sequence of events.
Examples of flexible action ordering and interleaved goals.

Furthermore, real-world inputs are inherently noisy. If an upstream action recognition model misidentifies "grab spoon" as "grab knife," the downstream anticipation model can easily be derailed.

The ActSeq Methodology

To address these challenges, the authors propose ActSeq, a framework that separately augments both the observed past and the predicted future. The system consists of three main components:

Overview of the ActSeq data augmentation framework.
  • Action Grammar Induction (AGI): Instead of relying on fixed, rigid sequences, AGI analyzes the entire training set to build an "Action Dependency Matrix." It identifies which actions are strictly dependent (e.g., you must "take bowl" before you "pour cereal") and which are independent. This logic is then formalized into a Context-Free Grammar (CFG) that represents the underlying rules of the tasks.
  • Cross-Tree Earley Parser (CTEP): Standard parsers struggle with interleaved goals. The authors modified the classic Earley Parser to handle "goal switching." CTEP evaluates a partial sequence and proposes multiple plausible next actions that are logically valid according to the induced grammar, even if those specific actions weren't the ground truth in the original video.
  • Random Modifications (RM): To build robustness against noisy inputs, the framework applies NLP-inspired techniques to the observed sequence. By randomly deleting or replacing actions in the history, the model is forced to learn from broader contextual cues rather than over-relying on a perfect, specific sequence of past events.

Key Insights

  • Decoupling Past and Future Augmentation: A major finding of this work is that augmenting the "observed" sequence (the past) and the "next action" (the future) serve distinct purposes. Augmenting the past builds resilience to noise, while augmenting the future directly reduces ordering bias.
  • Quantifying Bias: The authors introduce a new metric, Mean Action Order Bias (MAOB), which measures how much a dataset artificially favors one action over another when they are actually independent. ActSeq successfully lowers this bias significantly (e.g., dropping from 0.32 to 0.12 on the 50Salads dataset).
  • Grammar vs. LLMs: While Large Language Models (LLMs) excel at text generation, the authors found their grammar-based approach to be more reliable for physical tasks. LLMs sometimes "hallucinate" impossible steps (like adding salt before preparing vegetables), whereas the induced CFG remains strictly grounded in the physical constraints of the environment.

Datasets and Results

The researchers evaluated ActSeq on three widely used action anticipation benchmarks: 50Salads (small-scale, 17 classes), EGTEA Gaze+ (mid-sized egocentric, 106 classes), and Epic-Kitchens-100 (large-scale, unscripted, ~4,000 action instances).

ActSeq consistently improved the performance of state-of-the-art models like RAFTformer and AVT:

  • EGTEA Gaze+: Improved Mean Top-5 Recall from 63.5% to 66.3%.
  • Epic-Kitchens-100: Boosted Action Top-5 Recall from 19.1% to 20.8%.
  • Data Efficiency: In "low-data" scenarios (using only 3 videos per task), models augmented with ActSeq outperformed models trained on the entire dataset without augmentation. This highlights ActSeq as a powerful tool for domains where labeled video data is scarce.

Limitations and Future Work

The current framework assumes that when multiple goals are pursued simultaneously, the actions for each goal remain independent. In reality, goals often overlap—for instance, a single "wash hands" action might serve both a "make coffee" and a "make cereal" goal. Future work will need to explore how to represent these intertwined action sequences more effectively. Additionally, while the grammar induction process is automated, it still relies on high-quality initial action labels to build an accurate dependency matrix.

Summary updated

BibTeX
@inproceedings{qiu2025action,
  author = {Yihui Qiu and Deepu Rajan},
  title = {{Action Sequence Augmentation for Action Anticipation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=f3CdjpPkSq},
}
Figure