NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

COMPOSER: Compositional Reasoning of Group Activity in Videos with Keypoint-Only Modality

Honglu Zhou, Asim Kadav, Aviv Shamsian, Shijie Geng, Farley Lai, Long Zhao, Ting Liu, Mubbasir Kapadia, Hans Peter Graf

Abstract

Group Activity Recognition detects the activity collectively performed by a group of actors, which requires compositional reasoning of actors and objects. We approach the task by modeling the video as tokens that represent the multi-scale semantic concepts in the video. We propose COMPOSER, a Multiscale Transformer based architecture that performs attention-based reasoning over tokens at each scale and learns group activity compositionally. In addition, prior works suffer from scene biases with privacy and ethical concerns. We only use the keypoint modality which reduces scene biases and prevents acquiring detailed visual data that may contain private or biased information of users. We improve the multiscale representations in COMPOSER by clustering the intermediate scale representations, while maintaining consistent cluster assignments between scales. Finally, we use techniques such as auxiliary prediction and data augmentations tailored to the keypoint signals to aid model training. We demonstrate the model’s strength and interpretability on two widely-used datasets (Volleyball and Collective Activity). COMPOSER achieves up to +5.4% improvement with just the keypoint modality.

Introduction

Group Activity Recognition (GAR) is the task of identifying collective actions in video, such as "spiking" in volleyball or "crossing" in a street scene. Traditional GAR models rely on RGB video frames, which present three major hurdles: privacy risks associated with identifiable faces, scene bias where models learn background textures instead of human movement, and the inherent complexity of reasoning across different granularities.

Overview of the COMPOSER framework showing the four hierarchical scales and the performance advantage of keypoint-only modality on the Volleyball Olympic split.

COMPOSER addresses these challenges by utilizing a keypoint-only modality. By stripping away pixels and focusing on coordinate data, the model acts as a "bias filter," forcing the system to learn the geometry of action rather than the specific venue. As shown in Figure 1, this approach significantly outperforms RGB-based methods on venue-agnostic benchmarks like the Volleyball Olympic split.

Methodology

Hierarchical Semantic Tokens

COMPOSER treats a video as a hierarchy of semantic tokens across four scales:

  • Scale 1 (Keypoint): Individual joints (e.g., wrists, knees).
  • Scale 2 (Person): Aggregated keypoints representing a single actor.
  • Scale 3 (Interaction): Tokens representing person-to-person relationships.
  • Scale 4 (Group): The collective representation of the entire scene.

Multiscale Transformer Architecture

Unlike standard Transformers that process tokens at a single level, COMPOSER uses Multiscale Transformer blocks. Information flows from fine to coarse: keypoint representations are refined via self-attention, aggregated into person tokens, and subsequently used to form interaction and group tokens. This structure allows the model to perform compositional reasoning, explicitly modeling the steps from individual joints to the final group activity.

The COMPOSER architecture, illustrating the flow of tokens through Multiscale Transformer blocks and the auxiliary clustering tasks used for scale agreement.

Scale Agreement via Contrastive Clustering

A core innovation of COMPOSER is the Scale Agreement objective. While different scales focus on different granularities, they should maintain semantic consistency regarding the overall activity. The model employs a swapped prediction mechanism where it clusters representations at each scale and tasks the model with predicting the cluster assignment of one scale using features from another. This forces the learning of consistent high-level semantic features across the hierarchy.

Experiments and Results

Performance and Generalization

The model was evaluated on the Volleyball Dataset (VD) and the Collective Activity Dataset (CAD). On the challenging Volleyball "Olympic split," which features completely different venues for training and testing, COMPOSER achieved 95.1% accuracy, a +5.4% improvement over the previous state-of-the-art. On CAD, it reached 96.2%, outperforming complex multimodal competitors (RGB + Optical Flow + Keypoints).

Efficiency

Beyond accuracy, COMPOSER is computationally efficient. It requires only 297M FLOPs, compared to the 595M FLOPs of high-performing competitors like GroupFormer, making it a viable candidate for real-time applications.

Conclusion

COMPOSER demonstrates that compositional reasoning over hierarchical keypoint tokens is not only a privacy-preserving alternative to RGB-based methods but also a more robust one. By enforcing semantic agreement across scales and focusing on the geometry of human interaction, COMPOSER effectively "sees the forest and the trees," leading to superior generalization in group activity recognition.

Summary updated

BibTeX
@inproceedings{zhou2022composer,
  author = {Honglu Zhou and Asim Kadav and Aviv Shamsian and Shijie Geng and Farley Lai and Long Zhao and Ting Liu and Mubbasir Kapadia and Hans Peter Graf},
  title = {{COMPOSER: Compositional Reasoning of Group Activity in Videos with Keypoint-Only Modality}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=fZegoq-qks},
}
Figure