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

Semisoft Task Clustering for Multi-Task Learning

Yuzhao Zhang, Yifan Sun · DOI

Abstract

Multi-task learning (MTL) aims to improve the performance of multiple related prediction tasks by leveraging useful information from them. Due to their flexibility and ability to reduce unknown coefficients substantially, the task-clustering-based MTL approaches have attracted considerable attention. Motivated by the idea of semisoft clustering of data, we propose a semisoft task clustering approach, which can simultaneously reveal the task cluster structure for both pure and mixed tasks as well as select the relevant features. The main assumption behind our approach is that each cluster has some pure tasks, and each mixed task can be represented by a linear combination of pure tasks in different clusters. To solve the resulting non-convex constrained optimization problem, we design an efficient three-step algorithm. The experimental results based on synthetic and real-world datasets validate the effectiveness and efficiency of the proposed approach. Finally, we extend the proposed approach to a robust task clustering problem.

Introduction

In Multi-Task Learning (MTL), the primary objective is to enhance the predictive performance of multiple related tasks by sharing information across them. However, researchers face two significant challenges: task heterogeneity and rigid clustering. Task heterogeneity refers to the risk of "negative transfer," where forcing unrelated tasks to share information degrades performance. Rigid clustering, or "hard" clustering, assumes each task belongs to exactly one group, which fails to capture the complexity of tasks that might overlap across multiple domains.

While "soft" or overlapping clustering offers more flexibility, these methods are often computationally expensive and lack interpretability, particularly when trying to identify cluster-specific relevant features. The proposed Semisoft Task Clustering for Multi-Task Learning (STCMTL) addresses these gaps by allowing tasks to be either "pure" (belonging to one cluster) or "mixed" (a combination of multiple clusters), while integrating feature selection.

Table 1: Comparison of STCMTL with baseline methods across key functionalities.

Methodology

The STCMTL framework factorizes the task coefficient matrix $W$ into two components: $W = UV$. Here, $U$ represents the cluster coefficients (archetypal behavior) with an $l_1$ penalty for feature selection, and $V$ is the membership matrix defining task-to-cluster assignments.

The "semisoft" innovation hinges on the assumption that each cluster contains pure tasks that serve as anchors. Mixed tasks are then modeled as linear combinations of these pure tasks. This anchored structure ensures that clusters remain identifiable and interpretable. To optimize this non-convex problem, the authors developed a three-step iterative algorithm.

Algorithm 1: The STCMTL three-step iterative optimization process.

The algorithm updates the membership matrix $V$ using an adapted SOUP (Semisoft clustering with pure cells) approach, refines the cluster coefficient matrix $U$ via coordinate descent, and finally updates the individual task coefficients $W$ for stability. A key efficiency gain comes from internal parameter tuning during initialization, which avoids the costly grid searches typical in MTL.

Experimental Evaluation

STCMTL was evaluated on synthetic datasets with varying dimensionality ($D=200$ and $D=600$) and several real-world benchmarks, including the Isolet speech recognition dataset, school exam score predictions, and MNIST/USPS handwritten digit datasets.

Key Results

  • Accuracy: STCMTL consistently achieved the lowest Root Mean Squared Error (RMSE) and Error Rate (ER) across nearly all datasets. It particularly excelled in high-dimensional settings compared to competitors like VSTG-MTL.
  • Feature Selection: Using the Matthew’s Correlation Coefficient (MCC), the study demonstrated that STCMTL is significantly more effective at identifying correct relevant features than other clustering methods.
  • Efficiency: The computational speedup was dramatic. For instance, on the Isolet dataset, STCMTL was nearly 100x faster than VSTG-MTL (525 seconds vs. 50,029 seconds).

Conclusion

STCMTL provides a flexible and efficient framework for multi-task learning by leveraging the concept of pure and mixed tasks. By combining semisoft clustering with built-in feature selection and a fast optimization algorithm, it achieves state-of-the-art performance while maintaining high interpretability. Future work will focus on establishing formal convergence properties and statistical bounds for the framework.

Summary updated

BibTeX
@misc{zhang2022semisoft,
  author = {Yuzhao Zhang and Yifan Sun},
  title = {{Semisoft Task Clustering for Multi-Task Learning}},
  year = {2022},
  eprint = {2211.17204},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.17204},
}
Figure