Improving rare event prediction in imbalanced clinical data using cost-sensitive logistic regression.
Junliang Zhu, Shaowei Pu, Chunmei Fang, Yi Wang, Jianing Bi, Litao Wu, Zhouting Yao, Hongbo Liu
Department of Epidemiology & Health Statistics, School of Public Health, China Medical University, Shenyang, 110122, PR China. · Department of Anesthesiology, Cancer Hospital of China Medical University Liaoning Cancer Hospital & Institute, Shenyang, 110042, PR China.
Key points
From the paper's conclusion- CS-LR provides an interpretable and clinically practical framework for rare event prediction in highly imbalanced medical data. It may be particularly useful in clinical prediction tasks where missed positive cases have important consequences, such as cancer screening, postoperative complication prediction, and detection of uncommon adverse clinical events.
Abstract
BACKGROUND: Rare outcomes are common in clinical research and often result in severe class imbalance. Under such conditions, traditional logistic regression tends to favor the majority class and shows limited sensitivity to clinically important rare events. Although complex machine learning methods may improve prediction, their limited interpretability can restrict clinical use. Therefore, an effective and interpretable modeling strategy for highly imbalanced clinical data remains needed. METHODS: We developed a cost-sensitive logistic regression (CS-LR) model by incorporating different misclassification costs for different classification outcomes into the logistic loss function. The proposed framework was designed to prioritize rare but clinically important outcomes while retaining odds ratio interpretation. Simulation studies were conducted across four covariate scenarios, imbalance ratios from 1% to 30%, and sample sizes of 500 and 2000. CS-LR was compared with traditional logistic regression, cost-sensitive support vector machines, and AdaBoost. External validation was performed using a liver fibrosis dataset and a post-ESD bleeding dataset. RESULTS: Across simulated scenarios, CS-LR showed stable convergence and improved minority-class detection, particularly under small sample (N = 500) and highly imbalanced (positive class ratio < 5%) settings. The advantages were most evident in recall, F1-score, and G-mean, while AUC remained broadly comparable. In the liver fibrosis validation, CS-LR consistently achieved higher recall and G-mean than traditional logistic regression across different sample sizes and positive class ratios. In the post-ESD bleeding dataset, CS-LR showed the most favorable overall performance among the compared models while retaining interpretable coefficients and odds ratio estimates. CONCLUSIONS: CS-LR provides an interpretable and clinically practical framework for rare event prediction in highly imbalanced medical data. It may be particularly useful in clinical prediction tasks where missed positive cases have important consequences, such as cancer screening, postoperative complication prediction, and detection of uncommon adverse clinical events.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Integrating Clinical Priorities into the Technical Validation of Machine Learning Classifiers: A Generalizable Framework Demonstrated on Opioid Misuse Screening.Journal of clinical medicine · 2026
- Resampling methods for class imbalance in clinical prediction models: A scoping review protocolPLoS ONE · 2025
- A Confidence-Aware logistic regression framework for reliable clinical decision support in breast cancer diagnosisBMC Medical Informatics and Decision Making · 2026
- Mortality Prediction in Imbalanced Pediatric Oncology Data: A Cost-Sensitive Hybrid Resampling Framework Using Recurrent Deep Learning.Medical sciences (Basel, Switzerland) · 2026
- Quantifying the Optimism of Naive Cross-Validation for Binary Outcome Prediction with Repeated-Measures Predictors: A Simulation Study and Clinical IllustrationmedRxiv · 2026
- Why ROC-AUC Is Misleading for Highly Imbalanced Data: In-Depth Evaluation of MCC, F2-Score, H-Measure, and AUC-Based Metrics Across Diverse ClassifiersTechnologies · 2026