Use and misuse of random forest variable importance metrics in medicine: demonstrations through incident stroke prediction
Top Cited Papers
Open Access
- 19 June 2023
- journal article
- research article
- Published by Springer Nature in BMC Medical Research Methodology
- Vol. 23 (1) , 1-12
Abstract
Background: Machine learning tools such as random forests provide important opportunities for modeling large, complex modern data generated in medicine. Unfortunately, when it comes to understandingwhymachine learning models are predictive, applied research continues to rely on ‘out of bag’ (OOB) variable importance metrics (VIMPs) that are known to have considerable shortcomings within the statistics community. After explaining the limitations of OOB VIMPs – including bias towards correlated features and limited interpretability – we describe a modern approach called ‘knockoff VIMPs’ and explain its advantages.Methods: We first evaluate current VIMP practices through an in-depth literature review of 50 recent random forest manuscripts. Next, we recommend organized and interpretable strategies for analysis with knockoff VIMPs, including computing them for groups of features and considering multiple model performance metrics. To demonstrate methods, we develop a random forest to predict 5-year incident stroke in the Sleep Heart Health Study and compare results based on OOB and knockoff VIMPs.Results: Nearly all papers in the literature review contained substantial limitations in their use of VIMPs. In our demonstration, using OOB VIMPs for individual variables suggested two highly correlated lung function variables (forced expiratory volume, forced vital capacity) as the best predictors of incident stroke, followed by age and height. Using an organized analytic approach that considered knockoff VIMPs of both groups of features and individual features, the largest contributions to model sensitivity were medications (especially cardiovascular) and measured medical risk factors, while the largest contributions to model specificity were age, diastolic blood pressure, self-reported medical risk factors, polysomnography features, and pack-years of smoking. Thus, we reach very different conclusions about stroke risk factors using OOB VIMPs versus knockoff VIMPs.Conclusions: The near-ubiquitous reliance on OOB VIMPs may provide misleading results for researchers who use such methods to guide their research. Given the rapid pace of scientific inquiry using machine learning, it is essential to bring modern knockoff VIMPs that are interpretable and unbiased into widespread applied practice to steer researchers using random forest machine learning toward more meaningful results.Keywords
All Related Versions
Funding Information
- National Institutes on Aging (RF1AG056331)
This publication has 29 references indexed in Scilit:
- Scaling Up Scientific Discovery in Sleep Medicine: The National Sleep Research ResourceSLEEP, 2016
- Stroke Prevention - Medical and Lifestyle MeasuresEuropean Neurology, 2015
- MissForest—non-parametric missing value imputation for mixed-type dataBioinformatics, 2011
- Classification with correlated features: unreliability of feature ranking and solutionsBioinformatics, 2011
- Obstructive Sleep Apnea–Hypopnea and Incident Stroke: The Sleep Heart Health StudyAmerican Journal of Respiratory and Critical Care Medicine, 2010
- The behaviour of random forest permutation-based variable importance measures under predictor correlationBMC Bioinformatics, 2010
- Bias in random forest variable importance measures: Illustrations, sources and a solutionBMC Bioinformatics, 2007
- Obstructive Sleep Apnea as a Risk Factor for Stroke and DeathThe New England journal of medicine, 2005
- The Sleep Heart Health Study: Design, Rationale, and MethodsSLEEP, 1997
- Bagging predictorsMachine Learning, 1996