Abstract
Learning robust representations of motion is a fundamental challenge in computer vision, complicated by high dimensionality, long-term temporal dependencies, and significant intra-class variation due to viewpoint changes. We present the Motion Capsule Autoencoder (MCAE), an unsupervised framework that decomposes motion into a hierarchical structure of "snippets" and "segments." By leveraging the properties of Capsule Networks, MCAE explicitly disentangles an action's semantic identity from its geometric pose. Our results demonstrate that MCAE achieves state-of-the-art performance in unsupervised action recognition while maintaining high parameter efficiency and robustness to viewpoint transformations.
Introduction
Understanding human and object motion is critical for applications ranging from autonomous driving to healthcare monitoring. However, traditional deep learning approaches often struggle with "transformation invariance"—the ability to recognize an action regardless of the camera's viewpoint or the performer's orientation. Most current models rely on extensive data augmentation to "learn" these variations, which is computationally expensive and often fails to generalize to unseen perspectives.
The Motion Capsule Autoencoder (MCAE) addresses these hurdles by design. Inspired by the human visual system's hierarchical perception, MCAE breaks down complex trajectories into localized, semantic-agnostic "snippets" which are then aggregated into semantic-aware "segments." By separating what an action is from how it is oriented in space, MCAE provides a more compact and interpretable representation of motion.
The Motion Capsule Autoencoder (MCAE)
The core of the MCAE architecture is a two-level capsule hierarchy designed to process motion signals, such as 3D skeleton joint coordinates.
Hierarchical Capsule Structure
- Snippet Capsules (SniCap): The lower level of the hierarchy divides a long motion sequence into short, local snippets. These capsules learn to represent short-term trajectories using a set of learned templates. They are "semantic-agnostic," focusing on the local geometry of the movement rather than the overall action category.
- Segment Capsules (SegCap): The higher level aggregates the outputs of multiple snippet capsules into full-length, "semantic-aware" segments. These segments represent the complete action or a significant part of it.
Disentangling Identity and Pose
Unlike standard neural networks that output scalar activations, MCAE capsules output both an activation and a pose matrix. The activation represents the probability that a specific motion pattern (template) is present in the input. The pose matrix captures the geometric transformation—including rotation, scale, and translation—applied to that template. This explicit separation allows the model to recognize a "walking" motion (activation) even if it is rotated or scaled differently (pose).
Unsupervised Training Objectives
MCAE is trained in a purely unsupervised manner using two primary objectives:
- Reconstruction Loss: The model must reconstruct the original motion signal from its compressed capsule representations. This ensures that the capsules capture all necessary information about the movement.
- Contrastive Learning: A self-supervised contrastive loss is employed to ensure that the semantic activations remain invariant to digital distortions (like jittering or rotation), while the pose parameters accurately track these changes.
Experimental Evaluation
The authors evaluated MCAE on both synthetic and real-world datasets to test its robustness and efficiency.
Trajectory20 (T20)
A new synthetic dataset, Trajectory20, was introduced to benchmark motion representation learning. It features 20 distinct, complex motion patterns (e.g., hexagons, lemniscates) with randomized transformations. In unsupervised settings, MCAE achieved 69.30% accuracy, significantly outperforming standard LSTMs (54.32%) and 1D-Convolutional networks (57.58%). Notably, MCAE achieved this with only one-fourth of the parameters required by the LSTM model.
Real-World Action Recognition
On the large-scale NTU RGB+D (60 & 120) datasets, MCAE set a new state-of-the-art for unsupervised skeleton-based action recognition. On the NTU60 Cross-View split, it reached 82.4% accuracy. The model's performance in "Cross-View" and "Cross-Setting" scenarios highlights its inherent advantage in handling viewpoint changes compared to traditional architectures.
Conclusion and Future Work
MCAE demonstrates that hierarchical capsule structures are highly effective for learning disentangled motion representations. By explicitly modeling geometric transformations, the framework achieves superior accuracy and parameter efficiency.
Future research will focus on extending MCAE to better handle the structural constraints of the human body (e.g., joint connectivity) and integrating geometric motion understanding with pixel-level visual information from video frames. While these advancements hold great promise for fields like ethology and human-computer interaction, the authors also emphasize the need for ethical oversight to prevent the misuse of high-performance motion tracking in surveillance.
Summary updated