Aligned Multi-Task Gaussian Process

Olga Mikheeva, Ieva Kazlauskaite, Adam Hartshorne, Hedvig Kjellström, Carl Henrik Ek, Neill D. F. Campbell

Abstract

Multi-task learning (MTL) leverages correlations between related tasks to improve predictive performance. However, standard MTL models often assume temporal synchronization, which is frequently violated in real-world applications like physiological monitoring or facial expression tracking. We introduce the Aligned Multi-Task Gaussian Process (AMTGP), a generative framework that explicitly models temporal misalignment as a stochastic warping process. By employing monotonic warping functions defined via Ordinary Differential Equations (ODEs) and utilizing efficient path-wise sampling, AMTGP achieves robust alignment and provides well-calibrated uncertainty estimates, even in the presence of significant missing data.

Introduction

Multi-task learning is a powerful paradigm for "borrowing strength" across related signals. Yet, a fundamental challenge arises when these signals are misaligned in time. For instance, in recording heartbeats or tracking facial landmarks, individual variations in reaction speed or sensor delays introduce phase shifts. Standard methods often interpret these shifts as noise, leading to degraded predictions and overconfident error estimates.

Misaligned multi-task time-series data where phase shifts can be mistaken for noise.

Methods

AMTGP decomposes the multi-task problem into an underlying signal model and a temporal warping model. The signal is represented by a Multi-Task Gaussian Process (MTGP) that captures inter-task correlations. The temporal warp is modeled as a set of latent, monotonic functions mapping observed time to an idealized reference time.

To ensure monotonicity, these functions are defined as solutions to ODEs with GP drift. Unlike previous point-estimate approaches, AMTGP performs full Bayesian inference, marginalizing over the warping functions to account for alignment uncertainty. Efficiency is maintained through path-wise sampling, allowing the model to scale linearly with the number of observations ($N$).

Experimental Evaluation

The model was validated on four distinct datasets:

  • Synthetic Data: 1D functions with random monotonic warps and artificial missing segments.
  • RAVDESS: Facial landmark tracking of emotional speech.
  • Heartbeat Sounds: Patterns recorded via digital stethoscopes with varying heart rates.
  • Respiratory Motion: Physiological data tracking liver motion during breathing.

Results and Discussion

A key strength of AMTGP is its performance under data sparsity. In scenarios with continuous missing segments (Scenario S3), AMTGP significantly outperformed unaligned MTGPs and existing state-of-the-art methods like GP-LVA.

AMTGP alignment under missing data conditions. Note how the predictive variance correctly widens in the region where data is absent, reflecting alignment uncertainty.

On synthetic benchmarks, AMTGP achieved a Standardized Mean Squared Error (SMSE) of 0.058, compared to 0.157 for unaligned models. Furthermore, the model's ability to separate "what" (the signal) from "when" (the timing) enabled superior clustering of physiological patterns, such as heart sounds, despite significant temporal variation. The model's predictive variance correctly widens in regions where temporal alignment is ambiguous, providing a more honest assessment of its own limitations than point-estimate methods.

Conclusion

The Aligned Multi-Task Gaussian Process provides a principled Bayesian approach to the pervasive problem of misaligned signals. By explicitly modeling the warp, the latent representation of the signal remains clean and interpretable. Its ability to quantify uncertainty in both signal and alignment makes it a robust tool for complex, real-world multi-task learning applications.

Summary updated

BibTeX
@inproceedings{mikheeva2022aligned,
  author = {Olga Mikheeva and Ieva Kazlauskaite and Adam Hartshorne and Hedvig Kjellström and Carl Henrik Ek and Neill D. F. Campbell},
  title = {{Aligned Multi-Task Gaussian Process}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
}
Figure