Cargando…

Use and misuse of random forest variable importance metrics in medicine: demonstrations through incident stroke prediction

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 understanding why machine learning models are predictive, applied research continues to rely on ‘out of bag’ (OOB)...

Descripción completa

Detalles Bibliográficos
Autores principales: Wallace, Meredith L., Mentch, Lucas, Wheeler, Bradley J., Tapia, Amanda L., Richards, Marc, Zhou, Siyu, Yi, Lixia, Redline, Susan, Buysse, Daniel J.
Formato: Online Artículo Texto
Lenguaje:English
Publicado: BioMed Central 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10280951/
https://www.ncbi.nlm.nih.gov/pubmed/37337173
http://dx.doi.org/10.1186/s12874-023-01965-x
_version_ 1785060911746121728
author Wallace, Meredith L.
Mentch, Lucas
Wheeler, Bradley J.
Tapia, Amanda L.
Richards, Marc
Zhou, Siyu
Yi, Lixia
Redline, Susan
Buysse, Daniel J.
author_facet Wallace, Meredith L.
Mentch, Lucas
Wheeler, Bradley J.
Tapia, Amanda L.
Richards, Marc
Zhou, Siyu
Yi, Lixia
Redline, Susan
Buysse, Daniel J.
author_sort Wallace, Meredith L.
collection PubMed
description 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 understanding why machine 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. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s12874-023-01965-x.
format Online
Article
Text
id pubmed-10280951
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher BioMed Central
record_format MEDLINE/PubMed
spelling pubmed-102809512023-06-21 Use and misuse of random forest variable importance metrics in medicine: demonstrations through incident stroke prediction Wallace, Meredith L. Mentch, Lucas Wheeler, Bradley J. Tapia, Amanda L. Richards, Marc Zhou, Siyu Yi, Lixia Redline, Susan Buysse, Daniel J. BMC Med Res Methodol Research 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 understanding why machine 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. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s12874-023-01965-x. BioMed Central 2023-06-19 /pmc/articles/PMC10280951/ /pubmed/37337173 http://dx.doi.org/10.1186/s12874-023-01965-x Text en © The Author(s) 2023 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/ (https://creativecommons.org/publicdomain/zero/1.0/) ) applies to the data made available in this article, unless otherwise stated in a credit line to the data.
spellingShingle Research
Wallace, Meredith L.
Mentch, Lucas
Wheeler, Bradley J.
Tapia, Amanda L.
Richards, Marc
Zhou, Siyu
Yi, Lixia
Redline, Susan
Buysse, Daniel J.
Use and misuse of random forest variable importance metrics in medicine: demonstrations through incident stroke prediction
title Use and misuse of random forest variable importance metrics in medicine: demonstrations through incident stroke prediction
title_full Use and misuse of random forest variable importance metrics in medicine: demonstrations through incident stroke prediction
title_fullStr Use and misuse of random forest variable importance metrics in medicine: demonstrations through incident stroke prediction
title_full_unstemmed Use and misuse of random forest variable importance metrics in medicine: demonstrations through incident stroke prediction
title_short Use and misuse of random forest variable importance metrics in medicine: demonstrations through incident stroke prediction
title_sort use and misuse of random forest variable importance metrics in medicine: demonstrations through incident stroke prediction
topic Research
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10280951/
https://www.ncbi.nlm.nih.gov/pubmed/37337173
http://dx.doi.org/10.1186/s12874-023-01965-x
work_keys_str_mv AT wallacemeredithl useandmisuseofrandomforestvariableimportancemetricsinmedicinedemonstrationsthroughincidentstrokeprediction
AT mentchlucas useandmisuseofrandomforestvariableimportancemetricsinmedicinedemonstrationsthroughincidentstrokeprediction
AT wheelerbradleyj useandmisuseofrandomforestvariableimportancemetricsinmedicinedemonstrationsthroughincidentstrokeprediction
AT tapiaamandal useandmisuseofrandomforestvariableimportancemetricsinmedicinedemonstrationsthroughincidentstrokeprediction
AT richardsmarc useandmisuseofrandomforestvariableimportancemetricsinmedicinedemonstrationsthroughincidentstrokeprediction
AT zhousiyu useandmisuseofrandomforestvariableimportancemetricsinmedicinedemonstrationsthroughincidentstrokeprediction
AT yilixia useandmisuseofrandomforestvariableimportancemetricsinmedicinedemonstrationsthroughincidentstrokeprediction
AT redlinesusan useandmisuseofrandomforestvariableimportancemetricsinmedicinedemonstrationsthroughincidentstrokeprediction
AT buyssedanielj useandmisuseofrandomforestvariableimportancemetricsinmedicinedemonstrationsthroughincidentstrokeprediction