• Home
  • Search
  • Plug-and-play use of tree-based methods: consequences for clinical prediction modeling.
  • Cite Icon1
  • https://doi.org/10.1016/j.jclinepi.2025.111834Copy DOI Icon

Plug-and-play use of tree-based methods: consequences for clinical prediction modeling.

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Tree-based models, such as random forest and XGBoost, are increasingly being used for clinical prediction, but certain aspects of their behavior are often overlooked. This article aims to illustrate these aspects and discuss the implications of plug-and-play use of tree-based models for clinical prediction. We focus on their ability to learn smooth, monotonic (ie, consistent predictor effect where an increase in predictor leads to an increase in predicted risk), and additive predictor-outcome associations (ie, each predictor independently and additively contributes to the outcome) and how they behave when making predictions outside the range of observed data (extrapolation). We illustrated the behavior of plug-and-play use of tree-based models in a simulation study where we sampled predictors from standard normal distributions and binary outcomes determined by the logistic function of the predictors, and translate this into potential clinical implications in a real-world clinical example of post-radiotherapy toxicity prediction. To show the generalizability of our findings, we also assessed the model's behavior in a publicly available dataset of patients with head and neck cancer. For each analysis we visualized the learned predictor-outcome associations across different sample sizes. In the simulation study, the models show stepwise fluctuations in their learned continuous predictor-outcome associations, which is caused by the inherent categorization of continuous predictors in a decision tree. Even with a large data size, the associations were not smooth or monotonic. Furthermore, because tree-based models can only split orthogonally to the axes, they struggle to learn an additive effect. Additionally, tree-based models extrapolate in a somewhat unintuitive way, by predicting a constant value beyond the observed data, regardless of further increases in predictor values. Using the clinical example and case study, we highlight that the learned associations are biologically implausible and may lead to issues regarding generalizability and trustworthiness. Using tree-based models in a plug-and-play manner for clinical prediction may result in undesirable predictor-outcome associations. Therefore, we recommend carefully taking their behavior into account during modeling decisions and evaluations. Further research is needed to explore the potential value of recent developments in decision tree literature, such as using constraints to incorporate prior knowledge and using soft-split decision trees. In healthcare, statistical models can be used to predict a patient's risk of having or developing certain medical conditions. These predictions can be used for diagnosis, treatment planning, or informing patients. While there are many ways to build these models, a method that uses decision trees (and collections of these trees like random forest and XGBoost) has become increasingly popular. In our work, we used simulations and real patient data, to illustrate how these tree-based models learn from data. We show that these models inherently learn associations that are often biologically unrealistic, even when a lot of data are available. For example, when a predictive variable (e.g., body mass index) increases, we would expect smooth, gradual changes in risk. Instead, tree-based models tend to make sudden, unrealistic jumps or unexpected drops in their predictions. To discuss why this is relevant, we examined a case study in radiotherapy, where doctors use models to predict treatment side effects, based on variables such as the planned radiation dose. Here, the behavior of tree-based models sometimes leads to predictions where a tiny increase in radiation dose would either suddenly decrease the risk of side effects (which is not biologically plausible) or cause a dramatic increase in risk. Such biologically implausible predictions could result in a lack of trust from clinicians and potentially lead to suboptimal treatment decisions. While tree-based models are powerful methods, we argue that researchers should be aware of how these models learn and carefully evaluate whether this is acceptable for each specific clinical application. We also illustrate some promising solutions, such as forcing the models to incorporate existing medical knowledge, for example, by requiring that higher radiation doses must result in higher risks of side effects. Our work helps researchers understand the limitations and potential of these increasingly popular tree-based prediction methods and support their responsible use.

Similar Papers
  • Research Article
  • Citations170

Land subsidence modelling using tree-based machine learning algorithms

  • Apr 02, 2019
  • Science of The Total Environment
  • Omid Rahmati +8
  • Research Article
  • Citations42

Modeling of wax disappearance temperature (WDT) using soft computing approaches: Tree-based models and hybrid models

  • Jan 01, 2022
  • Journal of Petroleum Science and Engineering
  • Behnam Amiri-Ramsheh +4
  • Research Article
  • Citations75

Prediction of 3-yr cadaveric graft survival based on pre-transplant variables in a large national dataset.

  • Nov 04, 2003
  • Clinical Transplantation
  • Alexander S Goldfarb‐Rumyantzev +4
  • PDF
  • Research Article
  • Citations2

Comparison of Machine Learning Tree-Based Algorithms to Predict Future Paratuberculosis ELISA Results Using Repeat Milk Tests

  • Apr 05, 2024
  • Animals : an Open Access Journal from MDPI
  • Jamie Imada +4
  • Research Article
  • Citations1

Scattered Radiation Doses to the Patients and Medical Practitioneer from Extracorporeal Shock Wave Lithotripsy

  • Jan 01, 2008
  • Korean Journal of Urology
  • Seung Whan Doo +4
  • PDF
  • Research Article
  • Citations5

Tree-Based Modeling for Large-Scale Management in Agriculture: Explaining Organic Matter Content in Soil

  • Feb 22, 2024
  • Applied Sciences
  • Woosik Lee +1
  • Research Article

Development of machine learning models for chronic fatigue prediction in granulomatosis with polyangiitis.

  • Oct 09, 2025
  • Advances in rheumatology (London, England)
  • Alexandre Moura Dos Santos +1
  • Research Article

Feature-Based Child Mortality Prediction Using Ensemble and Traditional Machine Learning Models

  • Aug 08, 2025
  • Journal of Applied Science and Technology Trends
  • Aruna Sampathirao +2
  • Research Article
  • Citations27

Improving 3-day deterministic air pollution forecasts using machine learning algorithms

  • Jan 19, 2024
  • Atmospheric Chemistry and Physics
  • Zhiguo Zhang +4
  • PDF
  • Research Article
  • Citations13

Assessment of Image Quality Parameters for Computed Tomography in Sudan

  • Jan 01, 2017
  • Open Journal of Radiology
  • Hanan Elnour +5
  • Research Article
  • Citations2

Topological embedding and directional feature importance in ensemble classifiers for multi-class classification

  • Nov 13, 2024
  • Computational and Structural Biotechnology Journal
  • Eloisa Rocha Liedl +3
  • Book Chapter
  • Citations1

Tree-based models

  • Dec 13, 2022
  • Yan Ran +1
  • Research Article

116 IMAGE QUALITY AND RADIATION DOSE WITH SINGLE HEART BEAT 320 MULTIDETECTOR CT CORONARY ANGIOGRAPHY

  • May 01, 2013
  • Heart
  • M C Williams +9
  • Research Article
  • Citations9

DPClass: An Effective but Concise Discriminative Patterns-Based Classification Framework.

  • Jun 30, 2016
  • Proceedings of the ... SIAM International Conference on Data Mining. SIAM International Conference on Data Mining
  • Jingbo Shang +3
  • Research Article
  • Citations16

Stroke Treatment Prediction Using Features Selection Methods and Machine Learning Classifiers

  • Mar 04, 2022
  • IRBM
  • I Chourib +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.