CEL: Comprehensive Counterfactual Explanations Library and Benchmark
Not on the map. Why?
Abstract (arXiv)
Counterfactual explanations are a prominent approach in explainable artificial intelligence (xAI), providing actionable guidance on what input changes would alter a model's prediction to a desired outcome. While early methods primarily focused on minimal feature changes, recent work incorporates additional properties such as sparsity, actionability and plausibility. Despite this progress, fair and systematic evaluation remains challenging. Existing studies often rely on different data splits, predictive models, and evaluation metrics, which limits objective comparison across methods. To fill this gap, we introduce CEL (Counterfactual Explanations Library), a unified library and benchmark for counterfactual explanations designed to support consistent implementation and evaluation. CEL includes 18 datasets of varying size and complexity and provides implementations or reimplementations of 14 widely used counterfactual methods. Using this standardized setup, we conduct a comprehensive quantitative comparison across a variety of methods on datasets that differ in size, number, and types of attributes. The evaluation protocol incorporates multiple complementary metrics capturing validity, coverage, sparsity, proximity, and distributional plausibility, including density- and outlier-based measures to assess the realism of generated counterfactuals. To the best of our knowledge, this is the first comprehensive benchmark that systematically evaluates recent counterfactual explanation methods within a unified and reproducible framework. While prior libraries and benchmarking efforts exist in the literature, many are outdated, limited in scope, or lack consistent evaluation protocols. The proposed benchmark aims to improve reproducibility, enable fair comparison, and establish a workbench for the development of future counterfactual explanation methods.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 19 of its 33 references that are in the map. First posted on arXiv 24 Jul 2026.
Builds on
19 of 33 references.
References · 19
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
- 2017Masked Autoregressive Flow for Density Estimationcited by 680
- 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
- 2020Improving Reproducibility in Machine Learning Research (A Report from the NeurIPS 2019 Reproducibility Program)cited by 318
- 2018Explanations based on the Missing: Towards Contrastive Explanations with Pertinent Negativescited by 261
- 2019Interpretable Counterfactual Explanations Guided by Prototypescited by 223
- 2019Model-Agnostic Counterfactual Explanations for Consequential Decisionscited by 204
- 2019Learning Model-Agnostic Counterfactual Explanations for Tabular Datacited by 146
- 2021CARLA: A Python Library to Benchmark Algorithmic Recourse and Counterfactual Explanation Algorithmscited by 85
- 2020Good Counterfactuals and Where to Find Them: A Case-Based Technique for Generating Counterfactuals for Explainable AI (XAI)cited by 79
- 2020Convex Density Constraints for Computing Plausible Counterfactual Explanationscited by 32
- 2023GLOBE-CE: A Translation-Based Approach for Global Counterfactual Explanationscited by 27
7 more
- 2021Counterfactual Explanations for Arbitrary Regression Modelscited by 22
- 2019Explaining Deep Learning Models with Constrained Adversarial Examplescited by 19
- 2021A Framework and Benchmarking Study for Counterfactual Generating Methods on Tabular Datacited by 19
- 2024Probabilistically Plausible Counterfactual Explanations with Normalizing Flowscited by 11
- 2024Counterfactual Metarules for Local and Global Recoursecited by 7
- 2024GLANCE: Global Actions in a Nutshell for Counterfactual Explainabilitycited by 6
- 2025RobustX: Robust Counterfactual Explanations Made Easycited by 6
Built on by
Not cited yet.