Short-Term object-interaction Anticipation (STA) is the task of predicting the next-active objects, their locations, the intended actions (verbs), and the time to contact (TTC) from egocentric video. This capability is vital for applications like augmented reality assistants and human-robot interaction. However, achieving precise and reliable STA remains challenging due to the rapid motion and complex semantics of first-person perspectives.
Researchers from the University of Zaragoza and the University of Catania present AFF-ttention!, a framework that grounds anticipation in human behavior through two key innovations: a specialized transformer architecture called STAformer and two novel affordance-based modules.
The STAformer Architecture
The core of the framework is STAformer, which processes an image-video pair: a high-resolution image of the current frame and a lower-resolution video sequence of the past. This dual-input approach addresses the trade-off between spatial detail and temporal context.
Key components include:
- Frame-guided Temporal Pooling: Aligns video features with the spatial reference of the current frame.
- Dual Image-Video Attention: Facilitates cross-modal feature enrichment, where image tokens gain motion context and video tokens gain high-resolution spatial details.
- Multiscale Feature Fusion: Combines features across scales to produce robust region proposals and final predictions.
Behavioral Grounding via Affordances
Beyond architectural improvements, the framework incorporates behavioral priors through two affordance modules that ground predictions in the logic of human-environment interaction:
- Environment Affordances: This module acts as a persistent memory. By comparing the current scene against a database of previously seen environments, the model retrieves likely noun and verb distributions. For instance, a kitchen environment naturally suggests actions like "open" or "take" involving "fridge" or "cup."
- Interaction Hotspots: By tracking hand and object trajectories, the model predicts spatial "hotspots" where interactions are most likely to occur. These hotspots are used to re-weigh confidence scores, prioritizing objects in active zones and filtering out irrelevant background items.
Experimental Results
The model was rigorously tested on the Ego4D (v1 and v2) benchmarks and a newly curated set of STA labels for EPIC-Kitchens. The results represent a significant leap over previous baselines like StillFast and GANO:
- Ego4D v1: Achieved a +45% relative improvement in Overall Top-5 mAP (mean Average Precision).
- Ego4D v2: Achieved a +42.1% relative improvement.
- EPIC-Kitchens: On the newly curated labels, the model saw a +42% improvement.
At the time of publication, AFF-ttention! achieved the top rank on the Ego4D STA public leaderboard, demonstrating the effectiveness of combining specialized attention mechanisms with behavioral grounding.
Conclusion
AFF-ttention! demonstrates that STA is not just a computer vision problem but a behavioral modeling one. By integrating environment memory and spatial interaction priors, the framework significantly outperforms previous state-of-the-art methods. Future work will explore long-term goal reasoning and improving the efficiency of the retrieval-based affordance database for real-time wearable applications.
Summary updated