Abstract
Traditional Group Activity Recognition (GAR) models often suffer from "scene bias," relying on background visual cues rather than human interactions. We present COMPOSER, a Multiscale Transformer architecture that recognizes group activities using only human keypoints. By hierarchically modeling four semantic scales—keypoints, persons, interactions, and groups—COMPOSER achieves state-of-the-art performance on challenging benchmarks while ensuring privacy and robustness to environmental changes.
Introduction
Group Activity Recognition (GAR) involves identifying collective actions, such as a "spike" in volleyball or "queuing" in a line. Traditionally, models rely on RGB video data, which introduces three major flaws:
- Scene Bias: Models often "cheat" by recognizing the background (e.g., a volleyball court) rather than the actual human interactions. If tested in a different environment, these models frequently fail.
- Privacy & Ethics: Raw video contains sensitive information like faces and locations that users may not wish to share.
- Complexity: Reasoning about a crowd is inherently difficult, requiring a model to understand individual actions, pairwise interactions, and cohesive group dynamics simultaneously.
COMPOSER addresses these issues by ditching pixels entirely and focusing on the "skeleton" of the action through human keypoints. This approach forces the model to learn the fundamental logic of the activity rather than the look of the stadium.
Methods: A Multiscale Transformer Approach
The core of COMPOSER is a Multiscale Transformer that treats a video as a hierarchy of semantic tokens. The model operates across four distinct scales:
- Scale 1 (Keypoint): Individual joints (wrists, knees, etc.) over time.
- 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 all actors.
Technical Innovations
To ensure the model learns consistent features across these levels, COMPOSER uses a Contrastive Clustering mechanism with "swapped prediction." The model attempts to predict the cluster assignment of one scale (e.g., Person) using the representation from another (e.g., Interaction), forcing different levels of the hierarchy to "agree" on the activity.
Furthermore, the model employs Keypoint-Specific Augmentation, such as "Actor Dropout" (randomly removing a person) and spatial shifts, to remain robust against noisy detections. During training, Auxiliary Predictions are made at every scale, serving as a strong regularizer for the final group activity classification. By explicitly modeling interactions as nodes in a Transformer rather than just edges in a graph, COMPOSER captures higher-order relationships more effectively.
Key Results and Insights
COMPOSER was evaluated on the Volleyball Dataset (VD) and the Collective Activity Dataset (CAD). Crucially, the authors focused on the "Olympic split" of the VD, where training and testing videos come from completely different venues—the ultimate test for scene bias.
- Superior Generalization: COMPOSER achieved 95.1% accuracy on the Olympic split, a +5.4% improvement over previous state-of-the-art methods.
- Beating RGB: COMPOSER outperformed several well-known models that had access to full RGB video, proving that scene bias actually hinders performance in diverse environments.
- Efficiency: The model is significantly lighter than competitors, requiring only 297M FLOPs compared to 595M for leading alternatives like GroupFormer.
The paper proves that for structured activities, the geometric motion of skeletons is often more informative and generalizable than raw pixels. By removing RGB data, the model is forced to learn the logic of the game rather than the look of the stadium.
Conclusion
COMPOSER demonstrates that hierarchical, keypoint-based modeling is a powerful alternative to traditional video recognition. By stripping away pixels, the model learns the fundamental logic of group behavior, resulting in a more efficient, private, and robust system. While the current model excels in "clean" sports and pedestrian data, future work may explore hybrid models for activities involving heavy interaction with background objects.
Summary updated