Proceedings

Unifying Perspectives: Plausible Counterfactual Explanations on Global, Group-wise, and Local Levels

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 571-579.

https://doi.org/10.24963/ijcai.2026/65

Abstract

The growing complexity of AI systems has intensified the need for transparency through Explainable AI (XAI). Counterfactual explanations (CFs) offer actionable "what-if" scenarios on three levels: Local CFs providing instance-specific insights, Global CFs addressing broader trends, and Group-wise CFs (GWCFs) striking a balance and revealing patterns within cohesive groups. Despite the availability of methods for each granularity level, the field lacks a unified method that integrates these complementary approaches. We address this limitation by proposing a gradient-based optimization method for differentiable models that generates Local, Global, and Group-wise Counterfactual Explanations in a unified manner. We especially enhance GWCF generation by combining instance grouping and counterfactual generation into a single efficient process, replacing traditional two-step methods. Moreover, to ensure trustworthiness, we innovatively introduce the integration of plausibility criteria into the GWCF domain, making explanations both valid and realistic. Our results demonstrate the method's effectiveness in balancing validity, proximity, and plausibility while optimizing group granularity, with practical utility validated through practical use cases.

  1. [Adadi and Berrada, 2018] Amina Adadi and Mohammed Berrada. Peeking inside the black-box: A survey on explainable artificial intelligence (XAI). IEEE Access, 6:52138-52160, 2018.
  2. [Aeberhard and Forina, 1992] Stefan Aeberhard and M. Fo- rina. Wine. UCI Machine Learning Repository, 1992. DOI: https://doi.org/10.24432/C5PC7J. DOI
  3. [Alpaydin and Kaynak, 1998] E. Alpaydin and C. Kay- nak. Optical Recognition of Handwritten Digits. UCI Machine Learning Repository, 1998. DOI: https://doi.org/10.24432/C50P49. DOI
  4. [Artelt and Gregoriades, 2024] André Artelt and Andreas Gregoriades. A two-stage algorithm for cost-efficient multi-instance counterfactual explanations. In Luca Longo, Weiru Liu, and Grégoire Montavon, editors, 2nd World Conference on eXplainable Artificial Intelligence (xAI-2024), Valletta, Malta, July 17-19, volume 3793 of CEUR Workshop Proceedings, pages 233-240, 2024.
  5. [Artelt and Hammer, 2020] André Artelt and Barbara Ham- mer. Convex density constraints for computing plausible counterfactual explanations. In Artificial Neural Networks and Machine Learning -ICANN 2020 -29th International Conference on Artificial Neural Networks, Bratislava, Slo- vakia, September 15-18, 2020, Proceedings, Part I, vol- ume 12396 of Lecture Notes in Computer Science, pages 353-365. Springer, 2020.
  6. [Bewley et al., 2024] Tom Bewley, Salim I. Amoukou, Saumitra Mishra, Daniele Magazzeni, and Manuela Veloso. Counterfactual metarules for local and global re- course. In Forty-first International Conference on Machine Learning, ICML 2024, Vienna, Austria, July 21-27, 2024. OpenReview.net, 2024.
  7. [Carrizosa et al., 2024] Emilio Carrizosa, Jasone Ramírez- Ayerbe, and Dolores Romero Morales. Mathematical opti- mization modelling for group counterfactual explanations. European Journal of Operational Research, 319(2):399- 412, 2024.
  8. [Dhurandhar et al., 2018] Amit Dhurandhar, Pin-Yu Chen, Ronny Luss, Chun-Chen Tu, Pai-Shun Ting, Karthikeyan Shanmugam, and Payel Das. Explanations based on the missing: Towards contrastive explanations with pertinent negatives. In Advances in Neural Information Processing Systems 31, NeurIPS 2018, pages 590-601, 2018.
  9. [Dinh et al., 2015] Laurent Dinh, David Krueger, and Yoshua Bengio. NICE: non-linear independent compo- nents estimation. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Workshop Track Proceedings, 2015.
  10. [Dinh et al., 2017] Laurent Dinh, Jascha Sohl-Dickstein, and Samy Bengio. Density estimation using real NVP. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Confer- ence Track Proceedings, 2017. [FICO, 2018] FICO. FICO (HELOC) Dataset. https://www.kaggle.com/datasets/averkiyoliabev/ home-equity-line-of-creditheloc, 2018. Accessed: 2026-01-05. Link
  11. [Fragkathoulas et al., 2024] Christos Fragkathoulas, Vasiliki Papanikou, Evaggelia Pitoura, and Evimaria Terzi. Fgce: Feasible group counterfactual explanations for auditing fairness, 2024.
  12. [Goodman and Flaxman, 2017] Bryce Goodman and Seth R. Flaxman. European union regulations on algorithmic decision-making and a "right to explanation". AI Mag., 38(3):50-57, 2017.
  13. [Guidotti, 2022] Riccardo Guidotti. Counterfactual explana- tions and how to find them: literature review and bench- marking. Data Mining and Knowledge Discovery, pages 1-55, 04 2022.
  14. [Kanamori et al., 2020] Kentaro Kanamori, Takuya Takagi, Ken Kobayashi, and Hiroki Arimura. DACE: distribution- aware counterfactual explanation by mixed-integer linear optimization. In Proceedings of the Twenty-Ninth Inter- national Joint Conference on Artificial Intelligence, IJCAI 2020, pages 2855-2862. ijcai.org, 2020.
  15. [Kanamori et al., 2022] Kentaro Kanamori, Takuya Takagi, Ken Kobayashi, and Yuichi Ike. Counterfactual explana- tion trees: Transparent and consistent actionable recourse with decision trees. In International Conference on Ar- tificial Intelligence and Statistics, AISTATS 2022, 28-30 March 2022, Virtual Event, volume 151 of Proceedings of Machine Learning Research, pages 1846-1870. PMLR, 2022.
  16. [Karimi et al., 2022] Amir-Hossein Karimi, Gilles Barthe, Bernhard Schölkopf, and Isabel Valera. A survey of al- gorithmic recourse: Contrastive explanations and conse- quential recommendations. ACM Comput. Surv., 55(5), December 2022.
  17. [Kavouras et al., 2024] Loukas Kavouras, Eleni Psaroudaki, Konstantinos Tsopelas, Dimitrios Rontogiannis, Nikolaos Theologitis, Dimitris Sacharidis, Giorgos Giannopoulos, Dimitrios Tomaras, Kleopatra Markou, Dimitrios Gunop- ulos, Dimitris Fotakis, and Ioannis Emiris. Glance: Global actions in a nutshell for counterfactual explainabil- ity. arXiv preprint arXiv:2405.18921, 2024.
  18. [Keane et al., 2021] Mark T. Keane, Eoin M. Kenny, Eoin Delaney, and Barry Smyth. If only we had better coun- terfactual explanations: Five key deficits to rectify in the evaluation of counterfactual XAI techniques. In Proceed- ings of the Thirtieth International Joint Conference on Ar- tificial Intelligence, IJCAI 2021, Virtual Event / Montreal, Canada, 19-27 August 2021, 2021. IJCAI
  19. [Ley et al., 2022] Dan Ley, Saumitra Mishra, and Daniele Magazzeni. Global counterfactual explanations: Inves- tigations, implementations and improvements. CoRR, abs/2204.06917, 2022.
  20. [Ley et al., 2023] Dan Ley, Saumitra Mishra, and Daniele Magazzeni. GLOBE-CE: A translation based approach for global counterfactual explanations. In Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett, editors, International Conference on Machine Learning, ICML 2023, 23-29 July 2023, Honolulu, Hawaii, USA, volume 202 of Proceed- ings of Machine Learning Research, pages 19315-19342.
  21. PMLR, 2023.
  22. [Liu et al., 2012] Fei Tony Liu, Kai Ming Ting, and Zhi-Hua Zhou. Isolation-based anomaly detection. ACM Transac- tions on Knowledge Discovery from Data (TKDD), 6(1):1- 39, 2012.
  23. [Mahajan et al., 2019] Divyat Mahajan, Chenhao Tan, and Amit Sharma. Preserving causal constraints in counterfac- tual explanations for machine learning classifiers. CoRR, abs/1912.03277, 2019.
  24. [Martins and Astudillo, 2016] André F. T. Martins and Ramón Fernandez Astudillo. From softmax to sparsemax: A sparse model of attention and multi-label classification. In Proceedings of the 33nd International Conference on Machine Learning, NY, USA, June 19-24, 2016, volume 48 of JMLR Workshop and Conference Proceedings, pages 1614-1623. JMLR.org, 2016.
  25. [Mothilal et al., 2020] Ramaravind Kommiya Mothilal, Amit Sharma, and Chenhao Tan. Explaining machine learning classifiers through diverse counterfactual ex- planations. In FAT* '20: Conference on Fairness, Accountability, and Transparency, Barcelona, Spain, January 27-30, 2020, pages 607-617. ACM, 2020.
  26. [Papamakarios et al., 2017] George Papamakarios, Iain Murray, and Theo Pavlakou. Masked autoregressive flow for density estimation. In Advances in Neural Information Processing Systems 30, December 4-9, 2017, Long Beach, CA, USA, pages 2338-2347, 2017.
  27. [Paszke et al., 2019] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. Pytorch: An imperative style, high- performance deep learning library. In Advances in Neu- ral Information Processing Systems 32, pages 8024-8035.
  28. Curran Associates, Inc., 2019.
  29. [Pawelczyk et al., 2020] Martin Pawelczyk, Klaus Broele- mann, and Gjergji Kasneci. Learning model-agnostic counterfactual explanations for tabular data. In Proceed- ings of the web conference 2020, pages 3126-3132, 2020.
  30. [Plumb et al., 2020] Gregory Plumb, Jonathan Terhorst, Sri- ram Sankararaman, and Ameet Talwalkar. Explaining groups of points in low-dimensional representations. In Proceedings of the 37th International Conference on Ma- chine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 7762-7771. PMLR, 2020.
  31. [Ramamurthy et al., 2020] Karthikeyan Natesan Rama- murthy, Bhanukiran Vinzamuri, Yunfeng Zhang, and Amit Dhurandhar. Model agnostic multilevel explana- tions. In Advances in Neural Information Processing Systems 33, NeurIPS, 2020.
  32. [Rawal and Lakkaraju, 2020] Kaivalya Rawal and Himabindu Lakkaraju. Beyond individualized recourse: Interpretable and interactive summaries of actionable recourses. In Hugo Larochelle, Marc'Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin, editors, Advances in Neural Information Processing Systems 33, 2020.
  33. [Rezende and Mohamed, 2015] Danilo Rezende and Shakir Mohamed. Variational inference with normalizing flows. In International Conference on Machine Learning, pages 1530-1538. PMLR, 2015.
  34. [Russell, 2019] Chris Russell. Efficient search for diverse coherent explanations. In Proceedings of the conference on fairness, accountability, and transparency, pages 20- 28, 2019.
  35. [Samek and Müller, 2019] Wojciech Samek and Klaus- Robert Müller. Towards explainable artificial intelligence. In Explainable AI: Interpreting, Explaining and Visual- izing Deep Learning, volume 11700 of Lecture Notes in Computer Science, pages 5-22. Springer, 2019.
  36. [Van Rossum and Drake Jr, 1995] Guido Van Rossum and Fred L Drake Jr. Python reference manual. Centrum voor Wiskunde en Informatica Amsterdam, 1995.
  37. [Wachter et al., 2017] Sandra Wachter, Brent D. Mittelstadt, and Chris Russell. Counterfactual explanations without opening the black box: Automated decisions and the GDPR. CoRR, abs/1711.00399, 2017.
  38. [Warren et al., 2024] Greta Warren, Eoin Delaney, Christophe Guéret, and Mark T. Keane. Explaining multiple instances counterfactually: User tests of group- counterfactuals for xai. In Case-Based Reasoning Research and Development: 32nd International Con- ference, ICCBR 2024, Merida, Mexico, July 1-4, 2024, Proceedings, page 206-222. Springer-Verlag, 2024.
  39. [Wielopolski et al., 2024] Patryk Wielopolski, Oleksii Fur- man, Jerzy Stefanowski, and Maciej Zięba. Probabilisti- cally plausible counterfactual explanations with normaliz- ing flows. In ECAI 2024. IOS Press, 2024.
  40. [Wightman, 1998] Linda F. Wightman. Lsac national longi- tudinal bar passage study. lsac research report series. Tech- nical report, Law School Admission Council, Newtown, PA., 1998.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards