Abstract
This study presents a simple and fast hypothesis-free machine learning (ML) pipeline for risk factor discovery in large biomedical databases. By integrating Gradient Boosting Decision Trees (GBDT) with SHAP (SHapley Additive exPlanation) values and traditional epidemiological validation, we demonstrate a method that accounts for non-linearity and interactions with minimal variable pre-processing. Testing this pipeline on 502,506 UK Biobank participants across 11,639 predictors, we identified 193 potential risk factors for mortality, 166 of which were subsequently validated using adjusted Cox models. Our results suggest that ML can effectively automate the first stage of hypothesis-free risk factor identification in high-dimensional datasets.
Introduction
Traditional epidemiological research is typically hypothesis-driven, where researchers select a limited set of variables based on prior knowledge. However, the advent of deeply phenotyped large-scale population cohorts, such as the UK Biobank, presents a challenge for standard statistical tools like logistic or Cox regression. These methods often struggle with high dimensionality, multicollinearity, and the need to manually model complex non-linear relationships and interactions. This study addresses the need for a pragmatic, automated approach to discover "hidden" risk factors in modern biomedical databases.
Methods: The GBDT-SHAP Pipeline
We developed a multi-stage pipeline designed to sift through thousands of variables efficiently:
- Automated Pre-processing: The PHESANT (PHEnome Scan Analysis) package was used to clean and categorize diverse variables.
- Gradient Boosting Decision Trees (GBDT): Using the CatBoost implementation, we built mortality models. GBDT is ideal for this task as it handles missing values natively and captures non-linear relationships and interactions without manual specification.
- SHAP Values: To interpret the "black box" GBDT model, we used SHAP values to rank variable importance, providing a mathematically grounded measure of each predictor's contribution.
- Feature Selection: Predictors with low SHAP values or high redundancy were eliminated.
- Epidemiological Validation: Selected predictors were analyzed using traditional Cox proportional hazards models to ensure statistical robustness and clinical interpretability.
Results: Discovery in the UK Biobank
The pipeline was tested using data from 502,506 individuals followed over seven years. From an initial pool of 11,639 predictors, the GBDT model achieved an impressive AUROC of 0.94 for mortality prediction.
- Variable Distillation: The pipeline narrowed the field to 193 important predictors. Of these, 166 (86%) showed significant associations with mortality in adjusted Cox models.
- Predictive Importance: Health-related factors (hospital diagnoses and medical history) accounted for 60% of the model's predictive importance. Sociodemographics, lifestyle, and baseline characteristics each contributed approximately 10%.
- Non-linear and Interaction Effects: The model successfully identified complex relationships, such as a U-shaped association between tea intake and mortality. It also flagged interactions, such as "comparative height at age 10," which was found to interact with secondary brain malignancies.
Discussion and Conclusion
The GBDT-SHAP pipeline serves as a powerful high-throughput filter for epidemiological discovery. It not only "rediscovered" established risk factors like smoking and self-rated health—providing a vital sanity check—but also identified novel associations that might be missed by linear modeling.
While ML offers significant speed and automation, it does not replace the need for domain expertise. The loss of significance for 19 predictors after adjustment highlights the ongoing risk of confounding in observational data. This pipeline is best viewed as a first-stage tool for generating new research hypotheses, particularly in the study of rare diseases or under-explored health determinants.
Summary updated