Domain generalization using action sequences for egocentric action recognition

Amirshayan Nasirimajd, Chiara Plizzari, Simone Alberto Peirone, Marco Ciccone, Giuseppe Averta, Barbara Caputo

Abstract

Egocentric Action Recognition (EAR) models often struggle with domain shift when moved to new environments. This paper introduces SeqDG, a framework that leverages the temporal consistency of human action sequences to improve generalization. By using a novel sequence reconstruction task (SeqRec) and cross-domain data augmentation (SeqMix), SeqDG achieves state-of-the-art results on unseen environments without requiring target-domain data during training.

The Challenge of Domain Shift

In egocentric video, the background often acts as a confounding factor. A model might learn to recognize an action based on the specific kitchen it was filmed in rather than the action itself. This makes it difficult for models to generalize to new, unseen environments.

Figure 1: Domain shift in egocentric action recognition. While visual backgrounds differ between kitchens, the sequence of actions remains a consistent cue for recognition.

Domain Generalization (DG) aims to solve this by building models that focus on the goal-driven, sequential nature of human behavior, which remains relatively constant across different settings.

Methods: The SeqDG Framework

SeqDG utilizes a Transformer-based architecture to process sequences of actions. It incorporates two main strategies:

  1. SeqRec (Visual-Text Sequence Reconstruction): The model learns to reconstruct a masked action in a sequence by attending to surrounding actions and their textual narrations. Since text is domain-agnostic, this forces the visual encoder to learn more robust, intent-based features.
  2. SeqMix (Sequence Mix Augmentation): This technique creates synthetic training sequences by mixing actions from different environments, further encouraging the model to ignore background details.
Figure 2: The SeqDG architecture. The model uses video and narration sequences to learn domain-agnostic features through a reconstruction task.

Results and Insights

SeqDG was evaluated on the EPIC-KITCHENS-100 and EGTEA datasets. Key findings include:

  • Superior Generalization: SeqDG outperformed several Unsupervised Domain Adaptation (UDA) methods on cross-domain benchmarks, despite not seeing any target data during training.
  • SOTA Performance: The model achieved 74.0% Top-1 accuracy on EGTEA, setting a new state-of-the-art for intra-domain recognition.
  • Sequence Context: The authors found that a sequence length of 5 actions provides the best balance of context and relevance for action recognition.

Conclusion

SeqDG demonstrates that human action sequences are a powerful, domain-agnostic signal for egocentric action recognition. By focusing on the temporal flow of activities and leveraging textual narrations during training, models can become significantly more robust to environmental changes.

Summary updated

BibTeX
@article{nasirimajd2025domain,
  author = {Amirshayan Nasirimajd and Chiara Plizzari and Simone Alberto Peirone and Marco Ciccone and Giuseppe Averta and Barbara Caputo},
  title = {{Domain generalization using action sequences for egocentric action recognition}},
  journal = {Pattern Recognition Letters},
  year = {2025},
  doi = {10.1016/j.patrec.2025.06.010},
}
Figure