Abstract
Diabetes prediction is an important data science application in the social healthcare domain. There exist two main challenges in the diabetes prediction task: data heterogeneity since demographic and metabolic data are of different types, and data insufficiency since the number of diabetes cases in a single medical center is usually limited. To tackle these challenges, we employ gradient boosting decision trees (GBDT) to handle data heterogeneity and introduce multi-task learning (MTL) to solve data insufficiency. To this end, Task-wise Split Gradient Boosting Trees (TSGB) is proposed for the multi-center diabetes prediction task. Specifically, we firstly introduce task gain to evaluate each task separately during tree construction, with a theoretical analysis of GBDT's learning objective. Secondly, we reveal a problem when directly applying GBDT in MTL, i.e., the negative task gain problem. Finally, we propose a novel split method for GBDT in MTL based on the task gain statistics, named task-wise split, as an alternative to standard feature-wise split to overcome the mentioned negative task gain problem. Extensive experiments on a large-scale real-world diabetes dataset and a commonly used benchmark dataset demonstrate TSGB achieves superior performance against several state-of-the-art methods. Detailed case studies further support our analysis of negative task gain problems and provide insightful findings. The proposed TSGB method has been deployed as an online diabetes risk assessment software for early diagnosis.
Introduction
Predicting diabetes from demographic and metabolic data is a classic data science challenge with two major hurdles: data heterogeneity and data insufficiency. Medical data is often a complex mixture of numerical and categorical features with diverse distributions, which Gradient Boosting Decision Trees (GBDTs) are uniquely suited to handle. However, individual medical centers frequently lack the sample size necessary to train high-performing local models.
Multi-task learning (MTL) aims to solve this by sharing knowledge across centers (tasks). Yet, standard GBDT implementations find splits that maximize overall gain across the entire dataset. In multi-center settings, a split that benefits the majority may significantly degrade performance for a specific center with a different data distribution—a phenomenon we define as the negative task gain problem. Empirically, we found that nearly 96.5% of nodes in a standard GBDT trained on multi-center diabetes data suffered from these negative task gains.
Methodology: Task-wise Splitting
To mitigate negative task interference, we propose TSGB, which introduces a "task-aware" splitting mechanism. We decompose the traditional GBDT gain metric into individual task gains for each center at every potential split. We then introduce the Negative Task Gain Ratio ($R_{neg}$) to measure the proportion of samples at a node belonging to tasks that would be harmed by the best feature-wise split.
If $R_{neg}$ exceeds a predefined threshold $R$, TSGB abandons the standard feature-wise split in favor of a task-wise split. This approach groups tasks with positive gains into one branch and those with negative gains into another, allowing different branches of the tree to specialize in different subsets of tasks. This strategic specialization preserves the benefits of data sharing when tasks are similar but allows for decoupling when they diverge, all while maintaining the computational efficiency of a shared forest.
Experimental Results
TSGB was evaluated on a massive real-world dataset from the China Cardiometabolic Disease and Cancer Cohort (4C) Study, featuring 100,000 samples from 21 medical centers, as well as a standard multi-domain sentiment benchmark.
TSGB consistently outperformed standard GBDT, single-task models, and state-of-the-art MTL baselines like MT-ET and CMTL. A key finding was TSGB's remarkable robustness to data sparsity: a TSGB model trained on only 25% of the data achieved a higher average AUC (0.7772) than a standard GBDT trained on 100% of the data (0.7756).
Conclusion
TSGB effectively balances global knowledge sharing with local task specialization, providing a robust solution for multi-center healthcare applications. The method has been successfully deployed as the "Rui-Ning Diabetes Risk Assessment" software, currently serving over 48,000 users. Future research will focus on automating the selection of the threshold ratio $R$ using reinforcement learning to further optimize tree construction.
Summary updated