Abstract
In this paper, we propose a new framework to compare and classify temporal sequences. The proposed approach captures the underlying dynamics of the data while avoiding expensive estimation procedures, making it suitable to process large numbers of sequences. The main idea is to first embed the sequences into a Riemannian manifold by using positive definite regularized Gram matrices of their Hankelets. The advantages of this approach are: 1) it allows for using non-Euclidean similarity functions on the Positive Definite matrix manifold, which capture better the underlying geometry than directly comparing the sequences or their Hankel matrices, and 2) Gram matrices inherit desirable properties from the underlying Hankel matrices: their rank measures the complexity of the underlying dynamics, and the order and coefficients of the associated regressive models are invariant to affine transformations and varying initial conditions. The benefits of this approach are illustrated with extensive experiments in 3D action recognition using 3D joints sequences. In spite of its simplicity, the performance of this approach is competitive or better than using state-of-the-art approaches for this problem. Further, these results hold across a variety of metrics, supporting the idea that the improvement stems from the embedding itself, rather than from using one of these metrics.
The Challenge of Temporal Sequence Comparison
Comparing temporal sequences, such as the movement of 3D skeleton joints over time, is a complex task. Standard Euclidean distances often fail because identical actions can vary significantly in execution speed, start times, or viewing angles.
Existing solutions typically fall into two categories:
- Model-based approaches (e.g., HMMs): These are accurate but computationally expensive to train and infer, especially for high-order dynamics.
- Data-driven approaches (e.g., Dynamic Time Warping): These are more efficient but often struggle to find a metric that reflects the true structural dynamics of movement rather than raw coordinate changes.
This paper bridges the gap by introducing a representation that is as descriptive as a dynamical model but as efficient as a simple distance metric.
Methodology: Dynamics as Geometry
The core of the proposed framework is a three-step pipeline that treats movement dynamics as points on a curved manifold.
- Hankelet Construction: For a sequence of 3D joint velocities, a Hankel matrix is constructed. In control theory, the properties of a Hankel matrix (such as its rank) are directly related to the complexity of the underlying linear dynamical system.
- Gram Matrix Embedding: To facilitate comparison, Hankel matrices are converted into Gram matrices ($G = HH^\top$). Applying Frobenius normalization and a small regularization term ensures these matrices are Positive Definite (PD).
- Riemannian Manifold Mapping: These PD Gram matrices reside on a Riemannian manifold. Instead of Euclidean distance, manifold-specific metrics—such as the Affine Invariant Riemannian Metric (AIRM) or the Stein Divergence (JBLD)—are used to compare sequences.
This embedding is powerful because the Gram matrix inherits the invariance of the Hankel matrix, remaining robust against shifts in starting position or viewpoint rotations (affine transformations).
Key Insights
- Embedding over Metric: A significant finding was that the specific manifold metric used mattered less than the embedding itself. The Gram matrix representation does the "heavy lifting" of organizing the data's underlying geometry.
- Robustness: While raw Hankel matrices can lose descriptive power in noisy environments, comparing their Gram counterparts on a manifold remains highly robust.
- Efficiency: Because class means can be pre-computed on the manifold, classifying a new query trajectory requires only a few matrix operations.
Experimental Results
The framework was evaluated on four standard 3D action recognition benchmarks: MSR-Action3D, Berkeley MHAD, UTKinect-Action, and HDM05.
- State-of-the-Art Accuracy: On the MSR-Action3D dataset, the method achieved 96.97% accuracy, outperforming previous state-of-the-art methods by over 2%.
- Perfect Performance: The method achieved 100% accuracy on both the Berkeley MHAD and UTKinect datasets.
- Computational Speed: The approach offers dramatic speedups. While competing Lie Group methods can take hours, this framework processes the MSR-Action3D dataset in minutes. The UTKinect dataset was processed in just 13 seconds using the KLDM metric.
Conclusion and Future Work
While highly effective, the method requires tuning for hyperparameters like the regularization value and Hankel block row size. Additionally, it assumes that movement dynamics can be approximated by linear regressive models. Future research may explore integrating these manifold embeddings into deep learning architectures, using Gram matrices as robust input features for neural networks.
Summary updated