Simulation-Based Bayesian Modelling of Antidepressant Discontinuation Risk in Bipolar Disorder: Integrating Side-Effect Profiles, Therapeutic Alliance Scores, and Synthetic Prescription Records
Antidepressant discontinuation in bipolar disorder is a clinically important contributor to treatment failure. Side-effect burden, therapeutic alliance, and prescription-adherence behaviour may jointly influence unplanned cessation. This proof-of-concept study evaluates whether those domains can support discontinuation-risk modelling in a fully synthetic cohort; it does not analyse real patient records or provide clinical validation. We generated a synthetic cohort of N = 900 antidepressant-exposed patients with bipolar disorder and a simulated 90-day discontinuation prevalence of 35.0%. Five feature domains represented side effects, therapeutic alliance, synthetic prescription records, patient-reported outcomes, and clinical variables. Random Forest, XGBoost, and LightGBM were combined through five-fold out-of-fold stacking with a logistic-regression meta-learner. A MAP-regularised Bayesian logistic regression served as the principal probabilistic reference. SHAP analyses and domain-specific visualisations were used for interpretation. BIC, WAIC, and Bayes-factor calculations for non-likelihood models were retained only as exploratory approximations. Bayesian logistic regression achieved the highest AUC (0.939) and lowest Brier score (0.095). The stacked ensemble achieved AUC = 0.913 (95% CI: 0.860 - 0.956), F1 = 0.816 (CI: 0.722 - 0.891), sensitivity = 0.817, specificity = 0.896, and Brier score = 0.109. Therefore, the ensemble was not superior in discrimination or calibration; its value lies in modelling non-linear interactions and supporting complementary interpretation. Within the simulator, prior gap count, refill adherence, patient-clinician concordance, medication-harm beliefs, and prior discontinuation history were the dominant SHAP predictors. These results demonstrate methodological feasibility in synthetic data only. The feature rankings and apparent clinical patterns may partly reflect the data-generation rules and require external validation using real dispensing, clinical, and therapeutic alliance data before any decision-support use.
Cite this paper
Filippis, R. D. and Foysal, A. A. (2026). Simulation-Based Bayesian Modelling of Antidepressant Discontinuation Risk in Bipolar Disorder: Integrating Side-Effect Profiles, Therapeutic Alliance Scores, and Synthetic Prescription Records. Open Access Library Journal, 13, e15673. doi: http://dx.doi.org/10.4236/oalib.1115673.
Velligan, D.I., Weiden, P.J., Sajatovic, M., Scott, J., Carpenter, D., Ross, R. and Docherty, J.P. (2009) The Expert Consensus Guideline Series: Adherence Problems in Patients with Serious and Persistent Mental Illness. <i>Journal of Clinical Psychiatry</i>, 70, 1-48.
Ursano, R.J., Bell, C., Eth, S., Friedman, M., Norwood, A., Pfefferbaum, B., <i>et al</i>. (2004) Practice Guideline for the Treatment of Patients with Acute Stress Disorder and Posttraumatic Stress Disorder. <i>The American Journal of Psychiatry</i>, 161, 3-31.
Velligan, D.I., Sajatovic, M., Hatch, A., Kramata, P. and Docherty, J.P. (2017) Why Do Psychiatric Patients Stop Antipsychotic Medication? A Systematic Review of Reasons for Nonadherence to Medication in Patients with Serious Mental Illness. <i>Patient Preference and Adherence</i>, 11, 449-468. <br>https://doi.org/10.2147/PPA.S124658
Lingam, R. and Scott, J. (2002) Treatment Non-Adherence in Affective Disorders. <i>Ac</i><i>ta Psychiatrica Scandinavica</i>, 105, 164-172. <br>https://doi.org/10.1034/j.1600-0447.2002.1r084.x
Horvath, A.O. and Greenberg, L.S. (1989) Development and Validation of the Working Alliance Inventory. <i>Journal of Counseling Psychology</i>, 36, 223-233. <br>https://doi.org/10.1037/0022-0167.36.2.223
Pacchiarotti, I., Bond, D.J., Baldessarini, R.J., Nolen, W.A., Grunze, H., Licht, R.W., <i>et al</i>. (2013) The International Society for Bipolar Disorders (ISBD) Task Force Report on Antidepressant Use in Bipolar Disorders. <i>American Journal of Psychiatry</i>, 170, 1249-1262. <br>https://doi.org/10.1176/appi.ajp.2013.13020185
Taheri, L., Shamsaei, F., Sadeghian, E. and Tapak, L. (2021) Treatment Adherence in Patients with Mental Illnesses: The Effect of Stigma and Spirituality. <i>Archives of Psychiatry and Psychotherapy</i>, 23, 32-45. <br>https://doi.org/10.12740/APP/138429
Roebuck, M.C., Liberman, J.N., Gemmill-Toyama, M. and Brennan, T.A. (2011) Medication Adherence Leads to Lower Health Care Use and Costs Despite Increased Drug Spending. <i>Health Affairs</i>, 30, 91-99. <br>https://doi.org/10.1377/hlthaff.2009.1087
Australian, R. and New Zealand College of Psychiatrists Clinical Practice Guidelines Team for Bipolar Disorder (2004) Australian and New Zealand Clinical Practice Guidelines for the Treatment of Bipolar Disorder. <i>Australian & New Zealand Journal of Psyc</i><i>hiatry</i>, 38, 280-305. <br>https://doi.org/10.1111/j.1440-1614.2004.01356.x
Kass, R.E. and Raftery, A.E. (1995) Bayes Factors. <i>Journal of the American Statistical Association</i>, 90, 773-795. <br>https://doi.org/10.1080/01621459.1995.10476572
Misdrahi, D., Petit, M., Blanc, O., Bayle, F. and Llorca, P. (2011) The Influence of Therapeutic Alliance and Insight on Medication Adherence in Schizophrenia. <i>Nordic Jo</i><i>urnal of Psychiatry</i>, 66, 49-54. <br>https://doi.org/10.3109/08039488.2011.598556
Chen, T. and Guestrin, C. (2016) XGBoost: A Scalable Tree Boosting System. <i>Proceedings of the </i>22<i>nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining</i>, San Francisco, 13-17 August 2016, 785-794. <br>https://doi.org/10.1145/2939672.2939785
Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., Ye, Q. and Liu, T.-Y. (2017) LightGBM: A Highly Efficient Gradient Boosting Decision Tree. <i>Neural Information </i><i>Processing Systems</i> 30: <i>Annual Conference on Neural Information Processing System</i><i>s</i> 2017, Long Beach, 4-9 December 2017, 3146-3154.
Lundberg, S.M. and Lee, S.-I. (2017) A Unified Approach to Interpreting Model Predictions. <i>Neural Information Processing Systems</i> 30: <i>Annual Conference on Neural Information Processing Systems</i> 2017, Long Beach, 4-9 December 2017, 4765-4774.
DeLong, E.R., DeLong, D.M. and Clarke-Pearson, D.L. (1988) Comparing the Areas under Two or More Correlated Receiver Operating Characteristic Curves: A Nonparametric Approach. <i>Biometrics</i>, 44, 837-844. <br>https://doi.org/10.2307/2531595
Yatham, L.N., Kennedy, S.H., Parikh, S.V., Schaffer, A., Bond, D.J., Frey, B.N., <i>et al</i>. (2018) Canadian Network for Mood and Anxiety Treatments (CANMAT) and International Society for Bipolar Disorders (ISBD) 2018 Guidelines for the Management of Patients with Bipolar Disorder. <i>Bipolar Disorders</i>, 20, 97-170. <br>https://doi.org/10.1111/bdi.12609