Clustered Multi-Task Learning Via Alternating Structure Optimization

Jiayu Zhou, Jianhui Chen, Jieping Ye

TL;DR

This paper reveals a surprising mathematical equivalence between two popular multi-task learning (MTL) approaches: Alternating Structure Optimization (ASO), which focuses on shared features, and Clustered Multi-Task Learning (CMTL), which groups similar tasks. By proving they are two sides of the same coin, the authors develop a convex relaxation that is significantly more efficient for high-dimensional data, outperforming traditional methods in both speed and accuracy.

The Challenge of Modeling Relatedness in Multi-Task Learning

In machine learning, Multi-Task Learning (MTL) aims to improve a model's performance on a specific task by learning it simultaneously with other related tasks. The core challenge lies in how to mathematically model this "relatedness."

Historically, researchers took two conceptually different paths:

  1. ASO (Feature-centric): Assumes all tasks share a common low-dimensional "structure" or subset of features.
  2. CMTL (Task-centric): Assumes tasks naturally fall into clusters, where tasks within a group are more similar to each other than to those in other groups.

Both approaches typically involve non-convex optimization, meaning they are computationally difficult to solve and do not guarantee a globally optimal solution. Furthermore, while they seem conceptually distinct, practitioners have long wondered if one approach is inherently superior to the other.

Methods: Unifying ASO and CMTL

The authors provide a rigorous mathematical proof that ASO and CMTL are equivalent when the number of clusters in CMTL matches the dimensionality of the shared feature space in ASO. They demonstrate that both methods essentially minimize the same objective: a regularization term related to the negative Ky Fan $k$-norm of the weight matrix.

To translate this theoretical insight into a practical tool, the authors introduce several key innovations:

  • Convex Relaxation: They propose a convex version of CMTL (cCMTL). While a convex version of ASO (cASO) already existed, the authors show that their cCMTL formulation is mathematically equivalent but computationally superior.
  • The Dimensionality Trick: In cASO, the size of the optimization variable depends on the number of features ($d$). In cCMTL, it depends on the number of tasks ($m$). Because many real-world datasets have far more features than tasks ($d \gg m$), optimizing in the task space makes cCMTL much faster and less memory-intensive.
  • Algorithms: They introduce three specific algorithms to solve the cCMTL formulation:
  • altCMTL: An alternating optimization method (similar to block coordinate descent).
  • apgCMTL: An accelerated projected gradient method.
  • graCMTL: A direct gradient descent method.

Datasets Evaluated

The authors evaluated their approach across several domains:

  • Synthetic Data: Created with 5 clusters and 100 tasks to verify the model's ability to recover hidden structures.
  • School Dataset: Exam scores of 15,362 students from 139 secondary schools (tasks), using 27 attributes.
  • Sarcos Dataset: Kinematics data from a seven-degree-of-freedom robot arm (regression tasks).
  • Yahoo Arts: Used specifically for efficiency and sensitivity studies.

Key Insights

  • The Unified View: The most significant breakthrough is the realization that "projecting features" and "clustering tasks" are mathematically identical operations under the hood. This bridges a major gap between two previously distinct sub-fields of MTL.
  • Efficiency via Duality: By switching the optimization focus from the feature space ($d$) to the task space ($m$), the authors found a way to solve the same complex problem with a fraction of the computational cost for high-dimensional data.
  • Global Optimality: Because the new formulation is convex, researchers can finally find the true "best" solution without getting stuck in the local optima that plagued original ASO and CMTL implementations.

Key Results

Accuracy and Structure Recovery

On the School dataset, cCMTL consistently achieved a lower Normalized Mean Square Error (nMSE) than both Single Task Learning (RidgeSTL) and standard Regularized MTL (RegMTL). For example, at a 10% training ratio, cCMTL achieved an nMSE of ~1.08 compared to RidgeSTL's ~1.39.

Beyond raw accuracy, visualization of the correlation matrices showed that cCMTL successfully identified underlying task clusters that RidgeSTL and RegMTL missed or blurred.

Comparison of correlation matrices showing cCMTL closely matching the ground truth structure compared to baselines.

Speed and Scalability

Sensitivity studies confirmed that as the number of features ($d$) increases, the computation cost for cCMTL stays relatively flat compared to methods that scale with $d$. Among the three proposed algorithms, altCMTL emerged as the most efficient, particularly as the number of tasks grows.

Computation time comparisons demonstrating altCMTL's efficiency as task numbers scale.

Limitations and Future Work

  • SVD Bottleneck: The proposed algorithms rely heavily on Singular Value Decomposition (SVD). While efficient for many standard cases, SVD becomes computationally expensive if the number of tasks ($m$) scales into the tens of thousands.
  • Future Directions: The authors suggest exploring approximation methods to bypass the full SVD calculation. They also plan to apply these algorithms to more diverse real-world applications involving complex, clustered task structures.

Summary updated

BibTeX
@inproceedings{zhou2011clustered,
  author = {Jiayu Zhou and Jianhui Chen and Jieping Ye},
  title = {{Clustered Multi-Task Learning Via Alternating Structure Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2011},
}
Figure