Abstract: We present a novel framework for the automatic discovery and recognition of motion primitives in videos of human activities. Given the 3D pose of a human in a video, human motion primitives are discovered by optimizing the 'motion flux', a quantity which captures the motion variation of a group of skeletal joints. A normalization of the primitives is proposed in order to make them invariant with respect to a subject anatomical variations and data sampling rate. The discovered primitives are unknown and unlabeled and are unsupervisedly collected into classes via a hierarchical non-parametric Bayes mixture model. Once classes are determined and labeled they are further analyzed for establishing models for recognizing discovered primitives. Each primitive model is defined by a set of learned parameters. Given new video data and given the estimated pose of the subject appearing on the video, the motion is segmented into primitives, which are recognized with a probability given according to the parameters of the learned models. Using our framework we build a publicly available dataset of human motion primitives, using sequences taken from well-known motion capture datasets.
1. Introduction
Human activity recognition is a cornerstone of computer vision, yet many existing methods attempt to map complex, high-level activities directly from raw pixels. This approach often ignores the compositional nature of human movement. Activities such as "cooking" or "running" are built from atomic, simpler movements known as "motion primitives" (e.g., elbow flexion, shoulder abduction).
This paper introduces a fully automated framework to discover, segment, and recognize these fundamental building blocks directly from video. By parsing video into a sequence of known primitives, we establish a view-invariant and subject-independent language for understanding human behavior, which is particularly useful in fields like surveillance and human-robot interaction.
2. Methodology
The proposed pipeline moves from raw video input to recognized motion primitives through several distinct stages: pose estimation, segmentation via motion flux, and unsupervised clustering.
2.1 3D Pose Estimation and Joint Grouping
The system first extracts 3D skeletal joint positions using off-the-shelf pose estimators. To facilitate meaningful analysis, the human skeleton is divided into six functional groups: head, torso, left/right arm, and left/right leg. This grouping allows the system to analyze local joint dynamics independently.
2.2 Motion Flux and Segmentation
A core innovation of this work is the introduction of "motion flux," a physics-inspired metric that captures the variation in velocity for a group of joints. By maximizing an energy function based on motion flux, the system automatically identifies the start and end points of primitives, effectively segmenting continuous trajectories into discrete intervals bounded by stationary poses.
2.3 Unsupervised Clustering and Recognition
Segmented primitives are initially unknown and unlabeled. They are clustered using a Dirichlet Process Mixture (DPM) model, a non-parametric Bayesian approach that discovers the natural number of primitive classes within the data. Once classes are formed, they are modeled using geometric features of the 3D trajectories, such as curvature and torsion. These models allow new, unseen primitives to be probabilistically matched to the learned vocabulary.
3. Experimental Evaluation
3.1 Primitive Discovery and Recognition
The framework was validated using standard Motion Capture (MoCap) datasets, including Human3.6M and the CMU MoCap database. The motion flux method identified primitive boundaries with a Mean Absolute Error (MAE) of only 3.3 frames. Recognition accuracy reached 85% on ground-truth MoCap data and remained robust at 81% when using 3D poses estimated directly from 2D video.
3.2 Application to Surveillance
To test the utility of these primitives, the authors applied the framework to surveillance datasets like UCF-Crime and Hockey Fights. By feeding the sequence of recognized primitive labels into a Support Vector Machine (SVM), the system achieved state-of-the-art anomaly detection. Notably, it reached Area Under the Curve (AUC) scores of 98.44% on Hockey Fights and 91.92% on UCF101, demonstrating that primitives provide a powerful abstraction that strips away visual noise (lighting, clothing) to focus on pure behavior.
4. Discussion and Conclusion
A significant finding of this research is that unsupervised clustering naturally "rediscovers" biomechanics. The 69 classes identified by the DPM model aligned perfectly with standard anatomical terms like "knee flexion" and "hip abduction," suggesting the algorithm captures the fundamental constraints of human anatomy.
While the framework currently relies on the accuracy of underlying 3D pose estimators and operates offline, it provides an objective method for categorizing human motion. The release of a new, publicly available Dataset of Human Motion Primitives marks a significant step toward more interpretable and robust human activity analysis.
Summary updated