Proceedings

RobustX: Robust Counterfactual Explanations Made Easy

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Demo Track. Pages 11067-11071.

https://doi.org/10.24963/ijcai.2025/1264

Abstract

The increasing use of Machine Learning (ML) models to aid decision-making in high-stakes industries demands explainability to facilitate trust. Counterfactual Explanations (CEs) are ideally suited for this, as they can offer insights into the predictions of an ML model by illustrating how changes in its input data may lead to different outcomes. However, for CEs to realise their explanatory potential, significant challenges remain in ensuring their robustness under slight changes in the scenario being explained. Despite the widespread recognition of CEs' robustness as a fundamental requirement, a lack of standardised tools and benchmarks hinders a comprehensive and effective comparison of robust CE generation methods. In this paper, we introduce RobustX, an open-source Python library implementing a collection of CE generation and evaluation methods, with a focus on the robustness property. RobustX provides interfaces to several existing methods from the literature, enabling streamlined access to state-of-the-art techniques. The library is also easily extensible, allowing fast prototyping of novel robust CE generation and evaluation methods.

  1. [Agarwal et al., 2022] Chirag Agarwal, Satyapriya Krishna, Eshika Saxena, Martin Pawelczyk, Nari Johnson, Isha Puri, Marinka Zitnik, and Himabindu Lakkaraju. Openxai: Towards a transparent evaluation of model explanations. In NeurIPS, 2022.
  2. [Brughmans et al., 2024] Dieter Brughmans, Pieter Leyman, and David Martens. NICE: an algorithm for nearest in- stance counterfactual explanations. Data Min. Knowl. Dis- cov., 38(5):2665-2703, 2024.
  3. [Byrne, 2019] Ruth M. J. Byrne. Counterfactuals in explain- able artificial intelligence (XAI): evidence from human reasoning. In IJCAI, pages 6276-6282, 2019. IJCAI
  4. [Cao, 2022] Longbing Cao. AI in finance: challenges, tech- niques, and opportunities. ACM Computing Surveys, 55(3):1-38, 2022.
  5. [Chollet and others, 2015] Franc ¸ois Chollet et al. Keras. https://keras.io, 2015. Link
  6. [Dutta et al., 2022] Sanghamitra Dutta, Jason Long, Saumi- tra Mishra, Cecilia Tilli, and Daniele Magazzeni. Robust counterfactual explanations for tree-based ensembles. In ICML, volume 162 of Proceedings of Machine Learning Research, pages 5742-5756. PMLR, 2022.
  7. [Guidotti, 2024] Riccardo Guidotti. Counterfactual expla- nations and how to find them: literature review and benchmarking. Data Mining and Knowledge Discovery, 38(5):2770-2824, 2024.
  8. [Hamman et al., 2023] Faisal Hamman, Erfaun Noorani, Saumitra Mishra, Daniele Magazzeni, and Sanghamitra Dutta. Robust counterfactual explanations for neural net- works with probabilistic guarantees. In ICML, volume 202, pages 12351-12367. PMLR, 2023.
  9. [Jiang et al., 2023a] Junqi Jiang, Jianglin Lan, Francesco Le- ofante, Antonio Rago, and Francesca Toni. Provably ro- bust and plausible counterfactual explanations for neural networks via robust optimisation. In ACML, volume 222 of Proceedings of Machine Learning Research, pages 582- 597. PMLR, 2023.
  10. [Jiang et al., 2023b] Junqi Jiang, Francesco Leofante, Anto- nio Rago, and Francesca Toni. Formalising the robust- ness of counterfactual explanations for neural networks. In AAAI, pages 14901-14909, 2023.
  11. [Jiang et al., 2024a] Junqi Jiang, Francesco Leofante, Anto- nio Rago, and Francesca Toni. Interval abstractions for robust counterfactual explanations. Artificial Intelligence, 336:104218, 2024.
  12. [Jiang et al., 2024b] Junqi Jiang, Francesco Leofante, Anto- nio Rago, and Francesca Toni. Recourse under model multiplicity via argumentative ensembling. In AAMAS, pages 954-963. International Foundation for Autonomous Agents and Multiagent Systems / ACM, 2024.
  13. [Jiang et al., 2024c] Junqi Jiang, Francesco Leofante, Anto- nio Rago, and Francesca Toni. Robust counterfactual ex- planations in machine learning: A survey. In IJCAI, pages 8086-8094, 2024. Survey Track. IJCAI
  14. [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 IJCAI, pages 4466-4474, 2021. IJCAI
  15. [Leofante and Potyka, 2024] Francesco Leofante and Nico Potyka. Promoting counterfactual robustness through di- versity. In AAAI, pages 21322-21330, 2024.
  16. [Leofante et al., 2023] Francesco Leofante, Elena Botoeva, and Vineet Rajani. Counterfactual explanations and model multiplicity: a relational verification view. In KR, pages 763-768, 2023.
  17. [Marzari et al., 2024] Luca Marzari, Francesco Leofante, Ferdinando Cicalese, and Alessandro Farinelli. Rigorous probabilistic guarantees for robust counterfactual explana- tions. In ECAI, volume 392 of Frontiers in Artificial In- telligence and Applications, pages 1059-1066. IOS Press, 2024.
  18. [Miller, 2019] Tim Miller. Explanation in artificial intelli- gence: Insights from the social sciences. Artif. Intell., 267:1-38, 2019.
  19. [Mohammadi et al., 2021] Kiarash Mohammadi, Amir- Hossein Karimi, Gilles Barthe, and Isabel Valera. Scaling guarantees for nearest counterfactual explanations. In AIES, pages 177-187, 2021.
  20. [Paszke, 2019] Paszke. Pytorch: An imperative style, high- performance deep learning library. In NeurIPS, pages 8024-8035.
  21. Curran Associates, Inc., 2019.
  22. [Pawelczyk et al., 2021] Martin Pawelczyk, Sascha Bielawski, Johannes van den Heuvel, Tobias Richter, and Gjergji Kasneci. CARLA: A python library to bench- mark algorithmic recourse and counterfactual explanation algorithms. In NeurIPS Datasets and Benchmarks, 2021.
  23. [Pedregosa et al., 2011] Fabian Pedregosa, Gaël Varoquaux, Alexandre Gramfort, Vincent Michel, Bertrand Thirion, Olivier Grisel, Mathieu Blondel, Peter Prettenhofer, Ron Weiss, Vincent Dubourg, et al. Scikit-learn: Machine learning in python. Journal of machine learning research, 12(Oct):2825-2830, 2011.
  24. [Shaheen, 2021] Mohammed Yousef Shaheen. Applications of artificial intelligence (ai) in healthcare: A review. Sci- enceOpen Preprints, 2021.
  25. [Upadhyay et al., 2021] Sohini Upadhyay, Shalmali Joshi, and Himabindu Lakkaraju. Towards robust and reliable algorithmic recourse. In NeurIPS, pages 16926-16937, 2021.
  26. [Wachter et al., 2017] Sandra Wachter, Brent D. Mittelstadt, and Chris Russell. Counterfactual explanations without opening the black box: Automated decisions and the GDPR. Harv. JL & Tech., 31:841, 2017.

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

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