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

Convex Multi-Task Learning by Clustering

Aviad Barzilai, Koby CrammerAISTATS 2015

Abstract

Multi-task learning (MTL) seeks to improve predictive performance by sharing information across related tasks. However, identifying which tasks should share information is a non-convex challenge often prone to local optima. We present a convex framework for multi-task learning by clustering, termed ASAP-MT. By relaxing the discrete task-assignment problem into a continuous association matrix, we formulate a saddle-point objective that ensures global optimality. Our method demonstrates superior performance on synthetic benchmarks and large-scale sentiment analysis datasets, effectively discovering latent task structures.

Introduction

In machine learning, we often face a "Goldilocks" problem. Training a single massive model on all data ignores individual nuances (high bias), while training separate models for every user often suffers from data scarcity (high noise). Multi-task learning (MTL) aims for the "just right" middle ground by grouping related tasks.

Traditional clustering-based MTL methods face a "chicken and egg" problem: to cluster tasks, one needs good models; to build good models, one needs to know the clusters. This typically results in non-convex optimization problems, like K-means, which are sensitive to initialization and often converge to poor local minima. In "Convex Multi-Task Learning by Clustering," Barzilai and Crammer introduce a mathematically elegant, convex approach to overcome these limitations.

Methods: The ASAP-MT Framework

The authors rethink task relationships through a unified convex lens. The models for all tasks are represented as a matrix $W$, assumed to be factorable into $F \times G$, where $F$ represents cluster prototypes and $G$ assigns tasks to those clusters.

To avoid the pitfalls of discrete assignments, the authors employ a convex relaxation. They shift the focus from specific assignments to a cluster association matrix ($E$), which describes the probability of any two tasks belonging to the same group. This transformation allows the learning objective to be expressed as a saddle-point (min-max) problem, enabling the joint learning of task models and clustering structures in a single, unified framework. The resulting algorithm, ASAP-MT (Saddle-Point Formulation for Multi-Task Learning), provides versions for both Hinge and Logistic loss functions.

Experimental Evaluation

The researchers evaluated ASAP-MT on both synthetic and real-world datasets:

  • Synthetic Data: The "XOR" and "PLUS" datasets were used to test the algorithm's ability to identify hidden group structures in 2D space.
  • Amazon Product Reviews: A massive dataset covering 32 domains (e.g., books, electronics). By varying star-rating thresholds, the authors created 192 distinct tasks to test sentiment analysis performance.
Synthetic data clusters (XOR/PLUS) used to evaluate the algorithm's ability to recover hidden task structures.

Key Results and Insights

ASAP-MT consistently outperformed state-of-the-art methods like GO-MTL and SHAMO on sentiment analysis benchmarks.

  1. Global Optimality: By ensuring convexity, the authors eliminated the performance variance caused by random initializations in previous methods.
  2. Structural Discovery: The matrix $E$ acts as a learned similarity map. In the Amazon experiments, the model successfully "discovered" the latent ways labels were generated, grouping the 192 tasks back into their logical categories based on shared vocabulary and sentiment styles.
  3. Balanced Clustering: A penalty parameter ($\kappa$) prevents trivial solutions where all tasks are merged into a single giant group, ensuring the model finds meaningful, balanced clusters.
The learned association matrix (E) acts as a similarity map, revealing the underlying structure of the task space.

Conclusion and Future Work

ASAP-MT provides a robust, globally optimal solution for clustering-based multi-task learning. While powerful, the approach faces computational challenges; the projection step involves an Eigen-decomposition that scales at $O(T^3)$ relative to the number of tasks. Future work may focus on improving scalability for tens of thousands of tasks and establishing formal theoretical generalization bounds for this convex clustering formulation.

Summary updated

BibTeX
@inproceedings{barzilai2015convex,
  author = {Aviad Barzilai and Koby Crammer},
  title = {{Convex Multi-Task Learning by Clustering}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2015},
}
Figure