cs.LGAug 19, 2026

Toward Fairness in Machine Learning Models for Predicting Treatment Retention and Premature Discontinuation in Medication for Opioid Use Disorder

Authors: Tongnian Wang, Carolina Vivas-Valencia, Cici Bauer, Yanmin Gong, Kim-Kwang Raymond Choo, Yuanxiong Guo

Organizations: Gary W. Rollins College of Business, The University of Tennessee at Chattanooga, Chattanooga, Tennessee, USA. · Department of Biomedical Engineering and Chemical Engineering, The University of Texas at San Antonio, San Antonio, Texas, USA. · Department of Biostatistics and Data Science, School of Public Health, The University of Texas Health Science Center at Houston, Houston, Texas, USA. · Center for Spatial-Temporal Modeling for Applications in Population Sciences, School of Public Health, The University of Texas Health Science Center at Houston, Houston, Texas, USA. · 

Abstract

Persistent low retention and completion rates in medications for opioid use disorder (MOUD) have driven the use of machine learning (ML) models to predict retention and identify patients at risk of premature discontinuation. However, the fairness of these models across patient populations remains largely unexplored, raising concerns about their application in treatment decision support. This study systematically assesses algorithmic fairness in ML models for predicting MOUD retention and premature discontinuation and investigates the effectiveness of bias mitigation techniques. Using the cross-sectional Treatment Episode Data Set-Discharges (TEDS-D), which includes treatment episodes for individuals in the U.S. discharged between 2015 and 2019, we trained four ML models to predict premature treatment discontinuation and retention beyond 180 days among individuals receiving outpatient MOUD. We evaluated overall performance and subgroup-level error rates across patient subgroups defined by race, ethnicity, age, and sex, complemented by model explanation analyses. We further assessed bias mitigation techniques and their effects on both fairness and predictive performance. Our findings demonstrate that ML models for MOUD outcome prediction can exhibit subgroup-level performance gaps even when overall predictive performance appears acceptable and that bias mitigation can reduce, but not fully eliminate, these gaps without trade-offs. By demonstrating the importance of fairness-aware evaluation and transparent reporting of subgroup performance, this study provides practical insights for the responsible and context-sensitive use of ML models for risk stratification and care prioritization in MOUD treatment settings.

Figures & tables

Appendix figures & tables10 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. FairSelect: A Systematic Evaluation of Multi-Level and Intersectional Algorithmic Fairness

    Jul 9, 2026Nick Souligne, Isabella Mixton-Garcia, Vignesh SubbianAlgorithmic FairnessGroup Fairness

  2. Patient-Reported Survey Data Improve Prediction of Opioid Use Disorder

    Sep 10, 2026Xiyue Jiang, Zihan Ding, Grace Han +3Clinical Outcome PredictionElectronic Health Records

  3. Evaluating Intersectional Fairness across Clinical Machine Learning Use Cases using Fairlogue and the All of Us Research Program

    Apr 7, 2026Nick Souligne, Vignesh SubbianAlgorithmic FairnessIntersectional Fairness