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

A Convex Formulation for Learning Task Relationships in Multi-Task Learning

Yu Zhang, Dit-Yan Yeung

TL;DR

This paper introduces Multi-Task Relationship Learning (MTRL), a novel framework that automatically learns how different tasks relate to one another. By using a convex regularization formulation, MTRL can identify positive correlations, negative correlations, and outlier tasks simultaneously, leading to significantly better generalization than traditional multi-task methods.

What Problem Does This Paper Address?

Multi-task learning (MTL) is built on the intuition that learning related tasks together—like a baby learning to recognize faces before learning to recognize other objects—improves performance. However, a major bottleneck in MTL is accurately characterizing the relationships between these tasks.

Most existing methods make rigid assumptions: they assume all tasks are positively related, share the same underlying features, or belong to distinct clusters. These assumptions often fail in the real world, where tasks might be negatively correlated (knowing one helps you know what the other is not) or entirely unrelated (outliers). Furthermore, previous attempts to learn these relationships automatically often resulted in non-convex optimization problems, which are computationally expensive and prone to getting stuck in local optima.

Methods

The authors propose a probabilistic framework based on matrix-variate normal distributions. The core of their approach is a regularization objective function that balances three things:

  1. Empirical Loss: How well the model fits the training data.
  2. Parameter Complexity: A penalty to prevent overfitting.
  3. Task Relationship Penalty: A term involving a task covariance matrix ($\Omega$) that models the relationships between task parameters.

The breakthrough here is proving that this objective function is jointly convex with respect to both the model parameters and the task relationships. To solve it efficiently, they use an alternating optimization procedure:

  • Step 1: Fix the relationship matrix ($\Omega$) and solve for the model parameters ($W$). This is an unconstrained convex problem that can be solved via a linear system or an SMO-like algorithm for large datasets.
  • Step 2: Fix the parameters ($W$) and solve for the relationship matrix ($\Omega$). The authors derived an analytical solution for this step, making the update incredibly fast.

The framework is versatile, supporting both symmetric MTL (learning all tasks at once) and asymmetric MTL (transferring knowledge to a new target task), as well as non-linear relationships through the "kernel trick."

Datasets

The authors evaluated MTRL across several diverse benchmarks:

  • Toy Problem: A synthetic regression dataset designed to test if the model could detect negative correlations.
  • SARCOS: A robot inverse dynamics dataset involving 7 tasks (degrees of freedom) and 21 input features.
  • Multi-Domain Sentiment: Amazon product reviews for four categories (Books, DVDs, Electronics, Kitchen Appliances), treated as a 4-task classification problem.
  • School Data: A large-scale dataset for predicting examination scores across 139 secondary schools in London.

Key Insights and Ideas

  • Negative Correlation is a Signal: Most MTL models only look for similarities. MTRL recognizes that knowing two tasks are opposites is just as informative for reducing the search space of model parameters.
  • Convexity Guarantees Reliability: By formulating the problem as a convex optimization, the authors ensure that the algorithm will always find the global optimum, regardless of how it is initialized.
  • Automatic Outlier Detection: Because $\Omega$ is learned from data, the model can naturally "ignore" outlier tasks by assigning them low covariance with other tasks, preventing them from degrading the performance of the group.
  • Fast Convergence: As shown in the paper's experiments, the objective function typically converges in fewer than 15 iterations.
Convergence of the objective function on the SARCOS dataset, showing rapid stabilization.

Key Results

MTRL consistently outperformed Single-Task Learning (STL), Multi-Task Feature Learning (MTFL), and Multi-Task Gaussian Processes (MTGP).

  • Identifying Relationships: In the toy problem, MTRL successfully identified a near-perfect negative correlation (-0.9985) between tasks designed to be opposites.
  • Robotics (SARCOS): MTRL achieved the lowest normalized mean squared error (nMSE) across almost all tasks. For the 5th degree of freedom, it reached an nMSE of 0.0045, significantly better than STL's 0.0500.
  • Sentiment Analysis: MTRL maintained a performance edge even as training data size varied (10%, 30%, and 50% of the dataset), confirming its robustness.
  • School Data: MTRL achieved the highest "Explained Variance" at 29.9%, surpassing all other tested methods.
Table 4: Comparison of different methods on school data.

Limitations and Future Work

While MTRL is efficient, the authors note that for extremely large-scale datasets, the computational cost of solving the linear system in the parameter update step can still be high. They suggest using dual forms and SMO algorithms to mitigate this.

For future work, the authors plan to incorporate unlabeled data into the framework using manifold regularization, potentially boosting performance in scenarios where labeled data is scarce but raw data is plentiful.

Summary updated

BibTeX
@misc{zhang2012convex,
  author = {Yu Zhang and Dit-Yan Yeung},
  title = {{A Convex Formulation for Learning Task Relationships in Multi-Task Learning}},
  year = {2012},
  eprint = {1203.3536},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1203.3536},
}
Figure