Signal Alignment for Humanoid Skeletons via the Globally Optimal Reparameterization Algorithm

Thomas W. Mitchel, Sipu Ruan, Gregory S. Chirikjian

Introduction

In the fields of robotics and computer vision, action recognition—the ability of a machine to identify human or robotic movements—is a fundamental task. A persistent challenge in this domain is temporal misalignment. Even when performing the same action, such as waving or walking, different subjects will move at varying speeds, incorporate different pauses, or start at different times.

Visualization of the data pipeline: RGB video frames, depth maps, and extracted humanoid skeletons for a waving action.

Traditionally, researchers have relied on Dynamic Time Warping (DTW) to align these signals. While effective, DTW suffers from quadratic computational complexity ($O(T^2)$), making it increasingly inefficient as sensor data frequency or sequence length grows. This paper introduces GORA-S, a variant of the Globally Optimal Reparameterization Algorithm, designed to provide a linear-time ($O(T)$) solution for aligning humanoid skeleton sequences.

Methodology: The Universal Standard Timescale

The core innovation of GORA-S is the mapping of all signals to a Universal Standard Timescale (UST). Unlike DTW, which performs pairwise comparisons, GORA-S reparameterizes each signal independently.

Comparison of two skeleton poses from a waving sequence, highlighting the upper-body joints used for alignment.

Mathematical Framework

  1. Variational Calculus: The algorithm employs the Euler-Lagrange equation to determine a mathematical "warping function" that minimizes the signal's rate of change.
  2. Lie Group Representation: Skeletons are treated as trajectories within the Lie group $SE(3)^n$, representing the 3D position and orientation of $n$ joints.
  3. Velocity-Based Metric: A cost function $g(t)$ is derived from the body velocities of these joint trajectories.
  4. Interpolation: To ensure continuity and allow comparison at any time instance, the authors use cubic minimum acceleration curves on $SE(3)$.

Experimental Evaluation

The researchers validated GORA-S using the NTU RGB+D Action Recognition Dataset. They focused on four specific upper-body actions: drinking water, clapping, cheering, and waving. By pruning skeletons to focus on the torso, arms, and head, they reduced noise from irrelevant lower-body movements.

Key Results

  • Computational Efficiency: GORA-S demonstrated a clear $O(T)$ complexity. For a 150-frame sequence, GORA-S processed the data in a fraction of a second, whereas standard DTW required nearly 40 seconds.
  • Accuracy and Stability: The algorithm achieved mean error rates comparable to DTW. Notably, its performance remained stable across varying sampling frequencies, as the decrease in error at higher frequencies perfectly offset the increased processing time.
  • Efficiency Metric: The authors introduced an "Alignment Inefficiency" metric ($\mathcal{I}$) to balance accuracy and runtime. GORA-S proved significantly more efficient than both standard DTW and FastDTW approximations.

Conclusion

GORA-S offers a mathematically elegant and computationally superior alternative to traditional signal alignment methods in robotics. By shifting from discrete combinatorial matching to continuous variational optimization, it enables real-time action recognition on complex 3D skeleton data. Future research will focus on improving robustness against sensor noise and exploring the algorithm's performance on more complex, multi-stage tasks.

Summary updated

BibTeX
@inproceedings{mitchel2018signal,
  author = {Thomas W. Mitchel and Sipu Ruan and Gregory S. Chirikjian},
  title = {{Signal Alignment for Humanoid Skeletons via the Globally Optimal Reparameterization Algorithm}},
  booktitle = {Humanoids},
  year = {2018},
  doi = {10.1109/humanoids.2018.8624999},
}
Figure