Modeling Inter-Agent Interactions: A Spatiotemporal Attention Approach to Multi-Agent Action Anticipation

July 2026

Modeling Inter-Agent Interactions: A Spatiotemporal Attention Approach to Multi-Agent Action Anticipation

Authors:

Yiqi Jin

Abstract:

Anticipating the near-future actions of multiple people is a core capability for embodied systems that must plan, coordinate, and assist in shared, human-in-the-loop environments. Yet most action-anticipation research targets a single agent, overlooking the inter-agent dependencies---cooperation, coordination, and competition---that shape how groups behave. Naively extending single-agent models to multiple people, by processing each agent independently or fusing their predictions only at a late stage, fails to capture these relationships and yields limited gains.

This thesis presents InteractFormer, a unified model for multi-agent future prediction that treats inter-agent interaction as a first-class signal. Rather than reasoning over coarse, pre-extracted representations, InteractFormer operates directly on fine-grained visual tokens: an agent visual cross-attention module lets each agent attend to the others' observations at every time step, a lightweight bounding-box cross-attention injects explicit spatial configuration, and a temporal cross-attention module captures how these interactions evolve over time. The resulting design jointly predicts the futures of all agents in a manner that is spatially grounded, temporally coherent, and largely task-agnostic.

We evaluate InteractFormer on two complementary benchmarks: LEMMA, which features egocentric household collaboration, and SportsHHI, which features dense, high-frequency interactions in team sports. Across both domains, our method consistently improves over strong single- and multi-agent baselines on action anticipation and interaction understanding, with the largest gains in genuinely multi-agent scenarios. Attention visualizations and a controlled shuffled-agent ablation further confirm that the model exploits true inter-agent dependencies rather than incidental visual context, offering both accuracy and interpretability for collaborative behavior anticipation.

Notes:

@mastersthesis{Jin-2026-88324,
author = {Yiqi Jin},
title = {Modeling Inter-Agent Interactions: A Spatiotemporal Attention Approach to Multi-Agent Action Anticipation},
year = {2026},
month = {July},
school = {Carnegie Mellon University},
address = {Pittsburgh, PA},
number = {CMU-RI-TR-78},
keywords = {Multi-agent action anticipation, video understanding, egocentric video, human--human interaction},
}
Copyright notice: This material is presented to ensure timely dissemination of scholarly and technical work. Copyright and all rights therein are retained by authors or by other copyright holders. All persons copying this information are expected to adhere to the terms and constraints invoked by each author's copyright. These works may not be reposted without the explicit permission of the copyright holder.