Interpretable machine learning for identifying mild cognitive impairment among Chinese patients with obstructive sleep apnea: a multicenter cross-sectional study.
{"title":"Interpretable machine learning for identifying mild cognitive impairment among Chinese patients with obstructive sleep apnea: a multicenter cross-sectional study.","authors":"Enguang Li, Fangzhu Ai, Peipei Cai, Kuo Wen, Botang Guo, Hongjuan Wen","doi":"10.1186/s12888-026-08712-8","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Mild cognitive impairment (MCI) is clinically relevant in obstructive sleep apnea (OSA). We developed and externally validated an interpretable machine-learning model for concurrent clinically defined MCI to support prioritization for formal cognitive assessment rather than diagnosis.</p><p><strong>Methods: </strong>This multicenter cross-sectional diagnostic-prediction study included 400 eligible patients with OSA from Changchun, divided into a training set (n = 280) and an internal algorithm-selection hold-out (n = 120), plus an independent Shenzhen external-validation sample (n = 192). MCI classification integrated reported cognitive decline, objective cognitive evidence, largely preserved everyday independence, dementia exclusion, and assessment-team consensus with physician participation. Of 27 candidate predictors, redundancy review left 24 and LASSO-Boruta consensus retained nine. Feature selection was performed once on the full training set before repeated cross-validation and was not nested within resampling folds. Eight algorithms were tuned using repeated 10-fold cross-validation with training-fold-only SMOTE and PR-AUC as the primary metric. The RF threshold (0.3228) was derived from training out-of-fold probabilities and locked before validation.</p><p><strong>Results: </strong>MCI was classified in 93/280 (33.2%), 38/120 (31.7%), and 57/192 (29.7%) participants. The nine RF predictors were coffee consumption, physical activity, AHI, MSaO2, PHQ-9, GAD-7, ESS, CPSS-14, and PSQI total scores. In the internal hold-out used for algorithm selection, RF achieved ROC-AUC 0.953, PR-AUC 0.936, and Brier score 0.060; these selection-conditioned estimates are not unbiased generalization estimates. In independent external validation, ROC-AUC was 0.957, PR-AUC 0.809, and Brier score 0.051. Calibration intercept - 0.616 and slope 0.701 indicated systematic probability overestimation despite strong discrimination.</p><p><strong>Conclusions: </strong>The RF model discriminated strongly in Shenzhen, but external miscalibration and systematic probability overestimation mean that high AUC does not make raw probabilities transportable; local calibration assessment and, if needed, recalibration are required before clinical use. The MCI outcome cannot be reproduced from questionnaire/scale scores alone, and Supplementary Table S10 is a retrospective operational specification rather than the original CRF. Performance evidence comes almost entirely from male OSA patients; validity in women is unestablished, and the model should not be used for clinical assessment in females. It is a research screening-prioritization tool, not a diagnostic, causal, prognostic, or clinical-impact instrument.</p>","PeriodicalId":9029,"journal":{"name":"BMC Psychiatry","volume":"26 1","pages":""},"PeriodicalIF":4.6000,"publicationDate":"2026-10-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13712065/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Psychiatry","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12888-026-08712-8","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"PSYCHIATRY","Score":null,"Total":0}
引用次数: 0
Abstract
Background: Mild cognitive impairment (MCI) is clinically relevant in obstructive sleep apnea (OSA). We developed and externally validated an interpretable machine-learning model for concurrent clinically defined MCI to support prioritization for formal cognitive assessment rather than diagnosis.
Methods: This multicenter cross-sectional diagnostic-prediction study included 400 eligible patients with OSA from Changchun, divided into a training set (n = 280) and an internal algorithm-selection hold-out (n = 120), plus an independent Shenzhen external-validation sample (n = 192). MCI classification integrated reported cognitive decline, objective cognitive evidence, largely preserved everyday independence, dementia exclusion, and assessment-team consensus with physician participation. Of 27 candidate predictors, redundancy review left 24 and LASSO-Boruta consensus retained nine. Feature selection was performed once on the full training set before repeated cross-validation and was not nested within resampling folds. Eight algorithms were tuned using repeated 10-fold cross-validation with training-fold-only SMOTE and PR-AUC as the primary metric. The RF threshold (0.3228) was derived from training out-of-fold probabilities and locked before validation.
Results: MCI was classified in 93/280 (33.2%), 38/120 (31.7%), and 57/192 (29.7%) participants. The nine RF predictors were coffee consumption, physical activity, AHI, MSaO2, PHQ-9, GAD-7, ESS, CPSS-14, and PSQI total scores. In the internal hold-out used for algorithm selection, RF achieved ROC-AUC 0.953, PR-AUC 0.936, and Brier score 0.060; these selection-conditioned estimates are not unbiased generalization estimates. In independent external validation, ROC-AUC was 0.957, PR-AUC 0.809, and Brier score 0.051. Calibration intercept - 0.616 and slope 0.701 indicated systematic probability overestimation despite strong discrimination.
Conclusions: The RF model discriminated strongly in Shenzhen, but external miscalibration and systematic probability overestimation mean that high AUC does not make raw probabilities transportable; local calibration assessment and, if needed, recalibration are required before clinical use. The MCI outcome cannot be reproduced from questionnaire/scale scores alone, and Supplementary Table S10 is a retrospective operational specification rather than the original CRF. Performance evidence comes almost entirely from male OSA patients; validity in women is unestablished, and the model should not be used for clinical assessment in females. It is a research screening-prioritization tool, not a diagnostic, causal, prognostic, or clinical-impact instrument.
期刊介绍:
BMC Psychiatry is an open access, peer-reviewed journal that considers articles on all aspects of the prevention, diagnosis and management of psychiatric disorders, as well as related molecular genetics, pathophysiology, and epidemiology.