Abstract
Accurately predicting patient clinical outcomes is a complex task that requires integrating diverse factors, including individual characteristics, treatment histories, and environmental influences. This challenge is further exacerbated by missing data and inconsistent data quality, which often hinder the effectiveness of traditional single-task learning (STL) models. Multi-Task Learning (MTL) has emerged as a promising paradigm to address these limitations by jointly modeling related prediction tasks and leveraging shared information. In this study, we proposed MTLNFM, a multi-task learning framework built upon Neural Factorization Machines, to jointly predict patient clinical outcomes. We designed a preprocessing strategy in the framework that transforms missing values into informative representations, mitigating the impact of sparsity and noise in clinical data. We leveraged the shared representation layers, composed of a factorization machine and dense neural layers that can capture high-order feature interactions and facilitate knowledge sharing across tasks for the prediction. We conducted extensive comparative experiments, demonstrating that MTLNFM outperforms STL baselines across all three tasks, achieving AUROC scores of 0.7514, 0.6722, and 0.7754, respectively. A detailed case analysis further revealed that MTLNFM effectively integrates both task-specific and shared representations, resulting in more robust and realistic predictions aligned with actual patient outcome distributions. Overall, our findings suggest that MTLNFM is a promising and practical solution for clinical outcome prediction, particularly in settings with limited or incomplete data, and can support more informed clinical decision-making and resource planning.
Introduction
Predicting clinical outcomes—such as hospital length of stay (LOS) or mortality risk—is a cornerstone of modern healthcare management. However, Electronic Health Records (EHRs) are notoriously "noisy" and riddled with missing values. Traditional machine learning approaches often handle missing data by deleting incomplete records or using imputation methods that can introduce significant bias. Furthermore, most models are trained for a single task, ignoring the intrinsic relationships between outcomes like frailty, survival, and duration of hospitalization.
To address these challenges, we introduce MTLNFM, a multi-task learning framework that leverages Neural Factorization Machines (NFM) and a novel missing-data strategy to improve prediction accuracy in data-sparse environments like the Intensive Care Unit (ICU).
Methodology
The MTLNFM architecture is designed to capture complex feature interactions while sharing knowledge across related clinical tasks. The framework consists of several key components:
- Informative Missingness Preprocessing: Rather than imputing values, the framework treats missingness as a feature. Missing categorical data is assigned a specific "missing" label, and numerical data is accompanied by binary indicators. This allows the model to learn clinical signals potentially hidden in the absence of data.
- Neural Factorization Machines (NFM): The core engine utilizes Factorization Machines to capture second-order feature interactions (e.g., the combined effect of age and specific comorbidities) and deep neural layers to model higher-order, non-linear relationships.
- Hard Parameter Sharing: A shared representation layer forces the model to identify common patterns across all tasks, which is then followed by task-specific branches for final predictions.
- Squared Loss Weighting: A dynamic weighting strategy prioritizes tasks with higher current losses, ensuring balanced learning and preventing any single task from dominating the training process.
Experimental Setup
The study utilized a dataset compiled from 16 eligible studies involving 2,001 ICU patients. After filtering for data quality and potential leakage, 50 variables were retained, including demographics, comorbidities, and physiological markers. The model was trained to predict three binary outcomes:
- Clinical Frailty Scale (CFS): Categorized as less frail (≤4) vs. strong frail (>4).
- Hospital Length of Stay (LOS): Categorized as short stay (≤10 days) vs. long stay (>10 days).
- Hospital Mortality: Alive vs. Deceased.
Key Results and Discussion
MTLNFM was benchmarked against several baselines, including Linear Regression, XGBoost, and standard Factorization Machines. The results demonstrated that the multi-task approach consistently outperformed single-task alternatives.
As shown in the performance metrics, MTLNFM achieved the highest AUROC scores across all three tasks: 0.7514 for Frailty, 0.6722 for Length of Stay, and 0.7754 for Mortality. On average, the model showed a 2.55% improvement in AUROC over the best-performing baseline.
Beyond raw metrics, a case study revealed that MTLNFM's predicted feature distributions (such as creatinine levels) were significantly closer to ground truth than single-task models. This suggests that by learning from a shared pool of data, the MTL model remains more "grounded" and robust, particularly for patient subgroups with specific comorbidities where data might be sparse.
Conclusion and Future Work
MTLNFM demonstrates that treating missingness as an informative signal and leveraging multi-task learning can significantly enhance clinical outcome predictions. While the model acts as a powerful predictive tool, future work will focus on improving interpretability through methods like SHAP or LIME to aid clinical trust. Additionally, validating the framework on larger, multi-center datasets will be essential to ensure generalizability across diverse patient populations and healthcare settings.
Summary updated