Depressive disorders are complex, multifactorial conditions that exhibit significant variability in treatment response, often influenced by gender differences. This study leverages advanced machine learning (ML) techniques to predict antidepressant response to sertraline and imipramine, addressing the pressing need for personalized treatment strategies. By employing the Synthetic Minority Oversampling Technique (SMOTE), the research overcomes class imbalance—a common limitation in clinical datasets—ensuring fair representation of minority classes and enhancing predictive reliability. Rigorous hyperparameter tuning further refines model performance, maximizing accuracy and stability. Key clinical and demographic factors, such as BMI, baseline Hamilton Depression Rating Scale (HAM-D) scores, age, and gender, are analyzed to identify their relative importance in predicting treatment outcomes. Visual analytics, including confusion matrices, feature importance rankings, receiver operating characteristic (ROC) curves, and pair plots, provide transparent and interpretable insights into the model’s performance, shedding light on the nuanced relationships between patient characteristics and drug efficacy. This study introduces a comprehensive, data-driven framework designed to optimize antidepressant prescriptions by individualizing treatment pathways for diverse patient populations. The integration of ML-driven predictive analytics into psychiatric care represents a significant advancement in the pursuit of precision medicine, offering clinicians valuable tools to enhance patient outcomes, minimize adverse effects, and ultimately improve long-term mental health care. By addressing the gap between generalized antidepressant prescriptions and patient-specific needs, this research lays the foundation for a paradigm shift toward tailored, evidence-based interventions that account for gender-specific response patterns, furthering the goals of personalized psychiatry.
Cite this paper
Filippis, R. D. and Foysal, A. A. (2025). Advanced Machine Learning Models for Gender-Specific Antidepressant Response Prediction: Overcoming Data Imbalance for Precision Psychiatry. Open Access Library Journal, 12, e2895. doi: http://dx.doi.org/10.4236/oalib.1112895.
GBD 2019 Mental Disorders Collaborators (2022) Global, Regional, and National Burden of 12 Mental Disorders in 204 Countries and Territories, 1990-2019: A Systematic Analysis for the Global Burden of Disease Study 2019. The Lancet Psychiatry, 9, 137-150.
Voineskos, D., Daskalakis, Z.J. and Blumberger, D.M. (2020) Management of Treatment-Resistant Depression: Challenges and Strategies. Neuropsychiatric Disease and Treatment, 16, 221-234. https://doi.org/10.2147/ndt.s198774
Sloan, D.M.E. and Kornstein, S.G. (2003) Gender Differences in Depression and Response to Antidepressant Treatment. Psychiatric Clinics of North America, 26, 581-594. https://doi.org/10.1016/s0193-953x(03)00044-3
Yoon, S. and Kim, Y. (2017) Gender Differences in Depression. In: Kim, Y.K., Ed., Understanding Depression, Springer Singapore, 297-307. https://doi.org/10.1007/978-981-10-6580-4_24
Kornstein, S.G., Schatzberg, A.F., Thase, M.E., Yonkers, K.A., McCullough, J.P., Keitner, G.I., et al. (2000) Gender Differences in Treatment Response to Sertraline versus Imi-pramine in Chronic Depression. American Journal of Psychiatry, 157, 1445-1452. https://doi.org/10.1176/appi.ajp.157.9.1445
Brown-Bochicchio, C.M. (2020) Examining the Effects of Casual Video Gameplay as an Intervention to Alleviate Symptoms of Depression on Both Subjective and Objective Measures. East Carolina University.
Perakakis, N., Yazda-ni, A., Karniadakis, G.E. and Mantzoros, C. (2018) Omics, Big Data and Machine Learning as Tools to Propel Understanding of Biological Mechanisms and to Discover Novel Diagnostics and Therapeutics. Metabolism, 87, A1-A9. https://doi.org/10.1016/j.metabol.2018.08.002
Soltanzadeh, P. and Hashemzadeh, M. (2021) RCSMOTE: Range-Controlled Synthetic Minority Over-Sampling Technique for Handling the Class Imbalance Problem. Infor-mation Sciences, 542, 92-111. https://doi.org/10.1016/j.ins.2020.07.014
Kemp, A.H., Gordon, E., Rush, A.J. and Williams, L.M. (2008) Improving the Prediction of Treatment Response in Depression: Integration of Clinical, Cognitive, Psychophysiological, Neuroimaging, and Genetic Measures. CNS Spectrums, 13, 1066-1086. https://doi.org/10.1017/s1092852900017120
Helmreich, I., Wagner, S., Mergl, R., Allgaier, A., Hautzinger, M., Henkel, V., et al. (2011) Sensitivity to Changes during Antidepressant Treatment: A Comparison of Unidimensional Subscales of the Inventory of Depressive Symptomatology (IDS-C) and the Hamilton Depression Rating Scale (HAMD) in Patients with Mild Major, Minor or Subsyndromal Depression. European Archives of Psychiatry and Clinical Neu-roscience, 262, 291-304. https://doi.org/10.1007/s00406-011-0263-x
Mamatha, V. (2017) A Study of Efficacy and Safety Profile of Amitriptyline and Agomelatine in Major Depressive Disorder. Ph.D. Thesis, Rajiv Gandhi University of Health Sciences (India).
Filippis, R.D. and Foysal, A.A. (2024) Securing Predictive Psychological Assessments: The Synergy of Blockchain Technology and Artificial Intelligence. Open Access Library Jour-nal, 11, 1-23. https://doi.org/10.4236/oalib.1112378
Pillai, A., Nepal, S.K., Wang, W., Nemesure, M., Heinz, M., Price, G., et al. (2023) Investigating Generalizability of Speech-Based Suicidal Ideation Detection Using Mobile Phones. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiqui-tous Technologies, 7, 1-38. https://doi.org/10.1145/3631452
Fernandez, A., Garcia, S., Herrera, F. and Chawla, N.V. (2018) SMOTE for Learning from Imbalanced Data: Progress and Challenges, Marking the 15-Year Anniversary. Journal of Artificial Intelli-gence Research, 61, 863-905. https://doi.org/10.1613/jair.1.11192
Jha, M.K. and Trivedi, M.H. (2023) Treatment Resistant Depression. Psychiatric Clinics of North America, 46, i. https://doi.org/10.1016/s0193-953x(23)00042-4
Scala, J.J., Ganz, A.B. and Snyder, M.P. (2023) Precision Medicine Approaches to Mental Health Care. Physiology, 38, 82-98. https://doi.org/10.1152/physiol.00013.2022
Scaramella, L.V., Sohr-Preston, S.L., Callahan, K.L. and Mirabile, S.P. (2008) A Test of the Family Stress Model on Toddler-Aged Children’s Adjustment among Hurricane Katrina Impacted and Nonimpacted Low-Income Families. Journal of Clinical Child & Adolescent Psychology, 37, 530-541. https://doi.org/10.1080/15374410802148202
Thornton, W.J.L. and Dumke, H.A. (2005) Age Differences in Everyday Problem-Solving and Deci-sion-Making Effectiveness: A Meta-Analytic Review. Psychology and Aging, 20, 85-99. https://doi.org/10.1037/0882-7974.20.1.85
Leske, M.C., Heijl, A., Hyman, L., Bengtsson, B., Dong, L. and Yang, Z. (2007) Predictors of Long-Term Progression in the Early Manifest Glaucoma Trial. Ophthalmology, 114, 1965-1972. https://doi.org/10.1016/j.ophtha.2007.03.016
Koçyiğit, B.F. and Okyay, R.A. (2018) The Relationship between Body Mass Index and Pain, Disease Ac-tivity, Depression and Anxiety in Women with Fibromyalgia. PeerJ, 6, e4917. https://doi.org/10.7717/peerj.4917
Shim, I.H., Woo, Y.S. and Bahk, W. (2016) Associations between Immune Activation and the Current Severity of the “with Anxious Distress” Specifier in Patients with Depressive Disorders. General Hospital Psychiatry, 42, 27-31. https://doi.org/10.1016/j.genhosppsych.2016.07.003
Steenkamp, L.R., Hough, C.M., Reus, V.I., Jain, F.A., Epel, E.S., James, S.J., et al. (2017) Severity of Anxiety—But Not Depression—Is Associated with Oxidative Stress in Major De-pressive Disorder. Journal of Affective Disorders, 219, 193-200. https://doi.org/10.1016/j.jad.2017.04.042
Kloiber, S., Ising, M., Reppermund, S., Horstmann, S., Dose, T., Majer, M., et al. (2007) Overweight and Obesity Affect Treatment Response in Major Depression. Biological Psychi-atry, 62, 321-326. https://doi.org/10.1016/j.biopsych.2006.10.001
Shiyko, M.P., Burkhal-ter, J., Li, R. and Park, B.J. (2014) Modeling Nonlinear Time-Dependent Treat-ment Effects: An Application of the Generalized Time-Varying Effect Model (TVEM). Journal of Consulting and Clinical Psychology, 82, 760-772. https://doi.org/10.1037/a0035267
Williamon, A. (2004) Drugs and Musical Performance. In: Williamon, A., Ed., Musical Excellence Strategies and Techniques to Enhance Performance, Oxford University Press, 271-290. https://doi.org/10.1093/acprof:oso/9780198525356.003.0014
Robertson, C.T. and Kesselheim, A.S. (2016) Blinding as a Solution to Bias: Strengthen-ing Biomedical Science, Forensic Science, and Law. Academic Press.
Khalsa, S., Ru-drauf, D., Davidson, R. and Tranel, D. (2013) W2. Interoceptive Awareness in Meditators During Cardiorespiratory Deviations in Body Arousal. Neuropsy-chopharmacology, 38, S435-S593.
Neavin, D.R. (2019) Single Nucleotide Polymorphisms Associ-ated with Interindividual Variation in Major Depressive Disorder, Antidepres-sant Response and Ligand-Dependent Genome-Wide Expression. Ph.D. Thesis, College of Medicine-Mayo Clinic.
Perna, G., Alciati, A., Daccò, S., Grassi, M. and Caldirola, D. (2020) Personalized Psychiatry and Depression: The Role of Sociodemographic and Clinical Variables. Psychiatry Investigation, 17, 193-206. https://doi.org/10.30773/pi.2019.0289
Perlman, K., Benrimoh, D., Israel, S., Rollins, C., Brown, E., Tunteng, J., et al. (2019) A Systematic Me-ta-Review of Predictors of Antidepressant Treatment Outcome in Major Depres-sive Disorder. Journal of Affective Disorders, 243, 503-515. https://doi.org/10.1016/j.jad.2018.09.067
Chekroud, A.M., Gueorgui-eva, R., Krumholz, H.M., Trivedi, M.H., Krystal, J.H. and McCarthy, G. (2017) Reevaluating the Efficacy and Predictability of Antidepressant Treatments. JA-MA Psychiatry, 74, 370-378. https://doi.org/10.1001/jamapsychiatry.2017.0025