Explainable AI for Digital Health: Predicting Depression Risk in Older Adults Living Alone Using Machine Learning
Abstract
1. Introduction
- To identify general characteristics associated with depression risk in older adults living alone.
- To develop an effective machine learning model for predicting depression risk using various ML algorithms.
- To explore key predictors influencing depression risk using SHAP, an explainable AI technique.
2. Materials and Methods
2.1. Study Design and Subjects
2.2. Variables
2.2.1. Dependent Variable
2.2.2. Independent Variables
2.3. Data Preprocessing
2.3.1. Missing Data Imputation
2.3.2. Feature Selection
2.3.3. Addressing Class Imbalance with SMOTE
2.4. Machine Learning Methods and Performance Metrics
2.4.1. Machine Learning Algorithms
- Logistic Regression
- 2.
- Naive Bayes
- 3.
- Random Forest
- 4.
- SVM (Support Vector Machine)
- 5.
- XGBoost (eXtreme Gradient Boosting)
- 6.
- LightGBM (Light Gradient Boosting Machine)
2.4.2. Hyperparameter Settings
2.4.3. Explainable Artificial Intelligence (XAI) Approach
2.5. Statistical Analysis
3. Results
3.1. General Characteristics by Depression Risk Status
3.2. Comparison of Predictive Performance Across Models
3.3. Identification of Key Depression Risk Factors
3.4. Sensitivity Analyses
4. Discussion
5. Conclusions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Statistics Korea. Population Projections for Korea: 2022–2072. 2023. Available online: https://www.kostat.go.kr/board.es?mid=a10301020600&bid=207&act=view&list_no=428476 (accessed on 9 May 2025).
- Statistics Korea. 2024 Statistics on the Aged. 2024. Available online: https://www.kostat.go.kr/board.es?mid=a10301010000&bid=10820&list_no=432917&act=view&mainXml=Y (accessed on 14 May 2025).
- Esteve, A.; Reher, D.S.; Treviño, R.; Zueras, P.; Turu, A. Living alone over the life course: Cross-national variations on an emerging issue. Popul. Dev. Rev. 2020, 46, 169–189. [Google Scholar] [CrossRef] [Scilit]
- National Academies of Sciences, Engineering, and Medicine; Division of Behavioral and Social Sciences and Education; Health and Medicine Division; Board on Behavioral, Cognitive, and Sensory Sciences; Board on Health Sciences Policy; Committee on the Health and Medical Dimensions of Social Isolation and Loneliness in Older Adults. Social Isolation and Loneliness in Older Adults: Opportunities for the Health Care System; National Academies Press: Washington, DC, USA, 2020. [Google Scholar]
- Chen, T.F.; Pien, L.C.; Fan, C.S.; Liang, K.L.; Chiu, Y.W. Financial strain and social support as moderators of the relationship between living alone and depressive symptoms in older people. BMC Geriatr. 2024, 24, 646. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Li, A.; Wang, D.; Lin, S.; Chu, M.; Huang, S.; Lee, C.Y.; Chiang, Y.C. Depression and life satisfaction among middle-aged and older adults: Mediation effect of functional disability. Front. Psychol. 2021, 12, 755220. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lee, H.; Kim, S.J.; Kang, M. Comparative study on eating habits and health of single-person and multi-person households. PLoS ONE 2025, 20, e0327763. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Paiva, T.C.; Soares, L.; Faria, A.L. Depression in Elderly People. Encyclopedia 2023, 3, 677–686. [Google Scholar] [CrossRef] [Scilit]
- Chen, Y. Risk factors for depression among older adults living alone in Shanghai, China. Psychogeriatrics 2022, 22, 780–785. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhao, X.; Wang, Y.; Li, J.; Liu, W.; Yang, Y.; Qiao, Y.; Liao, J.; Chen, M.; Li, D.; Wu, B.; et al. A machine-learning-derived online prediction model for depression risk in COPD patients: A retrospective cohort study from CHARLS. J. Affect. Disord. 2025, 377, 284–293. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Byeon, H. Exploring factors for predicting anxiety disorders of the elderly living alone in South Korea using interpretable machine learning: A population-based study. Int. J. Environ. Res. Public Health 2021, 18, 7625. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Montorsi, C.; Fusco, A.; Van Kerm, P.; Bordas, S.P. Predicting depression in old age: Combining life course data with machine learning. Econ. Hum. Biol. 2024, 52, 101331. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Hassija, V.; Chamola, V.; Mahapatra, A.; Singal, A.; Goel, D.; Huang, K.; Scardapane, S.; Spinelli, I.; Mahmud, M.; Hussain, A. Interpreting black-box models: A review on explainable artificial intelligence. Cogn. Comput. 2024, 16, 45–74. [Google Scholar] [CrossRef] [Scilit]
- Rai, A. Explainable AI: From black box to glass box. J. Acad. Mark. Sci. 2020, 48, 137–141. [Google Scholar] [CrossRef] [Scilit]
- Marey, A.; Arjmand, P.; Alerab, A.D.S.; Eslami, M.J.; Saad, A.M.; Sanchez, N.; Umair, M. Explainability, transparency and black box challenges of AI in radiology: Impact on patient care in cardiovascular radiology. Egypt. J. Radiol. Nucl. Med. 2024, 55, 183. [Google Scholar] [CrossRef] [Scilit]
- Noori, W.E.; Albahri, A.S. Towards trustworthy myopia detection: Integration methodology of deep learning approach, XAI visualization, and user interface system. Appl. Data Sci. Anal. 2023, 2023, 1–15. [Google Scholar] [CrossRef] [Scilit]
- Antoniadi, A.M.; Du, Y.; Guendouz, Y.; Wei, L.; Mazo, C.; Becker, B.A.; Mooney, C. Current challenges and future opportunities for XAI in machine learning-based clinical decision support systems: A systematic review. Appl. Sci. 2021, 11, 5088. [Google Scholar] [CrossRef] [Scilit]
- Sivertsen, H.E.; Haugan, G.; Helvik, A.S. Clinically significant depressive symptoms among community-living older people ≥ 70 years: Prevalence and associations. The HUNT study, Norway. J. Affect. Disord. 2025, 394, 120445. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kim, I.H.; Kim, C.S.; Jeong, M.H. The Trajectory of Depressive Symptoms Across Years of Community Care Utilization Among Older Adults: A 14-Year Follow-up Study Using the ‘Korean Welfare Panel Survey’. J. Prev. Med. Public Health 2023, 56, 495. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Won, S.; Kim, H. Social participation, health-related behavior, and depression of older adults living alone in Korea. Asian Soc. Work Policy Rev. 2020, 14, 61–71. [Google Scholar] [CrossRef] [Scilit]
- Isik, K.; Başoğul, C.; Yildirim, H. The relationship between perceived loneliness and depression in the elderly and influencing factors. Perspect. Psychiatr. Care 2021, 57, 351. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Park, H.; Song, I.; Shin, J.Y. High Prevalence of depression diagnosis among medical aid beneficiaries: A Korean health insurance database study. Asia Pac. J. Public Health 2017, 29, 692–697. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Jun, H.J.; Kim, K.M. Predictors of Depression in Elderly According to Gender during COVID-19: Using the Data of 2020 Community Health Survey. Healthcare 2024, 12, 551. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Xia, W.; van Wijngaarden, J.D.; Huijsman, R.; Buljac-Samardžić, M. Effect of receiving financial support from adult children on depression among older persons and the mediating role of social participation. Int. J. Environ. Res. Public Health 2022, 19, 12974. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Bialowolski, P.; Xiao, J.J.; Weziak-Bialowolska, D. Do all savings matter equally? Saving types and emotional well-being among older adults: Evidence from panel data. J. Fam. Econ. Issues 2024, 45, 88–105. [Google Scholar] [CrossRef] [Scilit]
- Qiao, Z.; Wang, Z.; Qiu, J.; Zhang, J.; Cao, W. Analysis of the effect of BMI on depression and anxiety among older adults in China: The mediating role of ADL and IADL. Front. Public Health 2024, 12, 1387550. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Cristóbal-Narváez, P.; Haro, J.M.; Koyanagi, A. Longitudinal association between perceived stress and depression among community-dwelling older adults: Findings from the Irish Longitudinal Study on Ageing. J. Affect. Disord. 2022, 299, 457–462. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Peleg, S.; Nudelman, G. Associations between self-rated health and depressive symptoms among older adults: Does age matter? Soc. Sci. Med. 2021, 280, 114024. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Pengpid, S.; Peltzer, K.; Hajek, A.; Anantanasuwong, D.; Kaewchankha, W. Determinants of depressive symptoms among persons 80 years and older: Longitudinal national evidence from the health, aging, and retirement study in Thailand, 2015–2022. BMC Geriatr. 2024, 24, 880. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ogliari, G.; Ryg, J.; Andersen-Ranberg, K.; Scheel-Hincke, L.L.; Collins, J.T.; Cowley, A.; Di Lorito, C.; Booth, V.; Smit, R.A.J.; Akyea, R.K.; et al. Association between pain intensity and depressive symptoms in community-dwelling adults: Longitudinal findings from the Survey of Health, Ageing and Retirement in Europe (SHARE). Eur. Geriatr. Med. 2023, 14, 1111–1124. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Laird, E.; Rasmussen, C.L.; Kenny, R.A.; Herring, M.P. Physical activity dose and depression in a cohort of older adults in the Irish longitudinal study on ageing. JAMA Netw. Open 2023, 6, e2322489. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ma, L. Depression, anxiety, and apathy in mild cognitive impairment: Current perspectives. Front. Aging Neurosci. 2020, 12, 9. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zwick, L.; Schmitz, N.; Shojaa, M. Oral health-related quality of life and depressive symptoms in adults: Longitudinal associations of the English Longitudinal Study of Ageing (ELSA). BMC Oral Health 2023, 23, 1029. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kim, S.; Jang, Y.S.; Park, E.C. Impact of late parent–child relationship changes on parental depression: A longitudinal aging panel study. BMC Public Health 2025, 25, 1408. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Han, S.J. A Study on Factors Influencing Life Satisfaction of Elderly Women Living Alone—Focused on Parent-child Relationship, Subjective Cass Consciousness, Depression. Cult. Converg. 2022, 44, 1003–1018. [Google Scholar] [CrossRef] [Scilit]
- Korea Employment Information Service (KEIS). Korean Longitudinal Study of Ageing (KLoSA) (2015). Available online: https://survey.keis.or.kr/eng/klosa/klosa01.jsp (accessed on 5 July 2025).
- Park, K.E.; Lee, H.; Kwon, Y.D.; Kim, S. Association Between Changes in Oral Health-Related Quality of Life and Depressive Symptoms in the Korean Elderly Population. Int. J. Public Health 2023, 68, 1605403. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Andresen, E.M.; Malmgren, J.; Carter, W.B.; Patrick, D.L. Screening for depression in well older adults: Evaluation of a short form of the CES-D (Center for Epidemiologic Studies Depression Scale). Am. J. Prev. Med. 1994, 10, 77–84. [Google Scholar] [PubMed]
- Fu, H.; Si, L.; Guo, R. What Is the Optimal Cut-Off Point of the 10-Item Center for Epidemiologic Studies Depression Scale for Screening Depression Among Chinese Individuals Aged 45 and Over? An Exploration Using Latent Profile Analysis. Front. Psychiatry 2022, 13, 820777. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Vu, T.; Dawadi, R.; Yamamoto, M.; Tay, J.T.; Watanabe, N.; Kuriya, Y.; Oya, A.; Tran, P.N.H.; Araki, M. Prediction of depressive disorder using machine learning approaches: Findings from the NHANES. BMC Med. Inform. Decis. Mak. 2025, 25, 83. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Stekhoven, D.J.; Bühlmann, P. MissForest--non-parametric missing value imputation for mixed-type data. Bioinformatics 2012, 28, 112–118. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Cai, J.; Luo, J.; Wang, S.; Yang, S. Feature selection in machine learning: A new perspective. Neurocomputing 2018, 300, 70–77. [Google Scholar] [CrossRef] [Scilit]
- Dormann, C.F.; Elith, J.; Bacher, S.; Buchmann, C.; Carl, G.; Carré, G.; García Marquéz, J.R.; Gruber, B.; Lafourcade, B.; Leitão, P.J.; et al. Collinearity: A review of methods to deal with it and a simulation study evaluating their performance. Ecography 2013, 36, 27–46. [Google Scholar] [CrossRef] [Scilit]
- Muthukrishnan, R.; Rohini, R. LASSO: A feature selection technique in predictive modeling for machine learning. In Proceedings of the 2016 IEEE International Conference on Advances in Computer Applications (ICACA); IEEE: New York, NY, USA, 2016; pp. 18–20. [Google Scholar] [CrossRef] [Scilit]
- Chawla, N.V.; Bowyer, K.W.; Hall, L.O.; Kegelmeyer, W.P. SMOTE: Synthetic minority over-sampling technique. J. Artif. Intell. Res. 2002, 16, 321–357. [Google Scholar] [CrossRef] [Scilit]
- Hosmer, D.W., Jr.; Lemeshow, S.; Sturdivant, R.X. Applied Logistic Regression, 3rd ed.; John Wiley & Sons: Hoboken, NJ, USA, 2013. [Google Scholar] [CrossRef] [Scilit]
- Stoltzfus, J.C. Logistic regression: A brief primer. Acad. Emerg. Med. 2011, 18, 1099–1104. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- McCallum, A.; Nigam, K. A comparison of event models for naive bayes text classification. In Proceedings of the AAAI-98 Workshop on Learning for Text Categorization, Madison, WI, USA, 26–27 July 1998; Volume 752, pp. 41–48. [Google Scholar]
- Webb, G.I.; Keogh, E.; Miikkulainen, R. Naïve Bayes. Encycl. Mach. Learn. 2010, 15, 713–714. [Google Scholar] [CrossRef] [Scilit]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
- Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef] [Scilit]
- Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar]
- Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Ye, Q.; Liu, T.Y. LightGBM: A highly efficient gradient boosting decision tree. Adv. Neural Inf. Process. Syst. (NeurIPS) 2017, 30, 3149–3157. [Google Scholar]
- Lundberg, S.M.; Erion, G.; Chen, H.; DeGrave, A.; Prutkin, J.M.; Nair, B.; Katz, R.; Himmelfarb, J.; Bansal, N.; Lee, S.-I. From local explanations to global understanding with explainable AI for trees. Nat. Mach. Intell. 2020, 2, 56–67. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ohi, T.; Murakami, T.; Komiyama, T.; Miyoshi, Y.; Endo, K.; Hiratsuka, T.; Satoh, M.; Asayama, K.; Inoue, R.; Kikuya, M.; et al. Oral health-related quality of life is associated with the prevalence and development of depressive symptoms in older Japanese individuals: The Ohasama Study. Gerodontology 2022, 39, 204–212. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Nerobkova, N.; Park, E.C.; Jang, S.I. Depression and oral health-related quality of life: A longitudinal study. Front. Public Health 2023, 11, 1072115. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kim, H.J.; Young, K.H.; Kim, B. Factors Affecting Oral Health-Related Quality of Life in Community-Dwelling Older Adults Living Alone: An Analysis of Data from the Ninth Korean Longitudinal Study of Aging. J. Korean Acad. Fundam. Nurs. 2024, 31, 524–534. [Google Scholar] [CrossRef] [Scilit]
- Borg-Bartolo, R.; Roccuzzo, A.; Gambetta-Tessini, K.; Schimmel, M.; Molinero-Mourelle, P.; Sabatini, G.; Ferrillo, M.; Esteves-Oliveira, M.; Giacaman, R.A.; Tennert, C.; et al. Association between oral health-related quality of life and structural determinants of health among elderly populations. A systematic review and meta-analysis. Int. J. Equity Health 2025, 24, 189. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lee, S.W.; Choi, J.S.; Lee, M. Life Satisfaction and Depression in the Oldest Old: A Longitudinal Study. Int. J. Aging Hum. Dev. 2020, 91, 37–59. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Byun, M.; Kim, E.; Ahn, H. Factors Contributing to Poor Self-Rated Health in Older Adults with Lower Income. Healthcare 2021, 9, 1515. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yi, Y.; Park, Y.-H. Factors Related to Subjective Health Status in Community-Dwelling Older Adults Living Alone on Low Income. J. Muscle Jt. Health 2022, 29, 205–217. [Google Scholar]
- Zheng, Y.; Zhang, T.; Yang, S.; Wang, F.; Zhang, L.; Liu, Y. Using machine learning to predict the probability of incident 2-year depression in older adults with chronic diseases: A retrospective cohort study. BMC Psychiatry 2024, 24, 870. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Takemura, Y.; Inoue, K.; Sato, K.; Haseda, M.; Shiba, K.; Kondo, N. Social Participation and Depressive Symptoms Among Older Adults. JAMA Netw. Open 2025, 8, e2530523. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Green, M.J.; Whitley, E.; Niedzwiedz, C.L.; Shaw, R.J.; Katikireddi, S.V. Social contact and inequalities in depressive symptoms and loneliness among older adults: A mediation analysis of the English Longitudinal Study of Ageing. SSM-Popul. Health 2021, 13, 100726. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Das Gupta, D.; Kelekar, U.; Rice, D. Associations between living alone, depression, and falls among community-dwelling older adults in the US. Prev. Med. Rep. 2020, 20, 101273. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lyu, C.; Siu, K.; Xu, I.; Osman, I.; Zhong, J. Social Isolation Changes and Long-Term Outcomes Among Older Adults. JAMA Netw. Open 2024, 7, e2424519. [Google Scholar] [CrossRef] [Scilit] [PubMed]



| Predictor Variable (n) | ||
|---|---|---|
| Demographic factors (9) | Gender | Male = 0, Female = 1 |
| Age, years | 65–103 | |
| Education level | Elementary school = 1, Middle school = 2, High school = 3, College = 4 | |
| Marital status | Never married = 0, Ever married = 1 | |
| Religion | No = 0, Yes = 1 | |
| Type of medical coverage | Employee subscriber = 1, Regional subscriber = 2, Medical aid (Type I/II) = 3 | |
| Type of residence | House = 1, Apartment = 2 | |
| Residential region | Urban (Dong) = 0, Rural area (Eup/Myeon) = 1 | |
| Frequency of contact with close acquaintances | Once or twice a year = 1, Once or twice a month = 2, Once or twice a week = 3 | |
| Family Factors (2) | Number of surviving siblings | 0–11 |
| Total amount of financial support | Continuous variable (Unit: 10,000 KRW) | |
| Disease and health behavior factors (24) | Hypertension | No = 0, Yes = 1 |
| Diabetes mellitus | No = 0, Yes = 1 | |
| Cancer or malignancy | No = 0, Yes = 1 | |
| COPD | No = 0, Yes = 1 | |
| Liver disease | No = 0, Yes = 1 | |
| Coronary heart disease | No = 0, Yes = 1 | |
| Cerebrovascular disease | No = 0, Yes = 1 | |
| Arthritis or rheumatism | No = 0, Yes = 1 | |
| Gastrointestinal disorders | No = 0, Yes = 1 | |
| Spinal disc disorders | No = 0, Yes = 1 | |
| Mild cognitive impairment (MCI) | No = 0, Yes = 1 | |
| Disability status diagnosed | No = 0, Yes = 1 | |
| Vision-related limitations in daily activities | No = 0, Yes = 1 | |
| Hearing-related limitations in daily activities | No = 0, Yes = 1 | |
| Pain-related functional limitations | No = 0, Yes = 1 | |
| Subjective health status | Bad = 1, General = 2, Good = 3 | |
| ADL | 0–7 | |
| IADL | 0–10 | |
| BMI | 15–37 | |
| Oral health status (GOHAI) | 5–60 | |
| Regular exercise | No = 0, Yes = 1 | |
| Smoking status | Non-smoker = 1, Former smoker = 2, Current smoker = 3 | |
| Alcohol consumption | Non-drinking = 1, Past drinking = 2, Current drinking = 3 | |
| Activity limitation | Strongly agree = 1, Somewhat agree = 2, Somewhat disagree = 3, Strongly disagree = 4 | |
| Employment Factors (2) | Current economic activity status | No = 0, Yes = 1 |
| Current employment status | No = 0, Yes = 1 | |
| Economic factors (3) | Annual personal income | Continuous variable (Unit: 10,000 KRW) |
| Average monthly living expenses over the past year | Continuous variable (Unit: 10,000 KRW) | |
| Household net assets | Continuous variable (Unit: 10,000 KRW) | |
| Subjective expectations and quality of life factors (6) | Satisfaction with health status | 0 (Not satisfied at all)–100 (Very satisfied) |
| Satisfaction with financial status | 0 (Not satisfied at all)–100 (Very satisfied) | |
| Satisfaction with relationships with children | 0 (Not satisfied at all)–100 (Very satisfied) | |
| Overall life satisfaction | 0 (Not satisfied at all)–100 (Very satisfied) | |
| Perceived social class | High = 1, Middle = 2, Low = 3 | |
| Expected life span | 0–100 | |
| Sample Type | Depression Risk | Total | |
|---|---|---|---|
| No | Yes | ||
| Original | 486 (68.84%) | 220 (31.16%) | 706 (100%) |
| SMOTE (oversampling) | 486 (52.48%) | 440 (47.52%) | 926 (100%) |
| Algorithm | Tuning | Setting |
|---|---|---|
| Logistic regression | Not tuned | Default settings |
| Naive Bayes | Not tuned | Default settings |
| Random forest | Grid search (mtry), 5-fold CV | mtry = 4; ntree = 500; nodesize = 5 |
| Support vector machine | Grid search (cost, gamma), 5-fold CV | RBF kernel; gamma = 0.1; cost = 10 with SMOTE, cost = 1 without SMOTE |
| XGBoost | Grid search (max_depth, eta), 5-fold CV | max_depth = 4; eta = 0.1; 100 rounds |
| LightGBM | Grid search over 27 combinations | learning rate = 0.01; num_leaves = 31; 100 rounds; feature_fraction = 0.8; bagging_fraction = 0.8; bagging_freq = 5; max_depth = 5 with SMOTE, unlimited without SMOTE |
| Variable | Depression Risk | Missing (n, %) | p-Value | ||
|---|---|---|---|---|---|
| Overall (N = 1007) | Yes (N = 314) | No (N = 693) | |||
| Gender | 0.573 | ||||
| Male | 154 (15.29%) | 51 (33.1%) | 103 (66.9%) | ||
| Female | 853 (84.71%) | 263 (30.8%) | 590 (69.2%) | ||
| Age, years | 80.0 [73.0–85.0] | 81.5 [75.0–86.0] | 79.0 [73.0–84.0] | <0.001 | |
| Education level | 0.430 | ||||
| Elementary school | 673 (66.83%) | 213 (67.8%) | 460 (66.4%) | ||
| Middle school | 159 (15.78%) | 54 (34.0%) | 105 (66.0%) | ||
| High school | 141 (14%) | 36 (25.5%) | 105 (74.5%) | ||
| College | 34 (3.38%) | 11 (32.4%) | 23 (67.6%) | ||
| Marital status | 0.274 | ||||
| Never married | 16 (1.59%) | 7 (43.7%) | 9 (56.3%) | ||
| Ever married | 991 (98.41%) | 307 (31.0%) | 684 (69.0%) | ||
| Religion | 0.544 | ||||
| No | 634 (62.94%) | 202 (31.9%) | 432 (68.1%) | ||
| Yes | 373 (37.06%) | 112 (30.0%) | 261 (70.0%) | ||
| Type of medical coverage | 4 (0.40%) | 0.256 | |||
| Regional Subscriber | 196 (19.54%) | 61 (31.1%) | 135 (68.9%) | ||
| Employee Subscriber | 696 (69.39%) | 209 (30.0%) | 487 (70.0%) | ||
| Medical Aid | 111 (11.07%) | 42 (37.8%) | 69 (62.2%) | ||
| Type of residence | 0.554 | ||||
| House | 642 (63.75%) | 196 (30.5%) | 446 (69.5%) | ||
| Apartment | 365 (36.25%) | 118 (32.3%) | 247 (67.7%) | ||
| Residential region | 0.052 | ||||
| Urban | 682 (67.73%) | 226 (33.2%) | 456 (66.8%) | ||
| Rural area | 325 (32.27%) | 88 (27.1%) | 237 (72.9%) | ||
| Frequency of contact with close acquaintances | <0.001 | ||||
| 1–2 times/year | 147 (14.60%) | 72 (48.98%) | 75 (51.02%) | ||
| 1–2 times/month | 219 (21.75%) | 92 (42.0%) | 127 (58.0%) | ||
| ≥1–2 times/week | 641 (63.65%) | 150 (23.41%) | 491 (76.59%) | ||
| Number of surviving siblings | 3.0 [2.0–4.0] | 3.0 [2.0–4.0] | 3.0 [2.0–4.0] | 219 (21.75%) | 0.349 |
| Total amount of financial support (10,000 KRW) | 200.0 [100–402.5] | 227.5 [86.3–450.0] | 200.0 [100.0–390.0] | 208 (20.66%) | 0.890 |
| Hypertension | 0.346 | ||||
| No | 371 (36.84%) | 109 (29.4%) | 262 (70.6%) | ||
| Yes | 636 (63.16%) | 205 (32.2%) | 431 (67.8%) | ||
| Diabetes mellitus | <0.001 | ||||
| No | 704 (69.91%) | 195 (27.7%) | 509 (72.3%) | ||
| Yes | 303 (30.09%) | 119 (39.3%) | 184 (60.7%) | ||
| Cancer or malignancy | 0.730 | ||||
| No | 928 (92.15%) | 288 (31.0%) | 640 (69.0%) | ||
| Yes | 79 (7.85%) | 26 (32.9%) | 53 (67.1%) | ||
| COPD | 0.268 | ||||
| No | 966 (95.93%) | 298 (30.8%) | 668 (69.2%) | ||
| Yes | 41 (4.07%) | 16 (39.0%) | 25 (61.0%) | ||
| Liver disease | 0.704 | ||||
| No | 975 (96.83%) | 305 (31.3%) | 670 (68.7%) | ||
| Yes | 32 (3.17%) | 9 (28.1%) | 23 (71.9%) | ||
| Coronary heart disease | <0.001 | ||||
| No | 846 (84.00%) | 242 (28.6%) | 604 (71.4%) | ||
| Yes | 161 (16.00%) | 72 (44.7%) | 89 (55.3%) | ||
| Cerebrovascular disease | 8 (0.79%) | <0.001 | |||
| No | 920 (92.09%) | 273 (29.7%) | 647 (70.3%) | ||
| Yes | 79 (7.91%) | 38 (48.1%) | 41 (51.9%) | ||
| Arthritis or rheumatism | 0.060 | ||||
| No | 519 (51.54%) | 148 (28.5%) | 371 (71.5%) | ||
| Yes | 488 (48.46%) | 166 (34.0%) | 322 (66.0%) | ||
| Gastrointestinal disorders | 0.513 | ||||
| No | 974 (96.72%) | 302 (31.0%) | 672 (69.0%) | ||
| Yes | 33 (3.28%) | 12 (36.4%) | 21 (63.6%) | ||
| Spinal disc disorders | 0.446 | ||||
| No | 966 (95.93%) | 299 (30.9%) | 667 (69.1%) | ||
| Yes | 41 (4.07%) | 15 (36.6%) | 26 (63.4%) | ||
| Mild cognitive impairment (MCI) | 0.076 | ||||
| No | 994 (98.71%) | 307 (30.9%) | 687 (69.1%) | ||
| Yes | 13 (1.29%) | 7 (53.8%) | 6 (46.2%) | ||
| Disability status diagnosed | 105 (10.43%) | 0.118 | |||
| No | 895 (99.22%) | 268 (29.9%) | 627 (70.1%) | ||
| Yes | 7 (0.78%) | 4 (57.1%) | 3 (42.9%) | ||
| Vision-related limitations in daily activities | 5 (0.50%) | 0.606 | |||
| No | 956 (95.41%) | 298 (31.1%) | 658 (68.9%) | ||
| Yes | 46 (4.59%) | 16 (34.8%) | 30 (65.2%) | ||
| Hearing-related limitations in daily activities | <0.001 | ||||
| No | 928 (92.15%) | 275 (29.6%) | 653 (70.4%) | ||
| Yes | 79 (7.85%) | 39 (49.4%) | 40 (50.6%) | ||
| Pain-related functional limitations | 209 (20.75%) | <0.001 | |||
| No | 451 (56.52%) | 123 (27.3%) | 328 (72.7%) | ||
| Yes | 347 (43.48%) | 142 (40.9%) | 205 (59.1%) | ||
| Subjective health status | <0.001 | ||||
| Bad | 377 (37.44%) | 165 (43.8%) | 212 (56.2%) | ||
| General | 443 (43.99%) | 111 (25.1%) | 332 (74.9%) | ||
| Good | 187 (18.57%) | 38 (20.3%) | 149 (79.7%) | ||
| ADL | 0.0 [0.0–0.0] | 0.0 [0.0–0.0] | 0.0 [0.0–0.0] | 0.002 | |
| IADL | 0.0 [0.0–0.0] | 0.0 [0.0–1.0] | 0.0 [0.0–0.0] | <0.001 | |
| BMI (kg/m2) | 23.1 [21.4–25.3] | 22.7 [20.9–25.2] | 23.4 [21.5–25.4] | 16 (1.59%) | 0.045 |
| GOHAI | 37.0 [33.0–42.5] | 33.0 [29.0–37.0] | 39.0 [35.0–44.0] | <0.001 | |
| Regular exercise | <0.001 | ||||
| No | 627 (62.27%) | 222 (35.4%) | 405 (64.6%) | ||
| Yes | 380 (37.73%) | 92 (24.2%) | 288 (75.8%) | ||
| Smoking status | 0.091 | ||||
| Non-smoker | 862 (85.59%) | 261 (30.3%) | 601 (69.7%) | ||
| Former smoker | 110 (10.93%) | 44 (40.0%) | 66 (60.0%) | ||
| Current smoker | 35 (3.48%) | 9 (25.7%) | 26 (74.3%) | ||
| Alcohol consumption | 0.812 | ||||
| Non-drinking | 651 (64.67%) | 206 (31.6%) | 445 (68.4%) | ||
| Past drinking | 224 (22.25%) | 70 (31.3%) | 154 (68.8%) | ||
| Current drinking | 132 (13.11%) | 38 (28.8%) | 94 (71.2%) | ||
| Activity limitation | <0.001 | ||||
| Strongly agree | 98 (9.73%) | 58 (59.2%) | 40 (40.8%) | ||
| Somewhat agree | 372 (36.94%) | 132 (35.5%) | 240 (64.5%) | ||
| Somewhat disagree | 440 (43.69%) | 116 (26.4%) | 324 (73.6%) | ||
| Strongly disagree | 97 (9.63%) | 8 (8.2%) | 89 (91.8%) | ||
| Current economic activity status | 0.003 | ||||
| No | 843 (83.70%) | 279 (33.1%) | 564 (66.9%) | ||
| Yes | 164 (16.30%) | 35 (21.3%) | 129 (78.7%) | ||
| Current employment status | 0.003 | ||||
| No | 844 (83.80%) | 279 (33.1%) | 565 (66.9%) | ||
| Yes | 163 (16.20%) | 35 (21.5%) | 128 (78.5%) | ||
| Annual personal income (10,000 KRW) | 870 [600.0–1426.0] | 788.0 [580.0–1230.0] | 920.0 [620.0–1470.0] | 25 (2.48%) | 0.006 |
| Average monthly living expenses over the past year (10,000 KRW) | 80.0 [60.0–100.0] | 70.0 [60.0–100.0] | 80.0 [60.0–100.0] | 16 (1.59%) | 0.035 |
| Household net assets (10,000 KRW) | 13,150.0 [5000.0–25,000.0] | 13,000.0 [4300.0–25,000.0] | 13,750.0 [5000.0–25,000.0] | 42 (4.17%) | 0.679 |
| Satisfaction with health status | 60.0 [40.0–70.0] | 50.0 [30.0–60.0] | 60.0 [50.0–70.0] | <0.001 | |
| Satisfaction with financial status | 50.0 [40.0–70.0] | 50.0 [30.0–60.0] | 60.0 [50.0–70.0] | <0.001 | |
| Satisfaction with relationships with children | 70.0 [60.0–80.0] | 60.0 [50.0–70.0] | 70.0 [60.0–80.0] | 50 (4.97%) | <0.001 |
| Overall life satisfaction | 60.0 [50.0–70.0] | 50.0 [40.0–67.5] | 60.0 [50.0–70.0] | <0.001 | |
| Perceived social class | 1 (0.10%) | <0.001 | |||
| High | 21 (2.09%) | 12 (57.1%) | 9 (42.9%) | ||
| Middle | 394 (39.17%) | 100 (25.4%) | 294 (74.6%) | ||
| Low | 591 (58.74%) | 201 (34.0%) | 390 (66.0%) | ||
| Expected life span | 50.0 [20.0–60.0] | 40.0 [20.0–60.0] | 50.0 [30.0–60.0] | 3 (0.30%) | <0.001 |
| Algorithm | Original | SMOTE | ||||
|---|---|---|---|---|---|---|
| Accuracy | ROC-AUC | PR-AUC | Accuracy | ROC-AUC | PR-AUC | |
| Logistic regression | 0.728 | 0.778 | 0.608 | 0.718 | 0.779 | 0.619 |
| Naive Bayes | 0.664 | 0.715 | 0.516 | 0.684 | 0.725 | 0.524 |
| Random Forest | 0.741 | 0.790 | 0.607 | 0.751 | 0.794 | 0.615 |
| SVM | 0.714 | 0.735 | 0.562 | 0.684 | 0.712 | 0.516 |
| XGBoost | 0.724 | 0.758 | 0.575 | 0.728 | 0.760 | 0.579 |
| LightGBM | 0.728 | 0.796 | 0.620 | 0.741 | 0.802 | 0.621 |
| Ranking | Feature | Mean (|SHAP|) |
|---|---|---|
| 1 | GOHAI | 0.333 |
| 2 | Satisfaction with the relationship with children | 0.180 |
| 3 | Frequency of contact with close acquaintances (≥Once or twice a week) | 0.155 |
| 4 | Overall life satisfaction | 0.154 |
| 5 | Satisfaction with health status | 0.088 |
| 6 | Age | 0.051 |
| 7 | IADL | 0.045 |
| 8 | Diabetes Mellitus (Yes) | 0.043 |
| 9 | Hypertension (Yes) | 0.038 |
| 10 | Perceived social class (low) | 0.035 |
| 11 | pain-related functional limitations (Yes) | 0.021 |
| 12 | Subjective health status (General) | 0.019 |
| 13 | Education level (Middle school) | 0.017 |
| 14 | Religion (Yes) | 0.016 |
| 15 | Type of residence (Apartment) | 0.016 |
| 16 | Activity limitation (Somewhat agree) | 0.015 |
| 17 | Cerebrovascular disease (Yes) | 0.013 |
| 18 | Alcohol consumption (Past drinking) | 0.009 |
| 19 | Type of medical coverage (Employee Subscriber) | 0.008 |
| 20 | Hearing-related limitations in daily activities (Yes) | 0.004 |
| 21 | Coronary heart disease (Yes) | 0.003 |
| 22 | Activity limitation (Strongly agree) | 0.002 |
| 23 | Cancer or malignancy (Yes) | 0.001 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Lee, D.-G.; Seo, B.-J.; Lee, M.-J.; Lee, Y.-E.; Kim, E.-A. Explainable AI for Digital Health: Predicting Depression Risk in Older Adults Living Alone Using Machine Learning. Healthcare 2026, 14, 3088. https://doi.org/10.3390/healthcare14183088
Lee D-G, Seo B-J, Lee M-J, Lee Y-E, Kim E-A. Explainable AI for Digital Health: Predicting Depression Risk in Older Adults Living Alone Using Machine Learning. Healthcare. 2026; 14(18):3088. https://doi.org/10.3390/healthcare14183088
Chicago/Turabian StyleLee, Dong-Geon, Bum-Jeun Seo, Mi-Joon Lee, Ye-Eun Lee, and Eun-A Kim. 2026. "Explainable AI for Digital Health: Predicting Depression Risk in Older Adults Living Alone Using Machine Learning" Healthcare 14, no. 18: 3088. https://doi.org/10.3390/healthcare14183088
APA StyleLee, D.-G., Seo, B.-J., Lee, M.-J., Lee, Y.-E., & Kim, E.-A. (2026). Explainable AI for Digital Health: Predicting Depression Risk in Older Adults Living Alone Using Machine Learning. Healthcare, 14(18), 3088. https://doi.org/10.3390/healthcare14183088

