Gaussian Process Latent Variable Alignment Learning.

Ieva Kazlauskaite, Carl Henrik Ek, Neill D. F. Campbell

Abstract

We present a model that can automatically learn alignments between high-dimensional data in an unsupervised manner. Our proposed method casts alignment learning in a framework where both alignment and the underlying data manifold are learned simultaneously. By leveraging Gaussian Process Latent Variable Models (GP-LVMs), we move beyond traditional pairwise similarity measures to a global generative model that handles noise and discovers hidden groupings in data automatically.

Introduction: The Challenge of Temporal Jitter

Sequential data—whether it is a heartbeat recording, a motion-capture clip of a golf swing, or climate patterns—rarely arrives perfectly synchronized. This phenomenon, known as "temporal jitter," occurs when different subjects perform tasks at varying speeds or when sensors sample at uneven rates.

Traditionally, researchers treat alignment as a pre-processing chore using tools like Dynamic Time Warping (DTW). However, DTW and its variants have significant flaws. They often fall into local minima during optimization, struggle with data corrupted by noise, and fail to handle the "Mixed Bag" problem—where a dataset contains sequences from multiple distinct categories (e.g., both "running" and "jumping"). In such cases, standard aligners attempt to force all sequences into a single, nonsensical global average.

The GP-LVA Framework

To overcome these hurdles, we propose the Gaussian Process Latent Variable Alignment (GP-LVA) model. Instead of simply warping sequences to match a reference, GP-LVA builds a generative model that explains the origin of the data.

Simultaneous Modeling and Clustering

The model learns three critical elements at once: the underlying "true" sequences (latent functions), the warping functions (how time is stretched or compressed for each sample), and a low-dimensional manifold. By using a GP-LVM backbone, the model naturally clusters sequences. If two sequences are similar after alignment, they are placed close together in the latent space, allowing the model to discover categories without supervision.

The GP-LVA process: (a) noisy and time-warped observations, (b) continuous functions fit to the data with uncertainty, and (c) the recovered true sequences and warping functions.

Technical Innovations

Two key mechanisms ensure the model's effectiveness:

  1. Pseudo-Observations: These act as a bridge, ensuring that the warping model and the latent manifold model remain consistent with one another.
  2. Monotonicity Constraint: To ensure time only flows forward, warping functions are parameterized using a cumulative sum of softmax-transformed variables. This prevents the model from producing physically impossible "backward" time warps.

Experimental Validation

The GP-LVA model was evaluated against state-of-the-art methods on several high-dimensional datasets:

  • Zhou et al. Benchmark: In synthetic tests with known ground truths, GP-LVA achieved significantly lower Mean Squared Error (MSE) in both alignment and warping compared to Generalized Time Warping (GTW) and Square Root Velocity Function (SRVF).
  • CMU Motion Capture Database: When applied to Subject 64 (golf motions), the model automatically separated swings, putts, and other actions into distinct, clean clusters in the latent space.
  • Heartbeat Sounds: Using data from the PASCAL Classifying Heart Sounds Challenge, the model proved robust to significant noise and temporal variation, producing much cleaner results than deterministic algorithms.

Conclusion

GP-LVA represents a significant step forward in unsupervised alignment. By treating alignment as a global inference problem rather than a local matching task, it avoids jagged results and provides automatic data clustering. While the $O(N^3)$ complexity of Gaussian Processes remains a bottleneck, sparse variational implementations make the framework scalable for many real-world applications. Future work will focus on automatic model selection and extending the framework to multi-modal data streams.

Summary updated

BibTeX
@inproceedings{kazlauskaite2019gaussian,
  author = {Ieva Kazlauskaite and Carl Henrik Ek and Neill D. F. Campbell},
  title = {{Gaussian Process Latent Variable Alignment Learning.}},
  booktitle = {AISTATS},
  year = {2019},
  url = {https://openreview.net/forum?id=4tLVcl4hS6u},
}
Figure