Abstract
This paper presents a new multitask learning framework that learns a shared representation among the tasks, incorporating both task and feature clusters. The jointly-induced clusters yield a shared latent subspace where task relationships are learned more effectively and more generally than in state-of-the-art multitask learning methods. The proposed general framework enables the derivation of more specific or restricted state-of-the-art multitask methods. The paper also proposes a highly-scalable multitask learning algorithm, based on the new framework, using conjugate gradient descent and generalized Sylvester equations. Experimental results on synthetic and benchmark datasets show that the proposed method systematically outperforms several state-of-the-art multitask learning methods.
Introduction
Multitask learning (MTL) aims to improve the performance of multiple related tasks by learning them simultaneously and sharing information between them. Traditionally, research in this field has followed two distinct paths: task-centric approaches, which learn how tasks relate to one another (e.g., task covariance), and feature-centric approaches, which learn a shared low-dimensional subspace of features common to all tasks.
However, very few methods utilize both principles jointly. Furthermore, existing "co-clustering" models often impose a "square" constraint, assuming the number of task clusters ($K$) must be exactly the same as the number of feature clusters. In real-world scenarios, such as sentiment analysis across dozens of product categories, this assumption rarely holds. There might be many tasks (product domains) but only a few core feature clusters (e.g., positive vs. negative sentiment words). This paper introduces a framework that jointly clusters both tasks and features while decoupling their dimensions.
Methodology
The authors propose two hierarchical models based on the matrix factorization of the task weight matrix $W$:
- BiFactor MTL: Factors the weight matrix into $W = FG^\top$, where $F$ represents feature clusters and $G$ represents task clusters. It jointly learns relationship matrices ($\Sigma$ for features and $\Omega$ for tasks) to regularize the learning process.
- TriFactor MTL: The flagship model. It introduces a mapping matrix $S$, factoring the weights as $W = FSG^\top$. This "tri-factorization" allows the number of feature clusters ($K_1$) to be independent of the number of task clusters ($K_2$), providing the flexibility needed for diverse real-world datasets.
Optimization and Scalability
To make these models practical for large-scale data, the authors formulate the learning steps as generalized Sylvester equations (linear equations of the form $AQB^\top + CQD^\top = E$). Instead of using computationally expensive naive matrix inversions, they employ an efficient Conjugate Gradient (CG) descent algorithm. This allows the model to scale effectively to high-dimensional feature spaces and a large number of tasks.
Experimental Results
The models were evaluated on a diverse set of benchmarks, including synthetic data, the School dataset (predicting exam scores), Amazon Sentiment Analysis, and 20Newsgroups (for transfer learning).
School Dataset Performance
On the School dataset, a benchmark regression task predicting exam scores for 15,362 students across 139 schools, TriFactor MTL consistently outperformed baselines. As shown in the results below, TriFactor MTL achieved the lowest Root Mean Squared Error (RMSE) across various training data percentages.
Sentiment Analysis and Scalability
In the Amazon Sentiment Analysis task, which involved binary classification across 14 domains, the authors conducted multi-split experiments with up to 126 tasks. TriFactor MTL maintained high F-measures even as the number of tasks increased, while simpler models like CMTL (Clustering MTL) saw significant performance degradation.
Key Insights and Discussion
Decoupling Clusters
The most significant finding is that forcing the number of task clusters to equal the number of feature clusters hurts performance. TriFactor MTL consistently outperformed BiFactor MTL because it could adapt to the inherent complexity of the task space versus the feature space independently.
Joint Learning and Transferability
Learning the relationship matrices ($\Sigma, \Omega$) alongside the clusters provides more robust regularization than learning them in isolation. Furthermore, the shared latent representation learned by TriFactor MTL proved highly portable. In transfer learning experiments using the 20Newsgroups dataset, the model effectively transferred knowledge to new, unseen tasks better than baselines that only clustered tasks.
Limitations and Future Work
While the framework is robust, the objective functions are bi-convex, meaning the alternating minimization algorithm reaches a local optimum rather than a global one. Additionally, the current derivation focuses on squared error loss. Extending the Sylvester equation optimization to other loss functions, such as hinge loss for SVMs, and exploring $\ell_1$ sparsity regularization for the mapping matrix $S$ are promising avenues for future research.
Summary updated