Model-agnostic and Scalable Counterfactual Explanations via Reinforcement Learning
Not on the map. Why?
Abstract (arXiv)
Counterfactual instances are a powerful tool to obtain valuable insights into automated decision processes, describing the necessary minimal changes in the input space to alter the prediction towards a desired target. Most previous approaches require a separate, computationally expensive optimization procedure per instance, making them impractical for both large amounts of data and high-dimensional data. Moreover, these methods are often restricted to certain subclasses of machine learning models (e.g. differentiable or tree-based models). In this work, we propose a deep reinforcement learning approach that transforms the optimization procedure into an end-to-end learnable process, allowing us to generate batches of counterfactual instances in a single forward pass. Our experiments on real-world data show that our method i) is model-agnostic (does not assume differentiability), relying only on feedback from model predictions; ii) allows for generating target-conditional counterfactual instances; iii) allows for flexible feature range constraints for numerical and categorical attributes, including the immutability of protected features (e.g. gender, race); iv) is easily extended to other data modalities such as images.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 26 of its 41 references that are in the map. First posted on arXiv 4 Jun 2021.
Builds on
26 of 41 references.
References · 26
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2015Continuous control with deep reinforcement learningcited by 3,279
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,211
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
- 2014Conditional Generative Adversarial Netscited by 2,152
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
- 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
- 2018Explanations based on the Missing: Towards Contrastive Explanations with Pertinent Negativescited by 261
- 2018Failing Loudly: An Empirical Study of Methods for Detecting Dataset Shiftcited by 240
14 more
- 2019Interpretable Counterfactual Explanations Guided by Prototypescited by 223
- 2019The What-If Tool: Interactive Probing of Machine Learning Modelscited by 207
- 2018Local Rule-Based Explanations of Black Box Decision Systemscited by 165
- 2019Preserving Causal Constraints in Counterfactual Explanations for Machine Learning Classifierscited by 143
- 2019Towards Realistic Individual Recourse and Actionable Explanations in Black-Box Decision Making Systemscited by 128
- 2020A survey of algorithmic recourse: definitions, formulations, solutions, and prospectscited by 118
- 2017Inverse Classification for Comparison-based Interpretability in Machine Learningcited by 49
- 2019Measurable Counterfactual Local Explanations for Any Classifiercited by 48
- 2020DECE: Decision Explorer with Counterfactual Explanations for Machine Learning Modelscited by 38
- 2019Generative Counterfactual Introspection for Explainable Deep Learningcited by 36
- 2019CERTIFAI: Counterfactual Explanations for Robustness, Transparency, Interpretability, and Fairness of Artificial Intelligence modelscited by 34
- 2021Conditional Generative Models for Counterfactual Explanationscited by 28
- 2020PermuteAttack: Counterfactual Explanation of Machine Learning Credit Scorecardscited by 16
- 2020Born Identity Network: Multi-way Counterfactual Map Generation to Explain a Classifier's Decisioncited by 2
Built on by
Citing papers per year: 2022: 2; 2023: 5; 2024: 1; 2025: 2; 2026: 5.
15 papers.
Sort:
- 2022Redefining Counterfactual Explanations for Reinforcement Learning: Overview, Challenges and Opportunitiescited by 12
- 2023Achieving Diversity in Counterfactual Explanations: a Review and Discussioncited by 11
- 2023RACCER: Towards Reachable and Certain Counterfactual Explanations for Reinforcement Learningcited by 6
- 2023For Better or Worse: The Impact of Counterfactual Explanations' Directionality on User Behavior in xAIcited by 3
- 2025DiCoFlex: Model-agnostic diverse counterfactuals with flexible controlcited by 2
- 2023Counterfactual Explanation for Regression via Disentanglement in Latent Spacecited by 1
- 2025Individualised Counterfactual Examples Using Conformal Prediction Intervalscited by 1
- 2026Counterfactual Maps: What They Are and How to Find Themcited by 1
- 2026DISCOVER: A Solver for Distributional Counterfactual Explanationscited by 1
- 2022HEX: Human-in-the-loop Explainability via Deep Reinforcement Learningcited by 0
- 2023Counterfactual Explanation via Search in Gaussian Mixture Distributed Latent Spacecited by 0
- 2024No Dtrain: Model-Agnostic Counterfactual Explanations Using Reinforcement Learningcited by 0
- 2026Class-Aware Reinforcement Learning for Counterfactual Explanation Generation30 Jul 2026
- 2026RecourseBench: A Modular Framework for Reproducible Algorithmic Recourse Evaluation15 Jun 2026
- 2026DISCOVER: A Solver for Distributional Counterfactual Explanations17 Mar 2026
- 2026Counterfactual Maps: What They Are and How to Find Them9 Feb 2026
- 2026The Impact of Machine Learning Uncertainty on the Robustness of Counterfactual Explanations20 Jan 2026
- 2025DiCoFlex: Model-agnostic diverse counterfactuals with flexible control29 May 2025
- 2025Individualised Counterfactual Examples Using Conformal Prediction Intervals28 May 2025
- 2024No Dtrain: Model-Agnostic Counterfactual Explanations Using Reinforcement Learning28 May 2024
- 2023Counterfactual Explanation for Regression via Disentanglement in Latent Space14 Nov 2023
- 2023Counterfactual Explanation via Search in Gaussian Mixture Distributed Latent Space25 Jul 2023
- 2023For Better or Worse: The Impact of Counterfactual Explanations' Directionality on User Behavior in xAI13 Jun 2023
- 2023Achieving Diversity in Counterfactual Explanations: a Review and Discussion10 May 2023
3 more
- 2023RACCER: Towards Reachable and Certain Counterfactual Explanations for Reinforcement Learning8 Mar 2023
- 2022Redefining Counterfactual Explanations for Reinforcement Learning: Overview, Challenges and Opportunities21 Oct 2022
- 2022HEX: Human-in-the-loop Explainability via Deep Reinforcement Learning2 Jun 2022
- 2022Redefining Counterfactual Explanations for Reinforcement Learning: Overview, Challenges and Opportunitiescited by 12
- 2023Achieving Diversity in Counterfactual Explanations: a Review and Discussioncited by 11
- 2023RACCER: Towards Reachable and Certain Counterfactual Explanations for Reinforcement Learningcited by 6
- 2023For Better or Worse: The Impact of Counterfactual Explanations' Directionality on User Behavior in xAIcited by 3
- 2025DiCoFlex: Model-agnostic diverse counterfactuals with flexible controlcited by 2
- 2023Counterfactual Explanation for Regression via Disentanglement in Latent Spacecited by 1
- 2025Individualised Counterfactual Examples Using Conformal Prediction Intervalscited by 1
- 2026Counterfactual Maps: What They Are and How to Find Themcited by 1
- 2026DISCOVER: A Solver for Distributional Counterfactual Explanationscited by 1
- 2022HEX: Human-in-the-loop Explainability via Deep Reinforcement Learningcited by 0
- 2023Counterfactual Explanation via Search in Gaussian Mixture Distributed Latent Spacecited by 0
- 2024No Dtrain: Model-Agnostic Counterfactual Explanations Using Reinforcement Learningcited by 0
12 most cited of 15 All 15 (JSON)
- 2026Class-Aware Reinforcement Learning for Counterfactual Explanation Generation30 Jul 2026
- 2026RecourseBench: A Modular Framework for Reproducible Algorithmic Recourse Evaluation15 Jun 2026
- 2026DISCOVER: A Solver for Distributional Counterfactual Explanations17 Mar 2026
- 2026Counterfactual Maps: What They Are and How to Find Them9 Feb 2026
- 2026The Impact of Machine Learning Uncertainty on the Robustness of Counterfactual Explanations20 Jan 2026
- 2025DiCoFlex: Model-agnostic diverse counterfactuals with flexible control29 May 2025
- 2025Individualised Counterfactual Examples Using Conformal Prediction Intervals28 May 2025
- 2024No Dtrain: Model-Agnostic Counterfactual Explanations Using Reinforcement Learning28 May 2024
- 2023Counterfactual Explanation for Regression via Disentanglement in Latent Space14 Nov 2023
- 2023Counterfactual Explanation via Search in Gaussian Mixture Distributed Latent Space25 Jul 2023
- 2023For Better or Worse: The Impact of Counterfactual Explanations' Directionality on User Behavior in xAI13 Jun 2023
- 2023Achieving Diversity in Counterfactual Explanations: a Review and Discussion10 May 2023
12 newest of 15 All 15 (JSON)