NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Infinite Shift-invariant Grouped Multi-task Learning for Gaussian Processes

Yuyang Wang, Roni Khardon, Pavlos ProtopapasarXiv 2012

Abstract

Multi-task learning leverages shared information among data sets to improve the learning performance of individual tasks. This paper applies this framework for data where each task is a phase-shifted periodic time series. In particular, we develop a novel Bayesian nonparametric model capturing a mixture of Gaussian processes where each task is a sum of a group-specific function and a component capturing individual variation, in addition to each task being phase shifted. We develop an efficient EM algorithm to learn the parameters of the model. As a special case we obtain the Gaussian mixture model and EM algorithm for phased-shifted periodic time series. Furthermore, we extend the proposed model by using a Dirichlet Process prior and thereby leading to an infinite mixture model that is capable of doing automatic model selection. A Variational Bayesian approach is developed for inference in this model. Experiments in regression, classification and class discovery demonstrate the performance of the proposed models using both synthetic data and real-world time series data from astrophysics. Our methods are particularly useful when the time series are sparsely and non-synchronously sampled.

Introduction

In many scientific domains, researchers face the challenge of learning models for multiple related tasks where individual datasets are extremely sparse. A prominent example is found in astrophysics, where light curves (brightness over time) for thousands of stars may be available, but each star is observed only a handful of times. Standard Multi-task Learning (MTL) addresses this by sharing information across tasks, but it often fails when data is periodic and "out of sync."

This paper addresses two major hurdles in periodic MTL:

  1. Phase Shifts: Periodic data often follow the same underlying pattern but start at different points in their cycle. Most MTL models assume pre-aligned data.
  2. Unknown Grouping: The number of distinct task "types" is often unknown, making manual model selection computationally expensive.

Methodology

The core contribution is the Shift-invariant Grouped Mixed-effect Model (GMT) and its nonparametric extension, the DP-GMT. The model represents each task as the sum of a group-specific "average" function and a task-specific "individual" variation, both modeled as Gaussian Processes (GPs).

Graphical model representation of the proposed Shift-invariant Grouped Mixed-effect Model.

As shown in the graphical model above, the framework incorporates several key components:

  • Gaussian Process Mixture: GPs naturally handle uncertainty and non-linear shapes, allowing for robust modeling of both group-level trends and task-level nuances.
  • Shift-Invariance: A learnable phase-shift parameter ($t_j$) is included for each task, allowing the algorithm to align periodic tasks during the learning process rather than as a preprocessing step.
  • Dirichlet Process (DP) Prior: By employing a DP prior (via the stick-breaking construction), the model becomes an "infinite mixture" that adaptively determines the optimal number of clusters based on the data.
  • Inference: The authors derive an efficient Expectation-Maximization (EM) algorithm for fixed-order models and a Variational EM approach for the DP-GMT, facilitating fast parameter estimation.

Experimental Evaluation

The model was evaluated using both synthetic and real-world datasets:

  • Synthetic Data: Tasks generated from three distinct GP groups with random phase shifts were used to benchmark performance against varying sample sizes.
  • OGLEII Astrophysics Data: This dataset contains 14,087 light curves from periodic variable stars (Cepheids, RR Lyrae, and Eclipsing Binaries). These are notoriously difficult to classify due to sparse, non-synchronous sampling.

Key Results

  • Classification Accuracy: On the OGLEII dataset, the proposed method achieved approximately 95% accuracy, matching highly-tuned Gaussian Mixture Models and outperforming 1-Nearest Neighbor approaches.
  • Robustness to Sparsity: In synthetic tests with only 5–10 samples per task, the GMT model significantly outperformed single-task models. While single-task learning requires ~100 data points to stabilize, the grouped MTL approach maintains high accuracy by "borrowing" strength from the cluster.
  • Automatic Model Selection: The DP-GMT achieved the same accuracy as models tuned via the Bayesian Information Criterion (BIC) but required only a single pass, demonstrating efficient class discovery.

Conclusion

By treating phase alignment as an integral part of the probabilistic model, the GMT framework identifies cleaner patterns in periodic data. While the current GP-based approach scales cubically ($O(N^3)$), future work will focus on sparse GP approximations for larger datasets and integrating period estimation directly into the Bayesian framework. Additionally, developing discriminative versions of the model could allow for "abstention" when a task does not fit any known category.

Summary updated

BibTeX
@misc{wang2012infinite,
  author = {Yuyang Wang and Roni Khardon and Pavlos Protopapas},
  title = {{Infinite Shift-invariant Grouped Multi-task Learning for Gaussian Processes}},
  year = {2012},
  eprint = {1203.0970},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1203.0970},
}
Figure