Non-linear Multitask Learning with Deep Gaussian Processes

Ayman Boustati, Theodoros Damoulas, Richard S. SavagearXiv 2019

TL;DR

This paper introduces a novel multi-task learning (MTL) framework using Deep Gaussian Processes (DGPs) that successfully captures complex, non-linear relationships between tasks. By structuring the latent space into shared and private processes and combining them through a non-linear warping layer, the authors achieve superior generalization and robustness against "negative transfer" compared to traditional linear models.

What Problem Does This Paper Address?

Multi-task learning aims to improve a model's performance on a specific task by leveraging information from related tasks. In the world of Gaussian Processes (GPs), most existing multi-task models rely on a linear coregionalization assumption. This assumes that tasks are simply linear combinations of some underlying latent processes.

However, real-world data rarely follows such simple rules. When task dependencies are non-linear, these traditional models struggle. They often fall victim to negative transfer, where forcing a model to share information between dissimilar or non-linearly related tasks actually decreases performance. The authors set out to build a more flexible, non-linear bridge between tasks while maintaining the probabilistic benefits of GPs, such as uncertainty quantification.

Figure 1: Comparison of linear (ICM-GP) vs non-linear (MTL-DGP) models on a toy dataset. The linear model fails to capture the complex relationship, while the non-linear DGP fits the ground truth closely.

Methods

The core of the proposal is a two-layer hierarchical DGP architecture:

  1. The Latent Layer: This layer extracts features from the input. The authors propose two ways to segment this space:
  2. Hard Sharing (mMDGP): The latent space is explicitly split into "shared" processes (common to all tasks) and "private" processes (unique to each task).
  3. Soft Sharing (sMDGP): All latent processes are shared, but the model uses Automatic Relevance Determination (ARD) kernels in the next layer to automatically decide which features are important for which task.
  4. The Warping Layer: Instead of a linear mixture, the features from the latent layer are fed into a task-specific GP. This allows the model to learn a highly complex, non-linear mapping from the shared/private features to the final output.

To make this computationally feasible, the authors extended the doubly stochastic variational inference framework. This allows the model to scale to larger datasets and handle cases where different tasks have observations at different input locations.

Figure 2: A graphical representation of the proposed non-linear multi-task DGP model. The unshaded circles represent latent variables, the shaded circles represent observed variables and the squares are computational graph nodes. Some circles are colour coded to match their corresponding terms in (1), (8) and (9).

Datasets

The authors evaluated their model across several challenging benchmarks:

  • Toy Dataset: A synthetic problem specifically designed with non-linear dependencies to highlight the limitations of linear mixing.
  • MNIST Variations: Three versions of the MNIST digits dataset (Standard, Images Background, and Random Background). This tests the model's ability to transfer knowledge from an easy task (clean digits) to harder ones (noisy backgrounds).
  • SARCOS Robot Dynamics: A high-dimensional regression dataset involving the inverse dynamics of a 7-degree-of-freedom robot arm (7 tasks).
  • FAIMS Diabetes Diagnosis: A real-world medical dataset involving binary classification tasks from urine sample analyses.

Key Insights and Ideas

  • Non-linearity is Essential: The toy example and MNIST experiments demonstrate that linear models are fundamentally limited. The non-linear warping layer in MTL-DGP is what allows it to "unscramble" complex task relationships.
  • ARD as a Guardrail: The use of ARD weights acts as a robust defense against negative transfer. If a task is unrelated to the shared information, the model can simply learn to ignore the shared latent processes for that specific task.
  • Feature Disentanglement: In the MNIST experiments, the model successfully learned to separate the "digit" signal (shared) from the "background noise" (task-specific).
Figure 3: Visualizing the learned inducing inputs for MNIST. The "Shared" component retains the digit structure, while the "Task-specific" component captures the background noise.

Key Results

  • MNIST Performance: On the most difficult "Random Background" MNIST task, the MDGP models outperformed all others, including multi-task neural networks, by a factor of nearly 50% in accuracy.
  • SARCOS Regression: The MDGP variants consistently achieved the lowest Negative Log Predictive Probability (NLPP) scores, indicating superior uncertainty quantification and predictive accuracy compared to shallow GP baselines.
  • Robustness: While the linear coregionalized DGP (cMDGP) suffered from negative transfer on the standard MNIST task when grouped with noisier tasks, the proposed mMDGP and sMDGP remained robust.
Figure 2: Average classification accuracy on MNIST variations. The MDGP models (red and blue) consistently outperform the multi-task GP baseline (dashed line) and neural network alternatives.

Limitations and Future Work

  • Architectural Complexity: While the framework allows for deeper architectures, the authors note that increasing depth adds significant complexity and might violate the intuitive generative assumptions of the model. They recommend deep extensions only when the problem structure strictly requires it.
  • Prior Selection: The authors suggest that exploring alternative prior processes, such as those inducing sparsity in the latent space, could further improve the model's ability to share information selectively.
  • Computational Cost: Although the variational approach makes the model practical, it is still more computationally intensive than shallow, linear GP models.

Summary updated

BibTeX
@misc{boustati2019non,
  author = {Ayman Boustati and Theodoros Damoulas and Richard S. Savage},
  title = {{Non-linear Multitask Learning with Deep Gaussian Processes}},
  year = {2019},
  eprint = {1905.12407},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.12407},
}
Figure