Submitted:
08 May 2025
Posted:
12 May 2025
You are already at the latest version
Abstract

Keywords:
1. Introduction
- Introduced a Causal Forest (Double ML) approach to identify behaviorally significant drivers of divorce, moving beyond correlation to establish actionable causal relationships.
- Combined SHAP (global/local explanations) and counterfactual reasoning (DiCE) to provide transparent, personalized insights that reveals both prediction logic and preventive actions.
- Utilized Bayesian Neural Networks to quantify prediction confidence, enhancing reliability for real-world deployment.
- Released non-technical user friendly Google Colab Notebook to make the models accessible [20].
2. Related Work
3. Methodology
3.1. Dataset Information
3.2. Causal Feature Selection
|
Algorithm 1 Causality-Aware Dimensionality Reduction using Double Machine Learning (DML)
|
|
Input: Dataset D with n samples and d features ; binary target variable Y (Divorce)
Output: Top-k causally relevant features , where
|
3.3. Model Selection
3.3.1. XGBoost: eXtreme Gradient Boosting
- is the first-order gradient
- is the second-order gradient (Hessian)
3.3.2. LightGBM: Light Gradient Boosting Machine
- is the first-order gradient
- is the second-order gradient (Hessian)
3.3.3. CatBoost: Categorical Boosting
- is the gradient
- is the Hessian
3.3.4. HistGradientBoosting: Histogram-Based Gradient Boosting
- is the gradient
- is the Hessian
3.3.5. Bayesian Neural Network (BNN) with MC Dropout
3.3.6. Model Interpretability
- is the counterfactual example.
- is the prediction model (e.g., divorce classifier).
- is the desired outcome (e.g., marriage stability).
- encourages to change the prediction to .
- ensures minimal change from the original input .
- encourages generating a set of diverse counterfactuals.
- are regularization weights balancing the objectives.
4. Results and Discussion
4.1. Causal Inference
4.2. Model Performance
4.3. Shapley Additive Explanations
4.4. Diverse Counterfactual Explanations
4.5. BNN Uncertainty Analysis
4.6. Theoretical and Practical Implications
4.7. Comparison with Existing Works
4.8. Comparison with State-of-the-Art Baseline Models
5. Conclusion
Supplementary Material 1
- Q1 (Question 1):When one of us says sorry during an argument, it helps end the argument.
- Q2: We’re able to overlook our differences, even when things get tough.
- Q3: When needed, we can restart our discussions and fix things together.
- Q4: When I talk with my spouse, I know I’ll eventually be able to reach them.
- Q5: The time I spend with my wife feels meaningful for both of us.
- Q6: We don’t have time at home as partners.
- Q31: I tend to feel aggressive when I argue with my partner.
- Q32: When talking with my partner, I often use phrases like “you always” or “you never.”
- Q33: Sometimes, I make negative comments about my partner’s personality during our discussions.
- Q34: I sometimes use hurtful language during our discussions.
- Q35: I can sometimes insult my partner during our discussions.
- Q36: I can be humiliating when we have discussions.
- Q37: My discussion with my spouse is not calm.
- Q4: When I talk with my spouse, I know I’ll eventually be able to reach them.
- Q5: The time I spend with my wife feels meaningful for both of us.
- Q6: We don’t have time at home as partners.
- Q7: At home, we feel more like two strangers sharing space than a family.
- Q8: I enjoy our holidays with my wife.
- Q9: I enjoy traveling with my wife.
- Q10: My spouse and I share most of the same goals.
- Q11: I believe that in the future, when I look back, I’ll see that my spouse and I were in harmony with each other.
- Q12: My spouse and I have similar values when it comes to personal freedom.
- Q13: My spouse and I have similar tastes in entertainment.
- Q14: My spouse and I have similar goals when it comes to people like our children, friends, and others.
- Q15: My spouse and I have similar and harmonious dreams.
- Q16: My spouse and I are on the same page about what love should be.
- Q17: My spouse and I share the same views on what it means to be happy in life.
- Q18: My partner and I have the same view on what marriage should be like.
- Q19: My partner and I have the same thoughts on the roles in marriage.
- Q20: My partner and I share the same values when it comes to trust.
- Q21: I know exactly what my wife likes.
- Q22: I know how my partner likes to be cared for when they’re sick.
- Q23: I know my spouse’s favorite food.
- Q24: I know the kind of stress my partner is dealing with in their life.
- Q25: I understand what’s going on in my partner’s inner world.
- Q26: I’m aware of my partner’s main anxieties.
- Q27: I know what’s currently causing stress in my partner’s life.
- Q28: I’m familiar with my partner’s hopes and dreams.
- Q29: I know my spouse very well.
- Q10: My spouse and I share most of the same goals.
- Q11: I believe that in the future, when I look back, I’ll see that my spouse and I were in harmony with each other.
- Q12: My spouse and I have similar values when it comes to personal freedom.
- Q13: My spouse and I have similar tastes in entertainment.
- Q14: My spouse and I have similar goals when it comes to people like our children, friends, and others.
- Q15: My spouse and I have similar and harmonious dreams.
- Q16: My spouse and I are on the same page about what love should be.
- Q17: My spouse and I share the same views on what it means to be happy in life.
- Q18: My partner and I have the same view on what marriage should be like.
- Q19: My partner and I have the same thoughts on the roles in marriage.
- Q20: My partner and I share the same values when it comes to trust.
- Q21: I know exactly what my wife likes.
- Q22: I know how my partner likes to be cared for when they’re sick.
- Q23: I know my spouse’s favorite food.
- Q24: I know the kind of stress my partner is dealing with in their life.
- Q32: When talking with my partner, I often use phrases like “you always” or “you never.”
- Q33: Sometimes, I make negative comments about my partner’s personality during our discussions.
- Q34: I sometimes use hurtful language during our discussions.
- Q35: I can sometimes insult my partner during our discussions.
- Q36: I can be humiliating when we have discussions.
- Q37: My discussion with my spouse is not calm.
- Q38: I really dislike the way my partner brings up topics.
- Q39: Our arguments often start out of nowhere.
- Q40: We’re in the middle of a discussion before I even realize it’s started.
- Q41: When I start talking to my partner about something, I suddenly lose my calm.
- Q42: When I argue with my partner, I just walk away without saying anything.
- Q43: I usually stay quiet to help calm things down.
- Q44: Sometimes I feel like it’s best for me to leave the house for a bit.
- Q45: I prefer staying silent instead of getting into a discussion with my partner.
- Q46: Even when I know I’m right, I stay silent just to upset my partner.
- Q47: When I argue with my partner, I stay silent because I’m afraid I won’t be able to control my anger.
- Q48: I feel like I’m in the right during our discussions.
- Q49: I have nothing to do with what I’ve been accused of.
- Q50: I don’t think I’m the one at fault for what I’m being accused of.
- Q51: I don’t think I’m the one at fault for the problems at home.
- Q52: I wouldn’t hesitate to point out my partner’s shortcomings.
- Q53: During our discussions, I remind my partner of their shortcomings.
- Q54: I’m not afraid to point out my partner’s incompetence.
References
- Amato, P. R. (2010). Research on divorce: Continuing trends and new developments. Journal of Marriage and Family, 72(3), 650–666. https://www.jstor.org/stable/40732501.
- Amato, P. R., & Keith, B. (1991). Parental divorce and the well-being of children: A meta-analysis. Psychological Bulletin, 110(1), 26–46. https://pubmed.ncbi.nlm.nih.gov/1832495/.
- Eurostat. (2021). Marriage and divorce statistics. https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Marriage_and_divorce_statistics.
- Gottman, J. M., & Levenson, R. W. (2000). The timing of divorce: Predicting when a couple will divorce over a 14-year period. Journal of Marriage and Family, 62(3), 737–745. https://bpl.studentorg.berkeley.edu/docs/61-Timing%20of%20Divorce00.pdf.
- Kalmijn, M. (2009). Country differences in the effects of divorce on well-being: The role of norms, support, and selectivity. European Sociological Review, 26(4), 475–490. https://www.jstor.org/stable/40784574.
- Karney, B. R., & Bradbury, T. N. (1995). The longitudinal course of marital quality and stability: A review of theory, methods, and research. Psychological Bulletin, 118(1), 3–34. https://pubmed.ncbi.nlm.nih.gov/7644604/.
- Kelly, J. B., & Emery, R. E. (2003). Children’s adjustment following divorce: Risk and resilience perspectives. Family Relations, 52(4), 352–362. https://psycnet.apa.org/record/2003-09485-005.
- McLanahan, S., & Sandefur, G. (1994). Growing up with a single parent: What hurts, what helps. Harvard University Press. https://doi.org/10.2307/j.ctv22tnmnn.
- OECD. (2022). OECD family database – SF3.1: Marriage and divorce rates. https://www.oecd.org/els/family/database.htm.
- Hudson, J. (2012). Welfare regimes and global cities: A missing link in the comparative analysis of welfare states? Journal of Social Policy, 41(3), 455–473. https://doi.org/10.1017/S0047279412000256.
- Simon, R. W. (2002). Revisiting the relationships among gender, marital status, and mental health. American Journal of Sociology, 107(4), 1065–1096. https://pubmed.ncbi.nlm.nih.gov/12227382/.
- Smock, P. J., Manning, W. D., & Gupta, S. (1999). The effect of marriage and divorce on women’s economic well-being. American Sociological Review, 64(6), 794–812. https://doi.org/10.1177/000312249906400602.
- Waite, L. J., Luo, Y., & Lewin, A. C. (2002). Marital happiness and marital stability: Consequences for psychological well-being. Social Science Research, 38(1), 201–212. https://www.sciencedirect.com/science/article/abs/pii/S0049089X08000720.
- Clark, S., & Brauner-Otto, S. (2015). Divorce in sub-Saharan Africa: Are unions becoming less stable? Population and Development Review, 41(4), 583–605. https://www.jstor.org/stable/24638576.
- Fox, J., & Moreland, J. J. (2015). The dark side of social networking sites: An exploration of the relational and psychological stressors associated with Facebook use and affordances. Computers in Human Behavior, 45, 168–176. https://www.sciencedirect.com/science/article/abs/pii/S0747563214007018.
- Giddens, A. (1992). The transformation of intimacy: Sexuality, love, and eroticism in modern societies. Stanford University Press. https://www.sup.org/books/sociology/transformation-intimacy.
- Jones, G. (2020). Changing marriage patterns in Asia. In C. S. Tang & S. W. Ng (Eds.), Marriage and family in a changing Asian context (pp. 23–42). Springer. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=1716533.
- Martin, S. P. (2006). Trends in marital dissolution by women’s education in the United States. Demographic Research, 15, 537–560. https://www.demographic-research.org/articles/volume/15/20.
- Rosenfeld, M. J., Thomas, R. J., & Hausen, S. (2019). Disintermediating your friends: How online dating in the United States displaces other ways of meeting. Proceedings of the National Academy of Sciences, 116(36), 17753–17758. https://doi.org/10.1073/pnas.1908630116.
- Hasan, K. S. (2025). Interactive divorce prediction system [Computer software]. Google Colaboratory. https://colab.research.google.com/drive/1tX7eEOIepT4ZdP0_ECKdgkRaxd2yI-Yr.
- Hasan, K. S. (2025). divorce-early-warning-system [Computer software]. GitHub. https://github.com/SakibHasanSimanto/divorce-early-warning-system.
- Mvd, A. (2018). Divorce prediction dataset. Kaggle. https://www.kaggle.com/datasets/andrewmvd/divorce-prediction.
- Ul-Ameer, B. A., & Ali, Z. H. (2025). Iraqi divorce prediction using machine learning and a priori algorithm. In Proceedings of the 6th International Conference for Physics and Advance Computation Sciences (ICPAS2024). AIP Conference Proceedings. https://pubs.aip.org/aip/acp/article-abstract/3282/1/030016.
- Dina, A. B., Sarno, R., Anggraini, R. N. E., Haryono, A. T., & Septiyanto, A. F. (2024). Comparison of oversampling techniques in prediction judicial decisions of divorce trials in family courts. In 2024 International Conference on Information Technology Research and Innovation (ICITRI). IEEE. https://doi.org/10.1109/ICITRI62858.2024.10699016.
- Tabrizi, E., & Farzammehr, M. A. (2024). Classifying divorce cases in Iranian judiciary courts using machine learning: A predictive perspective. Journal of Sciences, Islamic Republic of Iran, 35(2), 147–157. https://doi.org/10.22059/jsciences.2025.383202.1007887.
- Moumen, A., Shafqat, A., Alraqad, T., Alshawarbeh, E. S., Saber, H., & Shafqat, R. (2024). Divorce prediction using machine learning algorithms in Ha’il region, KSA. Scientific Reports, 14, 502. https://www.nature.com/articles/s41598-023-50839-1.
- Satu, M. S., Riyad, M. M. H., & Rony, M. A. T. (2024). Developing an interpretable machine learning model for divorce prediction. In Proceedings of the 2nd International Conference on Big Data, IoT and Machine Learning. Springer. https://link.springer.com/chapter/10.1007/978-981-99-8937-9_4.
- Ventura-León, J., Lino-Cruz, C., Sánchez-Villena, A. R., Tocto-Muñoz, S., Martinez-Munive, R., Talledo-Sánchez, K., & Casiano-Valdivieso, K. (2024). Prediction of the end of a romantic relationship in Peruvian youth and adults: A machine learning approach. The Journal of General Psychology. https://doi.org/10.1080/00221309.2024.2433278.
- Kumar, A., Saha, S., Mondal, J., Mitra, A., & Chaudhuri, A. K. (2023). Prediction of the probability of divorce using machine learning algorithms. International Journal of Engineering Technology and Management Sciences, 7(2). https://doi.org/10.46647/ijetms.2023.v07i02.024.
- Ahsan, M. M. (2023). Divorce prediction with machine learning: Insights and LIME interpretability. arXiv. https://arxiv.org/abs/2310.08620.
- Sahle, K. A., & Yibre, A. M. (2024). Hybrid of ensemble machine learning and nature-inspired algorithms for divorce prediction. In Pan-African Conference on Artificial Intelligence. Springer. https://link.springer.com/chapter/10.1007/978-3-031-57639-3_11.
- Truman, I. (2023). Justin Theroux has finally revealed why he and Jennifer Aniston broke up. Grazia Magazine. https://graziamagazine.com/articles/jennifer-aniston-justin-theroux-divorce-reason/.
- Arik, S. O., & Pfister, T. (2021). TabNet: Attentive interpretable tabular learning. In Proceedings of the Thirty-Fifth AAAI Conference on Artificial Intelligence (AAAI-21) (pp. 6679–6687). https://cdn.aaai.org/ojs/16826/16826-13-20320-1-2-20210518.pdf.
- Gorishniy, Y., Rubachev, I., Khrulkov, V., & Babenko, A. (2021). Revisiting deep learning models for tabular data. In Proceedings of the 35th Conference on Neural Information Processing Systems (NeurIPS 2021). https://openreview.net/pdf?id=i_Q1yrOegLY.
- Hollmann, N., Müller, S., Eggensperger, K., & Hutter, F. (2023). TabPFN: A transformer that solves small tabular classification problems in a second. In Proceedings of the International Conference on Learning Representations (ICLR 2023). https://openreview.net/pdf?id=cp5PvcI6w8_.










| Feature | Definition | ATE |
|---|---|---|
| Q36 | Can be humiliating when we discuss | 0.2440 |
| Q20 | Similar values in trust with spouse | 0.2399 |
| Q9 | Enjoy traveling with my wife | 0.2257 |
| Q18 | Similar ideas on how marriages should be | 0.2162 |
| Q13 | Have similar senses of entertainment | -0.2078 |
| Q33 | Can use negative statements on my spouse in discussions | -0.1881 |
| Q1 | Discussion ends when one of us apologizes | -0.1688 |
| Q43 | I stay silent to calm the environment | 0.1655 |
| Q11 | Nostalgia regarding harmony with wife | -0.1570 |
| Q12 | Similar values in terms of personal freedom | -0.1502 |
| Q14 | Most of our goals for people are same | 0.1404 |
| Q3 | Take the discussions with spouse from beginning and correct it | 0.1375 |
| Q5 | Time spent with my wife is special | 0.1322 |
| Q21 | I know what my wife likes | -0.1303 |
| Q4 | Contacting him eventually works, during discussion | 0.1281 |
| Q25 | I have knowledge on my spouse’s inner world | -0.1237 |
| Model | Accuracy | Precision | Recall | F1-Score | ROC-AUC |
|---|---|---|---|---|---|
| XGBoost | 0.9797 | 0.9982 | 0.9612 | 0.9790 | 0.9972 |
| HistGBoost | 0.9759 | 0.9945 | 0.9576 | 0.9750 | 0.9978 |
| LGBM | 0.9672 | 0.9809 | 0.9724 | 0.9759 | 0.9985 |
| CatBoost | 0.9753 | 0.9926 | 0.9582 | 0.9745 | 0.9986 |
| BNN | 0.9411 | 0.9411 | 0.9411 | 0.9411 | 0.9930 |
| Model | Accuracy | Precision | Recall | F1-Score | ROC-AUC |
|---|---|---|---|---|---|
| XGBoost | 0.0588 | 0.0309 | 0.1176 | 0.0625 | 0.0199 |
| HistGBoost | 0.0588 | 0.1053 | 0.1176 | 0.0625 | 0.0138 |
| LGBM | 0.0588 | 0.0608 | 0.1176 | 0.0625 | 0.0138 |
| CatBoost | 0.0588 | 0.0588 | 0.1176 | 0.0625 | 0.0069 |
| Research | Models | Strength |
|---|---|---|
| [23] | KNN, SVM, Bi-LSTM | Performance (F1-score 0.932) |
| [26] | ANN, NB, RF | Performance (Accuracy 0.916) |
| Correlation-based feature selection | ||
| [24] | IndoBert, RF | Performance (Precision 0.82) |
| Oversampling | ||
| [25] | RF, Neural Network | Performance (AUC score 0.981) |
| 10-fold cross-validation | ||
| [28] | LR, GB, SVM, RF | Performance |
| SHAP Interpretation (Global) | ||
| [29] | LR, NB, SGD, DT, RF, MLP | Performance (Accuracy 1.0) |
| Information Gain, OneR-based feature selection | ||
| [30] | LR, LDA, KNN, CART, NB, SVM | Performance (Accuracy 0.9857) |
| LIME Interpretation (Local) | ||
| User-friendly App | ||
| [31] | AdaBoost, GB, XGBoost, RF | Performance (Accuracy 0.97) |
| WOA-based hyperparameter tuning | ||
| [27] | SVM | Accuracy 0.9823 |
| SHAP Interpretation (Global) | ||
| Ours | XGBoost, LGBM, CatBoost, HistGBoost, BNN | Performance (Accuracy 0.9797) |
| Causal inference-based feature selection | ||
| Counterfactuals | ||
| SHAP (Global+Local) | ||
| Uncertainty Estimation | ||
| User Applicability |
| Model | Accuracy | Precision | Recall | F1-Score |
|---|---|---|---|---|
| XGBoost | 0.98 | 0.99 | 0.96 | 0.98 |
| FT-Transformer | 0.97 | 1.00 | 0.94 | 0.97 |
| TabPFN | 0.94 | 1.00 | 0.88 | 0.94 |
| TabNet | 0.53 | 0.52 | 1.00 | 0.68 |
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. |
© 2025 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 (http://creativecommons.org/licenses/by/4.0/).