Learning Multiple Tasks using Manifold Regularization

Arvind Agarwal, Hal Daumé Iii, Samuel GerberNeurIPS 2010

Introduction

Multitask learning (MTL) is built on the premise that learning related tasks together is more effective than learning them in isolation. The "secret sauce" of any MTL algorithm is how it defines and leverages this "relatedness."

Historically, most researchers have assumed that task parameters share a common linear subspace—essentially, that they all live on a flat sheet tilted in a high-dimensional space. However, real-world relationships are rarely that simple. If the underlying relationship between tasks is non-linear, forcing a linear assumption can lead to negative transfer, a phenomenon where the MTL model actually performs worse than if each task had been trained individually (Single Task Learning, or STL).

To address this limitation, this paper introduces a novel MTL framework that assumes task parameters lie on a non-linear manifold. By using the projection distance to an explicitly learned manifold as a regularizer, the authors achieve superior performance over standard methods and significantly reduce the risk of negative transfer.

Methods: Alternating Optimization and Manifold Regularization

The authors propose an alternating optimization framework that cycles between learning the tasks and learning the geometric structure that connects them:

  1. Initialize: Learn each task independently using standard methods (like SVMs or Linear Regression).
  2. Manifold Learning: Take the parameters from all tasks and fit a non-linear manifold to them. The authors use the concept of "principal surfaces" and kernel regression to create an explicit parametric representation of this manifold.
  3. Task Learning with Regularization: Re-learn the task parameters, but this time add a penalty term: the projection distance from the task's parameters to the learned manifold.
Projection distance to the manifold
  1. Repeat: Iterate these steps until convergence.

The "Convex Trick": To make this computationally feasible, the authors introduce a clever approximation. When updating task parameters, they treat the projection point on the manifold as fixed. This preserves the convexity of the original single-task learning problem, meaning existing "black box" solvers can be used with only minor modifications. Furthermore, once the manifold is fixed, the MTL problem decomposes into independent tasks, allowing for easy parallelization.

Experimental Results

The method was evaluated across three distinct datasets to test its ability to recover non-linear structures and avoid negative transfer.

1. Synthetic Dataset (Swiss Roll)

Task parameters were sampled from a 3D "Swiss Roll" manifold. The manifold method successfully recovered the non-linear structure, achieving a mean performance improvement (reduction in RMSE) of +0.0131 over STL. In contrast, the linear baseline suffered from negative transfer, performing -0.0204 worse than independent learning.

2. Computer Survey Dataset

This dataset consists of 190 students rating 20 different personal computers based on 13 characteristics, with each student treated as a "task."

MTL vs STL performance on the Computer Survey dataset

As shown in the results, the linear MTL baseline (green crosses) actually performed worse than independent learning (points above the red line). The manifold approach (blue dots), however, showed significant gains, demonstrating robustness to negative transfer when task relationships are inherently non-linear.

3. School Dataset

Using exam scores of 15,362 students from 139 schools in London (each school treated as a separate task), the manifold method performed roughly equally to the linear baseline. This highlights an important feature: when the underlying relationship is linear, the manifold approach is flexible enough to discover it and match baseline performance without penalty.

Key Insights and Limitations

  • Explicit vs. Implicit Manifolds: Unlike many manifold methods that use graph Laplacians (which are "transductive" and hard to apply to out-of-sample data), this method learns an explicit representation. This makes it easy to incorporate a brand-new task into the existing manifold without retraining the entire system.
  • Task Volume: Manifold learning generally requires a sufficient number of "points" (tasks) to accurately map the surface. If only a handful of tasks are available, the manifold estimation might be noisy.
  • Computational Overhead: Although the convex approximation is efficient, the alternating optimization still requires multiple passes over all tasks, making it more computationally expensive than a single STL training run.

Summary updated

BibTeX
@inproceedings{agarwal2010learning,
  author = {Arvind Agarwal and Hal Daumé III and Samuel Gerber},
  title = {{Learning Multiple Tasks using Manifold Regularization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2010},
  url = {https://openreview.net/forum?id=Sybp0vbu-S},
}
Figure