Proceedings

CMACE: CMAES-based Counterfactual Explanations for Black-box Models

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 539-547.

https://doi.org/10.24963/ijcai.2024/60

Abstract

Explanatory Artificial Intelligence plays a vital role in machine learning, due to its widespread application in decision-making scenarios, e.g., credit lending. Counterfactual Explanation (CFE) is a new kind of explanatory method that involves asking “what if ”, i.e. what would have happened if model inputs slightly change. To answer the question, Counterfactual Explanation aims at finding a minimum perturbation in model inputs leading to a different model decision. Compared with model-agnostic approaches, model-specific CFE approaches designed only for specific type of models usually have better performance in finding optimal counterfactual perturbations, owing to access to the inner workings of models. To deal with this dilemma, this work first proposes CMAES-based Counterfactual Explanations (CMACE): an effective model-agnostic counterfactual generating approach based on Covariance Matrix Adaptation Evolution Strategy (CMA-ES) and a warm starting scheme that provides good initialization of the counterfactual's mean and covariance parameters for CMA-ES taking advantage of prior information of training samples. CMACE significantly outperforms another state-of-art (SOTA) model-agnostic approach (Bayesian Counterfactual Generator, BayCon) with various experimental settings. Extensive experiments also demonstrate that CMACE is superior to a SOTA model-specific approach (Flexible Optimizable Counterfactual Explanations for Tree Ensembles, FOCUS) that is designed for tree-based models using gradient-based optimization.

  1. [Wachter et al., 2017] Sandra Wachter, Brent Mittelstadt, Christo- pher Russell. Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPR. In Harvard Journal of Law and Technology, 2017.
  2. [Tolomei et al., 2017] Gabriele Tolomei, Fabrizio Silvestri, Andrew Haines, and Mounia Lalmas. Interpretable Predictions of Tree- Based Ensembles via Actionable Feature Tweaking. In Interna- tional Conference on Knowledge Discovery and Data Mining, 2017.
  3. [Lucic et al., 2022] Ana Lucic, Harrie Oosterhuis, Hinda Haned, and Maarten de Rijke. FOCUS: Flexible Optimizable Counter- factual Explanations for Tree Ensembles. In AAAI Conference on Artificial Intelligence. 2022.
  4. [Kanamori et al., 2020] Kentaro Kanamori, Takuya Takagi, Ken Kobayashi, and Hiroki Arimura. DACE: Distribution-Aware Counterfactual Explanation by Mixed-Integer Linear Optimiza- tion. In International Joint Conference on Artificial Intelligence, 2020. IJCAI
  5. [Carreira-Perpinan and Hada, 2021] Miguel A Carreira-Perpinan, and Suryabhan Singh Hada. Counterfactual Explanations for Oblique Decision Trees: Exact, Efficient Algorithms. In AAAI Conference on Artificial Intelligence. 2021.
  6. [Parmentier and Vidal, 2021] Axel Parmentier, and Thibaut Vidal. Optimal Counterfactual Explanations in Tree Ensembles. In In- ternational Conference on Machine Learning. 2021.
  7. [Kanamori, et al., 2021] Kentaro Kanamori, Takuya Takagi, Ken Kobayashi, Yuichi Ike, Kento Uemura, and Hiroki Arimura. Or- dered Counterfactual Explanation By Mixed-Integer Linear Op- timization. In AAAI Conference on Artificial Intelligence. 2021.
  8. [Dandl et al., 2020] Susanne Dandl, Christoph Molnar, Martin Binder, and Bernd Bischl. Multi-objective counterfactual expla- nations. In International Conference on Parallel Problem Solv- ing from Nature, 2020.
  9. [Romashov et al., 2022] Piotr Romashov, Martin Gjoreski, Kacper Sokol, Maria Vanina Martinez, and Marc Langheinrich. Bay- Con: Model-agnostic Bayesian Counterfactual Generator. In In- ternational Joint Conference on Artificial Intelligence, 2022.
  10. [Hansen, 2016] Nikolaus Hansen. Hansen, N. 2016. The CMA Evolution Strategy: A Tutorial. In arXiv preprint arXiv:1604.00772.
  11. [Hansen et al.,2019] Nikolaus Hansen, Youhei Akimoto, and Petr Baudis. CMA-ES/pycma on Github. . In Zenodo. DOI:10.5281/zenodo.2559634. 2019. DOI
  12. [Verma et al., 2022] Sahil Verma, Varich Boonsanong, Minh Hoang, Keegan E. Hines, John P. Dickerson, and Chirag Shah. Counterfactual Explanations and Algorithmic Recourses for Machine Learning: A Review. In arXiv preprint arXiv. 2022.
  13. [Krause et al., 2016] Oswin Krause, Dídac Rodríguez Arbonès, and Christian Igel. CMA-ES with Optimal Covariance Update and Storage Complexity. In Advances in Neural Information Pro- cessing Systems, 2016.
  14. [Hamano et al., 2022] Ryoki Hamano, Shota Saito, Masahiro No- mura, and Shinichi Shirakawa. CMA-ES with Margin: Lower- Bounding Marginal Probability for Mixed-Integer Black-Box Optimization. In Annual Conference on Genetic and Evolution- ary Computation. 2022.
  15. [Nomura et al., 2021] Masahiro Nomura, Shuhei Watanabe, Youhei Akimoto, Yoshihiko Ozaki, and Masaki Onishi. Warm Starting CMA-ES For Hyperparameter Optimization. In AAAI Confer- ence on Artificial Intelligence. 2021.
  16. [Feurer et al., 2015] Matthias Feurer, Jost Tobias Springenberg, and Frank Hutter. Initializing Bayesian Hyperparameter Optimiza- tion Via Meta-Learning. In AAAI Conference on Artificial Intel- ligence. 2015.
  17. [Perrone et al., 2018] Valerio Perrone, Rodolphe Jenatton, Matthias Seeger, Cédric Archambeau. Scalable Hyperparameter Transfer Learning. In Advances in Neural Information Processing Sys- tems. 2018.
  18. [Perrone et al., 2019] Valerio Perrone, Huibin Shen, Matthias Seeger, Cedric Archambeau, Rodolphe Jenatton. Scalable Hy- perparameter Transfer Learning. In Advances in Neural Infor- mation Processing Systems. 2018. Learning search spaces for Bayesian optimization: Another view of hyperparameter trans- fer learning. In Advances in Neural Information Processing Sys- tems. 2019.
  19. [Ash and Adams, 2019] Jordan T. Ash, and Ryan P. Adams. On the Difficulty of Warm-Starting Neural Network Training. In Ad- vances in Neural Information Processing Systems. 2019.
  20. [Chu et al., 2015] Bo-Yu Chu, Chia-Hua Ho, Cheng-Hao Tsai, Chieh-Yen Lin, and Chih-Jen Lin. Warm Start for Parameter Selection of Linear Classifiers. In ACM SIGKDD Conference on Knowledge Discovery and Data Mining. 2015.
  21. [Loshchilov and Hutter, 2017] Ilya Loshchilov, and Frank Hutter. Sgdr: Stochastic gradient descent with warm restarts. In Inter- national Conference on Learning Representations. 2017.
  22. [Snoek et al., 2012] Jasper Snoek, Hugo Larochelle, and Ryan Prescott Adams. Practical Bayesian Optimization of Machine Learning Algorithms. In Advances in Neural Information Pro- cessing Systems. 2012.
  23. [Wang et al., 2013] Ziyu Wang, Masrour Zoghi, Frank Hutter, David Matheson, and Nando De Freitas. Bayesian optimization in high dimensions via random embeddings. In International Joint Conference on Artificial Intelligence. 2013. IJCAI
  24. [Springenberg et al., 2016] Jost Tobias Springenberg, Aaron Klein, Stefan Falkner, and Frank Hutter. Bayesian Optimization with Robust Bayesian Neural Networks. In Advances in Neural In- formation Processing Systems. 2016.
  25. [Lindauer et al., 2022] Marius Lindauer, Katharina Eggensperger, Matthias Feurer, André Biedenkapp, Difan Deng, Carolin Ben- jamins, René Sass, and Frank Hutter. SMAC3: A Versatile Bayesian Optimization Package for Hyperparameter Optimiza- tion. In Journal of Machine Learning Research. 2022. [Miller, 2019]
  26. Tim Miller. 2019. Explanation in artificial intelli- gence: Insights from the social sciences. In Artificial Intelli- gence. 2019.
  27. [Naumann and Ntoutsi, 2021] Philip Naumann, and Eirini Ntoutsi. Consequence-Aware Sequential Counterfactual Generation. In European Conference on Machine Learning. 2021.
  28. [Albini et al., 2020] Emanuele Albini, Antonio Rago, Pietro Ba- roni, and Francesca Toni. Relation-Based Counterfactual Expla- nations for Bayesian Network Classifiers. In International Joint Conference on Artificial Intelligence. 2020. IJCAI
  29. [Cheng et al., 2021] Furui Cheng, Yao Ming, and Huamin Qu. DECE: Decision Explorer with Counterfactual Explanations for Machine Learning Models. In IEEE Transactions on Visualiza- tion and Computer Graphics. 2021.
  30. [Kenny and Keane, 2021] Eoin M. Kenny, and Mark T. Keane. On Generating Plausible Counterfactual And Semi-Factual Expla- nations For Deep Learning In AAAI Conference on Artificial In- telligence. 2021.
  31. [Olson et al., 2021] Matthew L. Olson, Roli Khanna, Lawrence Neal, Fuxin Li, and Weng-Keen Wong. Counterfactual state ex- planations for reinforcement learning agents via generative deep learning. In Artificial Intelligence. 2021.
  32. [Tsirtsis et al., 2021] Stratis Tsirtsis, Abir De, and Manuel Gomez- Rodriguez. Counterfactual Explanations in Sequential Decision Making Under Uncertainty. In Advances in Neural Information Processing Systems. 2021.
  33. [Galhotra et al., 2021] Sainyam Galhotra, Romila Pradhan, and Babak Salimi. Explaining Black-Box Algorithms Using Prob- abilistic Contrastive Counterfactuals. In ACM SIGMOD Con- ference. 2021.
  34. [Yang et al., 2021] Fan Yang, Sahan Suresh Alva, Jiahao Chen, and Xia Hu. Model-Based Counterfactual Synthesizer for Interpre- tation. In SIGKDD Conference on Knowledge Discovery and Data Mining. 2021.
  35. [Augustin et al., 2022] Maximilian Augustin, Valentyn Boreiko, Francesco Croce, and Matthias Hein. Diffusion Visual Counter- factual Explanations. In Advances in Neural Information Pro- cessing Systems. 2022.

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

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