Counterfactual Pattern Mining for Interpretable Decision Support in Classification Systems

Authors

  • Julius Cesar O. Mamaril Pangasinan State University, Philippines
  • Zuli Maulidati Institut Teknologi Adhi Tama Surabaya, East Java, Indonesia
  • Clark Kim C. Castro Pangasinan State University, Philippines

DOI:

https://doi.org/10.61453/jods.v20260309

Keywords:

Process innovation, Counterfactual explanation, Explainable AI, Pattern mining, Classification, Decision support

Abstract

Machine learning classification models have achieved strong predictive performance across various decision-making domains, but understanding how predictions can change under alternative conditions remains a major challenge. This study proposes a counterfactual pattern mining framework for interpretable decision support in classification systems. The framework integrates counterfactual explanation generation with association pattern mining to identify minimal and recurring feature changes that may alter classification outcomes. Benchmark datasets from healthcare, finance, and marketing domains were used to evaluate the proposed approach. Classification performance was assessed using accuracy, precision, recall, F1-score, and AUC, while explanation quality was evaluated using validity, sparsity, plausibility, and computational efficiency. The benchmark evaluation results showed that the best average F1-score reached 0.86, while the counterfactual explanations achieved an average validity of 0.92, average sparsity of 2.47 changed features, and average plausibility of 0.81. These findings indicate that the proposed framework can generate concise, realistic, and outcome-changing explanations. By transforming individual counterfactual explanations into recurring patterns, this study contributes to explainable data mining and provides interpretable decision alternatives for classification-based decision support systems.

References

Aldoseri, A., Al‐Khalifa, K. N., Hamouda, A. (2023). Re-Thinking Data Strategy and Integration for Artificial Intelligence: Concepts, Opportunities, and Challenges. Applied Sciences. https://doi.org/10.3390/app13127082

Ali, S., Abuhmed, T., El–Sappagh, S., Muhammad, K., Alonso, J. M., Confalonieri, R., Guidotti, R., Ser, J. D. (2023). Explainable Artificial Intelligence (XAI): What we know and what is left to attain Trustworthy Artificial Intelligence. Information Fusion. https://doi.org/10.1016/j.inffus.2023.101805

Alqudah, M. N., Alshdaifat, N., Abu Owida, H., Ibrahim, S., Vasudevan, A., Qian, C., Mohammad, A. I., Prasad, R. D. P., & Chen, W. (2026). Building trust through interpretability in machine learning models for leukemia diagnosis. In B. S. Awwad (Ed.), Artificial intelligence and technology: Systems management, decisions and control for sustainability in the digital age (pp. 127–137). Springer. https://doi.org/10.1007/978-3-032-10016-0_11

Baidoo-Anu, D., Ansah, L. O. (2023). Education in the Era of Generative Artificial Intelligence (AI): Understanding the Potential Benefits of ChatGPT in Promoting Teaching and Learning. Journal of AI. https://doi.org/10.61969/jai.1337500

Bubeck, S., Chandrasekaran, V., Eldan, R., Gehrke, J., Horvitz, E., Kamar, E., Lee, P., Lee, Y. T. (2023). Sparks of Artificial General Intelligence: Early experiments with GPT-4. arXiv (Cornell University). https://doi.org/10.48550/arxiv.2303.12712

Camps‐Valls, G., Fernández‐Torres, M., Cohrs, K., Hohl, A., Castelletti, A., Paçal, A., Robin, C. N., Martinuzzi, F. (2025). Artificial intelligence for modeling and understanding extreme weather and climate events. Nature Communications. https://doi.org/10.1038/s41467-025-56573-8

Choudhary, R., Kumar, A., Priyadharsini, C., Naik, M., Choudhury, M., Khan, N. (2025). Predicting water quality index using stacked ensemble regression and SHAP based explainable artificial intelligence. Scientific Reports. https://doi.org/10.1038/s41598-025-09463-4

Dwivedi, R., Dave, D., Naik, H., Singhal, S., Rana, O., Patel, P., Qian, B., Wen, Z. (2022). Explainable AI (XAI): Core Ideas, Techniques, and Solutions. ACM Computing Surveys. https://doi.org/10.1145/3561048

Gligorea, I., Cioca, M., Oancea, R., Gorski, A., Gorski, H., Tudorache, P. (2023). Adaptive Learning Using Artificial Intelligence in e-Learning: A Literature Review. Education Sciences. https://doi.org/10.3390/educsci13121216

Gordon, M., Daniel, M., Ajiboye, A., Uraiby, H., Xu, N. Y., Bartlett, R., Hanson, J. L., Haas, M. R. (2024). A scoping review of artificial intelligence in medical education: BEME Guide No. 84. Medical Teacher. https://doi.org/10.1080/0142159X.2024.2314198

Guidotti, R. (2022). Counterfactual explanations and how to find them: literature review and benchmarking. Data Mining and Knowledge Discovery. https://doi.org/10.1007/s10618-022-00831-6

Hassija, V., Chamola, V., Mahapatra, A., Singal, A., Goel, D., Huang, K., Scardapane, S., Spinelli, I. (2023). Interpreting Black-Box Models: A Review on Explainable Artificial Intelligence. Cognitive Computation. https://doi.org/10.1007/s12559-023-10179-8

Hollmann, N., Müller, S., Purucker, L., Krishnakumar, A., Körfer, M., Hoo, S. B., Schirrmeister, R. T., Hutter, F. (2025). Accurate predictions on small data with a tabular foundation model. Nature. https://doi.org/10.1038/s41586-024-08328-6

Kisten, M., Ezugwu, A. E., Olusanya, M. O. (2024). Explainable Artificial Intelligence Model for Predictive Maintenance in Smart Agricultural Facilities. IEEE Access. https://doi.org/10.1109/access.2024.3365586

Krakowski, S., Luger, J., Raisch, S. (2022). Artificial intelligence and the changing sources of competitive advantage. Strategic Management Journal. https://doi.org/10.1002/smj.3387

Kropp, M., Golubnitschaja, O., Mazuráková, A., Koklesová, L., Sargheini, N., Vo, T. K. S., Clerck, E. D., Polívka, J. (2023). Diabetic retinopathy as the leading cause of blindness and early predictor of cascading complications—risks and mitigation. The EPMA Journal. https://doi.org/10.1007/s13167-023-00314-8

Lee, M., Lee, H. S., Son, J. M., Jang, J. H., Jo, Y. Y., Kwon, J. M. (2026). Generative counterfactual framework for explainable artificial intelligence-ECG predictions. European Heart Journal - Digital Health. https://doi.org/10.1093/ehjdh/ztaf143.005

Longo, L., Brčić, M., Cabitza, F., Choi, J., Confalonieri, R., Ser, J. D., Guidotti, R., Hayashi, Y. (2024). Explainable Artificial Intelligence (XAI) 2.0: A manifesto of open challenges and interdisciplinary research directions. Information Fusion. https://doi.org/10.1016/j.inffus.2024.102301

Shaik, T., Tao, X., Higgins, N., Li, L., Gururajan, R., Zhou, X., Acharya, U. R. (2023). Remote patient monitoring using artificial intelligence: Current state, applications, and challenges. Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery. https://doi.org/10.1002/widm.1485

Stepin, I., Alonso, J. M., Catalá, A., Pereira-Fariña, M. (2021). A Survey of Contrastive and Counterfactual Explanation Generation Methods for Explainable Artificial Intelligence. IEEE Access. https://doi.org/10.1109/access.2021.3051315

Tjoa, E., Guan, C. (2020). A Survey on Explainable Artificial Intelligence (XAI): Toward Medical XAI. IEEE Transactions on Neural Networks and Learning Systems. https://doi.org/10.1109/tnnls.2020.3027314

Downloads

Published

2026-11-24

How to Cite

Mamaril, J. C. O., Maulidati, Z., & Castro, C. K. C. (2026). Counterfactual Pattern Mining for Interpretable Decision Support in Classification Systems. Journal of Data Science, 2026(3), 431–453. https://doi.org/10.61453/jods.v20260309