MTLComb: multi-task learning combining regression and classification tasks for joint feature selection

Han Cao, Sivanesan Rajan, Bianka Hahn, Ersoy Kocak, Daniel Durstewitz, Emanuel Schwarz, Verena Schneider-LindnerarXiv 2024 · DOI

Abstract

Multi-task learning (MTL) offers a powerful framework for identifying shared predictive features across related tasks. However, combining regression and classification tasks remains challenging due to the disparate scales of their respective loss functions, which often leads to biased feature selection. We present MTLComb, a linear MTL framework that introduces a provable, analytical loss-weighting scheme to align regularization paths across mixed task types. Validated on simulated data and high-dimensional biomedical datasets—including sepsis prediction and schizophrenia neuroimaging—MTLComb demonstrates superior stability and feature recovery compared to traditional methods.

Introduction

In high-dimensional biomedical research, the goal is often to identify a small subset of biomarkers that are predictive across multiple clinical outcomes. Multi-task learning (MTL) facilitates this by leveraging the commonalities between tasks to improve generalization. A significant hurdle arises when these tasks are heterogeneous: for instance, predicting a continuous variable like age (regression) alongside a categorical diagnosis (classification).

The primary obstacle in mixed-task MTL is the "magnitude of loss" problem. Classification losses (such as logit loss) and regression losses (such as least-squares) operate on different scales. When an algorithm attempts to minimize both simultaneously to enforce group sparsity, the task with the larger loss magnitude tends to dominate the regularization process. This "bullying" effect results in biased feature selection, where the model prioritizes features relevant to the dominant task while ignoring those critical to the other.

The MTLComb Framework

MTLComb is designed to solve this imbalance through a mathematically grounded weighting strategy. The framework is built upon three technical pillars:

1. Analytical Loss Weighting

Rather than relying on computationally expensive cross-validation to balance task weights, the authors provide a theoretical solution. By analyzing the regularization paths—the trajectories of feature selection as the penalty increases—they proved (Proposition 1) that weighting the classification loss by 2 and the regression loss by 0.5 aligns these paths. This synchronization ensures that features are selected based on their intrinsic predictive utility across all tasks, regardless of the loss function type.

2. Regularization and Sparsity

To identify a shared subset of features, MTLComb employs an $L_{2,1}$ norm penalty. This enforces "group sparsity," encouraging the model to select a small number of features that are active across all tasks. Additionally, a mean-regularized term is included to promote similarity in coefficient magnitudes across tasks, further stabilizing the selection process.

3. Optimization and Software

To handle the high-dimensional "p > n" scenarios typical of genomics and neuroimaging, the framework utilizes an accelerated proximal gradient descent method. With a convergence rate of $O(1/k^2)$, the implementation is optimized for speed and scalability. The researchers have released the MTLComb software package, which includes automated hyperparameter estimation and standardized training protocols.

Experimental Validation

Simulation Studies

The model was first tested on simulated datasets featuring 10 classification and 10 regression tasks with 200 features and 100 samples. MTLComb consistently outperformed "MTLBin" (a common approach that binarizes continuous data) and standard meta-analysis in both predictive accuracy and the recovery rate of ground-truth features.

Sepsis Prediction

Using two cohorts of polytrauma patients, the model was tasked with predicting sepsis diagnosis (classification) and clinical markers like lactate, urea, and creatinine levels (regression). MTLComb achieved an average AUC of 0.73 and demonstrated significantly higher model stability ($r=0.7$) compared to standard Ridge regression ($r=0.41$). Notably, the model automatically selected established clinical standards like the SAPSII and SOFA scores, validating its ability to identify biologically and clinically relevant markers.

Schizophrenia and Brain Age

In a study involving gene expression data from the HBCC (discovery) and GEO (validation) cohorts, MTLComb was used to predict both schizophrenia diagnosis and "brain age." The model identified 13 significantly enriched biological pathways, such as voltage-gated channel activity, which are independently associated with both aging and psychiatric disorders. This highlights the model's ability to find homogeneous markers that suggest shared biological mechanisms.

Discussion and Limitations

MTLComb represents a significant advancement in multi-task feature selection by providing a provable method to harmonize mixed-task types. Its primary strength lies in high-dimensional settings where joint modeling acts as a stabilizer against task-specific noise.

However, some limitations remain. In low-dimensional scenarios (where the number of features is small), the performance gains over standard methods like Ridge regression are less pronounced. Furthermore, while the selection of features is harmonized, the magnitudes of the resulting coefficients can still vary, suggesting a need for improved z-score standardization in future iterations. The authors also plan to expand the framework to include Poisson regression to accommodate count-based data, such as hospital length-of-stay predictions.

Conclusion

By introducing an analytical solution to the loss-scaling problem, MTLComb allows researchers to treat regression and classification tasks as equal partners in the discovery of biomarkers. This framework provides a robust, scalable, and stable tool for high-dimensional biomedical data analysis.

Code Availability: The MTLComb implementation is available on GitHub at https://github.com/transbioZI/MTLComb.

Summary updated

BibTeX
@misc{cao2024mtlcomb,
  author = {Han Cao and Sivanesan Rajan and Bianka Hahn and Ersoy Kocak and Daniel Durstewitz and Emanuel Schwarz and Verena Schneider-Lindner},
  title = {{MTLComb: multi-task learning combining regression and classification tasks for joint feature selection}},
  year = {2024},
  eprint = {2405.09886},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.09886},
}
Figure