Applying machine learning in predicting medication treatment outcomes for opioid use disorder
Raymond R Balise1, Kyle Grealis1, Laura Brandt2
1Department of Public Health Sciences, University of Miami Miller School of Medicine, University of Miami, Miami, FL, United States of America.
Background:
While medication for opioid use disorder (MOUD) is effective for a significant proportion of patients, many return to using opioids during treatment. Understanding which factors lead to successful treatment informs the development of implementation approaches that can improve outcomes. This manuscript and its accompanying website provide an applied introduction to interpretable machine learning for clinical investigators interested in predicting treatment response for people using MOUD.
Methods:
This study applied machine learning (ML) algorithms (K-Nearest Neighbors (KNN), logistic regression with and without regularization, Multivariate Additive Regression Splines (MARS), Support Vector Machines, Classification and Regression Trees (CART), Random Forest, Bayesian Additive Regression Trees (BART), Boosted Trees, Neural Networks) to predict failure of treatment in a collection of 2478 individuals who had participated in the three largest pragmatic, clinical trials of MOUD.
Results:
All models produced Receiver Operating Characteristic Area Under the Curve (ROC AUC) estimates in the range of 0.62 to 0.67 using cross-validation data and the optimal model, random forest, achieved 0.65 using testing data. The algorithms nearly universally identified predictive features such as age, intravenous drug use days, study medication, and study site. Most algorithms also identified various aspects of smoking. Only the algorithms that detect complex non-linear trends identified details from timeline follow-back. One algorithm, BART, performed well while devaluing all treatment-specific details.
Conclusion:
After explaining how to apply, compare, and contrast various ML workflows, the results show that while overall modeling performance is similar across the models developed, the use of different algorithms identifies different sets of predictive features. Previous research has not recognized some features as important for predicting treatment outcomes. A companion website introduces clinical investigators to the concepts and implementations this study presents. That site also provides a detailed annotated blueprint to fully replicate, or even expand, this work.
More Related Videos
06:22Machine Learning-Based Cough Tone Classification: Diagnostic Exploration of Chronic Obstructive Pulmonary Disease and Respiratory Tract Infections
Published on: September 19, 2025
07:15Machine Learning Algorithms for Early Detection of Bone Metastases in an Experimental Rat Model
Published on: August 16, 2020
Related Concept Videos
Opioid Analgesics: Morphine and Other Natural Cogeners
Opioid Analgesics: Synthetic and Semisynthetic Opioids
Analgesia and Pain Management
Drug Abuse and Addiction: Pharmacological Phenomena
Drug Therapy
Antianxiety Medications
Prescription, Nonprescription and Orphan Drugs
The misuse and addiction to prescription drugs is a growing problem that can affect people of all age groups, specifically teenagers. This can happen when prescription medications are used in ways not intended by the prescriber, such as taking someone else's prescription or using medication for...
