Semantically Guided Representation Learning For Action Anticipation

Anxhelo Diko, Danilo Avola, Bardh Prenkaj, Federico Fontana, Luigi Cinque

Abstract

Action anticipation is the task of predicting future activities before they occur, a challenge characterized by inherent uncertainty. Traditional methods often focus on visual feature extraction but overlook the semantic relationships between actions. We present S-GEAR (Semantically Guided REpresentation LeARning), a framework that utilizes language models to guide the geometric arrangement of visual action prototypes. By forcing visual representations to mimic the topological structure of semantic language space, S-GEAR effectively models the "connective tissue" between activities. Our approach achieves state-of-the-art results across four major egocentric and exocentric benchmarks, including EPIC-Kitchens and 50 Salads.

Introduction

Predicting the future from a stream of video is a fundamental capability for autonomous systems and human-AI interaction. Unlike action recognition, which classifies a completed segment, action anticipation requires reasoning about what will happen based on observed context. Humans excel at this by leveraging semantic knowledge; for instance, seeing someone "grab a knife" suggests "cut bread" or "spread butter" are likely successors.

Conceptual overview of the S-GEAR framework for action anticipation, illustrating the transition from observed actions to predicted target actions via prototype-based latent spaces.

S-GEAR formalizes this intuition by integrating semantic proximity into the representation learning process. The authors argue that most existing models focus too much on extracting better visual or temporal features from the current clip while ignoring the fundamental semantic relationships that define human activity patterns.

Methods

The S-GEAR architecture employs a Vision Transformer (ViT) encoder and a Causal Transformer decoder. The core innovation is the Semantic Guiding Policy, which consists of several key components:

  1. Visual and Language Prototypes: The model learns a set of visual prototypes—representative embeddings for each action category. Simultaneously, language prototypes are generated using pre-trained models (like Sentence-BERT) to capture inherent semantic relationships (e.g., "open bottle" and "pour water" are naturally closer in language space than unrelated actions).
  2. Geometric Association Transfer: Rather than simple alignment, S-GEAR ensures the visual prototypes mimic the geometric topology of the language space. This allows the visual representations to retain motion nuances while benefiting from the structured knowledge of language.
  3. Temporal Context Aggregator (TCA) and Prototype Attention (PA): These modules enhance the flow of information from past observations and refine visual features using the learned semantic prototypes.
Detailed architecture of S-GEAR, showing the integration of the Vision Transformer, Causal Transformer, and the Semantic Guiding Policy during training.

Results and Discussion

S-GEAR was evaluated on four diverse benchmarks: EPIC-Kitchens (55 & 100), EGTEA Gaze+, and 50 Salads. It consistently outperformed previous state-of-the-art (SOTA) methods:

  • Accuracy Boosts: It achieved an absolute improvement of +3.5% on EPIC-Kitchens 55 and +3.5% on 50 Salads for Top-1 Accuracy.
  • Large-Scale Performance: On EPIC-Kitchens 100, it saw a +1.4% improvement in Top-5 Recall, a significant gain on a dataset of that scale.
  • Cross-Perspective Versatility: The model performed well on both first-person (egocentric) and third-person (exocentric) data, suggesting that semantic interconnectivity is a universal principle of human activity regardless of camera angle.

Conclusion

S-GEAR demonstrates that semantic proximity is a powerful signal for visual forecasting. By transferring the topology of language space to visual prototypes, the model gains a robust understanding of action sequences even when visual cues are ambiguous. Future work will focus on explicitly modeling the temporal order of operations within the semantic space to further reduce uncertainty in long-term predictions.

Summary updated

BibTeX
@inproceedings{diko2024semantically,
  author = {Anxhelo Diko and Danilo Avola and Bardh Prenkaj and Federico Fontana and Luigi Cinque},
  title = {{Semantically Guided Representation Learning For Action Anticipation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73390-1\_26},
}
Figure