Proceedings

Beyond Top-1: Addressing Inconsistencies in Evaluating Counterfactual Explanations for Recommender Systems (Extended Abstract)

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Sister Conferences Best Papers. Pages 8278-8283.

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

Abstract

Counterfactual explanations have become an important paradigm for improving the transparency of machine learning models by showing how small input changes can alter model outputs. While substantial progress has been made in generating such explanations, their evaluation remains insufficiently standardized, particularly for systems that produce ranked outputs rather than single-label predictions. Existing evaluation protocols in recommender systems commonly focus only on whether the top-1 recommendation changes after perturbation. We argue that this practice can lead to inconsistent and misleading conclusions, as the relative ranking of explanation methods may vary with changes in the quality of the underlying model.

In this work, we revisit the evaluation of counterfactual explanations from a ranking perspective. We propose extending top-1 evaluation to list-wise top-k protocols that assess explanation effectiveness across multiple highly ranked outputs. Through experiments on multiple datasets, recommender architectures, and explanation methods, we show that top-k evaluation substantially improves consistency and yields more reliable comparisons between competing explainers. Our findings highlight a broader methodological lesson for explainable AI: when models return ranked results, explanation quality should be assessed using ranking-aware evaluation protocols rather than top-1 criteria alone.

  1. [Abdi et al., 2018] Mohamed Hussein Abdi, George Onyango Okeyo, and Ronald Waweru Mwangi. Matrix factorization techniques for context-aware collabo- rative filtering recommender systems: A survey. Comput. Inf. Sci., 11(2):1-10, 2018.
  2. [Abdollahi and Nasraoui, 2016] Behnoush Abdollahi and Olfa Nasraoui. Explainable restricted boltzmann machines for collaborative filtering. CoRR, abs/1606.07129, 2016.
  3. [Bag et al., 2019] Sujoy Bag, Sri Krishna Kumar, and Manoj Kumar Tiwari. An efficient recommendation gener- ation using relevant jaccard similarity. Inf. Sci., 483:53-64, 2019.
  4. [Barkan et al., 2024] Oren Barkan, Veronika Bogina, Liya Gurevitch, Yuval Asher, and Noam Koenigstein. A coun- terfactual framework for learning and evaluating expla- nations for recommender systems. In WWW '24, pages 3723-3733. ACM, 2024.
  5. [Bauer et al., 2024] Christine Bauer, Eva Zangerle, and Alan Said. Exploring the landscape of recommender systems evaluation: Practices and perspectives. Trans. Recomm. Syst., 2(1):11:1-11:31, 2024.
  6. [Chen et al., 2020] Tong Chen, Hongzhi Yin, Guanhua Ye, Zi Huang, Yang Wang, and Meng Wang. Try this instead: Personalized and interpretable substitute recommendation. In Proceedings of the 43rd international ACM SIGIR con- ference on research and development in information re- trieval, pages 891-900, 2020.
  7. [Doshi-Velez and Kim, 2017] Finale Doshi-Velez and Been Kim. Towards a rigorous science of interpretable machine learning. arXiv preprint arXiv:1702.08608, 2017.
  8. [Dror et al., 2012] Gideon Dror, Noam Koenigstein, Yehuda Koren, and Markus Weimer. The yahoo! music dataset and kdd-cup '11. In KDD Cup 2011, volume 18 of JMLR Proceedings, pages 8-18. JMLR.org, 2012.
  9. [Ghorbani and Zou, 2020] Amirata Ghorbani and James Y. Zou. Neuron shapley: Discovering the responsible neu- rons. In Advances in Neural Information Processing Sys- tems 33: Annual Conference on Neural Information Pro- cessing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020.
  10. [Ghorbani et al., 2019] Amirata Ghorbani, James Wexler, James Y. Zou, and Been Kim. Towards automatic concept-based explanations. In Hanna M. Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d'Alché-Buc, Emily B. Fox, and Roman Garnett, editors, Advances in Neural Information Processing Systems 32: Annual Con- ference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 9273-9282, 2019.
  11. [Harper and Konstan, 2015] F. Maxwell Harper and Joseph A. Konstan. The movielens datasets: History and context. ACM Trans. Interact. Intell. Syst., 5(4), dec 2015.
  12. [He et al., 2017] Xiangnan He, Lizi Liao, Hanwang Zhang, Liqiang Nie, Xia Hu, and Tat-Seng Chua. Neural collabo- rative filtering. In WWW '17, pages 173-182. ACM, 2017.
  13. [Kaffes et al., 2021] Vassilis Kaffes, Dimitris Sacharidis, and Giorgos Giannopoulos. Model-agnostic counterfac- tual explanations of recommendations. In Proceedings of the 29th ACM Conference on User Modeling, Adaptation and Personalization, UMAP 2021, Utrecht, The Nether- lands, June, 21-25, 2021, pages 280-285. ACM, 2021.
  14. [Karimi et al., 2021] Amir-Hossein Karimi, Bernhard Schölkopf, and Isabel Valera. Algorithmic recourse: from counterfactual explanations to interventions. In FAccT '21, pages 353-362. ACM, 2021.
  15. [Li et al., 2024] Yicong Li, Xiangguo Sun, Hongxu Chen, Sixiao Zhang, Yu Yang, and Guandong Xu. Attention is not the only choice: Counterfactual reasoning for path- based explainable recommendation. IEEE Trans. Knowl. Data Eng., 36(9):4458-4471, 2024.
  16. [Liang et al., 2018] Dawen Liang, Rahul G. Krishnan, Matthew D. Hoffman, and Tony Jebara. Variational au- toencoders for collaborative filtering. In WWW '18, pages 689-698. ACM, 2018.
  17. [Melchiorre et al., 2022] Alessandro B. Melchiorre, Navid Rekabsaz, Christian Ganhör, and Markus Schedl. Protomf: Prototype-based matrix factorization for effective and ex- plainable recommendations. In Proceedings of the 16th ACM Conference on Recommender Systems, RecSys '22, page 246-256, New York, NY, USA, 2022. Association for Computing Machinery.
  18. [Mohammadi et al., 2024] Amir Reza Mohammadi, An- dreas Peintner, Michael Müller, and Eva Zangerle. Are we explaining the same recommenders? incorporating recom- mender performance for evaluating explainers. In RecSys '24, page 1113-1118. ACM, 2024.
  19. [Mohammadi et al., 2025] Amir Reza Mohammadi, An- dreas Peintner, Michael Müller, and Eva Zangerle. Beyond top-1: Addressing inconsistencies in evaluating counter- factual explanations for recommender systems. In Mária Bieliková, Pavel Kordík, Markus Schedl, Marco de Gem- mis, Sole Pera, Rodrigo Alves, Olivier Jeunen, and Vito Ostuni, editors, Proceedings of the Nineteenth ACM Con- ference on Recommender Systems, RecSys 2025, Prague, Czech Republic, September 22-26, 2025, pages 515-520. ACM, 2025.
  20. [Mohammadi, 2023] Amir Reza Mohammadi. Explainable graph neural network recommenders; challenges and op- portunities. In Jie Zhang, Li Chen, Shlomo Berkovsky, Min Zhang, Tommaso Di Noia, Justin Basilico, Luiz Piz- zato, and Yang Song, editors, Proceedings of the 17th ACM Conference on Recommender Systems, RecSys 2023, Singapore, Singapore, September 18-22, 2023, pages 1318-1324. ACM, 2023.
  21. [Mozafari et al., 2026] Jamshid Mozafari, Hamed Zamani, Guido Zuccon, and Adam Jatowt. Inferential question answering. In Hakim Hacid, Yoelle Maarek, Francesco Bonchi, Ido Guy, and Emine Yilmaz, editors, Proceedings of the ACM Web Conference 2026, WWW 2026, Dubai, United Arab Emirates, originally scheduled for April 13- 17, 2026, rescheduled for June 29 -July 3, 2026, pages 2384-2395. ACM, 2026.
  22. [Müller et al., 2026] Michael M. Müller, Amir Reza Mo- hammadi, Andreas Peintner, Beatriz Barroso Gstrein, Günther Specht, and Eva Zangerle. On the reliability of user-centric evaluation of conversational recommender systems. CoRR, abs/2602.17264, 2026.
  23. [Nauta et al., 2023] Meike Nauta, Jan Trienes, Shreyasi Pathak, Elisa Nguyen, Michelle Peters, Yasmin Schmitt, Jörg Schlötterer, Maurice van Keulen, and Christin Seifert. From anecdotal evidence to quantitative evaluation meth- ods: A systematic review on evaluating explainable AI. ACM Comput. Surv., 55(13s):295:1-295:42, 2023.
  24. [Nóbrega and Marinho, 2019] Caio Nóbrega and Lean- dro Balby Marinho. Towards explaining recommendations through local surrogate models. In ACM/SIGAPP '19, pages 1671-1678. ACM, 2019.
  25. [Peintner et al., 2023] Andreas Peintner, Amir Reza Mo- hammadi, and Eva Zangerle. SPARE: shortest path global item relations for efficient session-based recommendation.
  26. In Jie Zhang, Li Chen, Shlomo Berkovsky, Min Zhang, Tommaso Di Noia, Justin Basilico, Luiz Pizzato, and Yang Song, editors, Proceedings of the 17th ACM Conference on Recommender Systems, RecSys 2023, Singapore, Singa- pore, September 18-22, 2023, pages 58-69. ACM, 2023.
  27. [Peintner et al., 2025] Andreas Peintner, Amir Reza Mo- hammadi, and Eva Zangerle. Efficient session-based rec- ommendation with contrastive graph-based shortest path search. ACM Trans. Recomm. Syst., 3(4), April 2025.
  28. [Ranjbar et al., 2024] Niloofar Ranjbar, Saeedeh Momtazi, and MohammadMehdi Homayoonpour. Explaining rec- ommendation system using counterfactual textual expla- nations. Mach. Learn., 113(4), 2024.
  29. [Ser et al., 2024] Javier Del Ser, Alejandro Barredo Arrieta, Natalia Díaz Rodríguez, Francisco Herrera, Anna Saranti, and Andreas Holzinger. On generating trustworthy coun- terfactual explanations. Inf. Sci., 655:119898, 2024.
  30. [Singh et al., 2020] Ramni Harbir Singh, Sargam Maurya, Tanisha Tripathi, Tushar Narula, and Gaurav Srivastav. Movie recommendation system using cosine similarity and knn. International Journal of Engineering and Ad- vanced Technology, 9(5):556-559, 2020.
  31. [Tan et al., 2021] Juntao Tan, Shuyuan Xu, Yingqiang Ge, Yunqi Li, Xu Chen, and Yongfeng Zhang. Counterfactual explainable recommendation. In CIKM '21, pages 1784- 1793. ACM, 2021.
  32. [Tran et al., 2021] Khanh Hiep Tran, Azin Ghazimatin, and Rishiraj Saha Roy. Counterfactual explanations for neural recommenders. In SIGIR '21, pages 1627-1631. ACM, 2021.
  33. [Verma et al., 2023] Sahil Verma, Ashudeep Singh, Varich Boonsanong, John P. Dickerson, and Chirag Shah. Recrec: Algorithmic recourse for recommender systems. In Ingo Frommholz, Frank Hopfgartner, Mark Lee, Michael Oakes, Mounia Lalmas, Min Zhang, and Rodrygo L. T. Santos, editors, Proceedings of the 32nd ACM Interna- tional Conference on Information and Knowledge Man- agement, CIKM 2023, Birmingham, United Kingdom, Oc- tober 21-25, 2023, pages 4325-4329. ACM, 2023.
  34. [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.
  35. [Wang et al., 2024] Xiangmeng Wang, Qian Li, Dianer Yu, Qing Li, and Guandong Xu. Reinforced path reasoning for counterfactual explainable recommendation. IEEE Trans. Knowl. Data Eng., 36(7):3443-3459, 2024.
  36. [Yu et al., 2024] Dianer Yu, Qian Li, Xiangmeng Wang, Qing Li, and Guandong Xu. Counterfactual explain- able conversational recommendation. IEEE Trans. Knowl. Data Eng., 36(6):2388-2400, 2024.
  37. [Yu et al., 2025] Yi Yu, Kazunari Sugiyama, and Adam Ja- towt. Domain counterfactual data augmentation for ex- plainable recommendation. ACM Trans. Inf. Syst., 43(3), February 2025.
  38. [Zhang et al., 2014] Yongfeng Zhang, Guokun Lai, Min Zhang, Yi Zhang, Yiqun Liu, and Shaoping Ma. Explicit factor models for explainable recommendation based on phrase-level sentiment analysis. In Proceedings of the 37th international ACM SIGIR conference on Research & de- velopment in information retrieval, pages 83-92, 2014.
  39. [Zhong and Negre, 2022] Jinfeng Zhong and Elsa Negre. Shap-enhanced counterfactual explanations for recom- mendations. In SAC '22, pages 1365-1372. ACM, 2022.

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

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