CounterNet: End-to-End Training of Prediction Aware Counterfactual Explanations
Not on the map. Why?
Abstract (arXiv)
This work presents CounterNet, a novel end-to-end learning framework which integrates Machine Learning (ML) model training and the generation of corresponding counterfactual (CF) explanations into a single end-to-end pipeline. Counterfactual explanations offer a contrastive case, i.e., they attempt to find the smallest modification to the feature values of an instance that changes the prediction of the ML model on that instance to a predefined output. Prior techniques for generating CF explanations suffer from two major limitations: (i) all of them are post-hoc methods designed for use with proprietary ML models -- as a result, their procedure for generating CF explanations is uninformed by the training of the ML model, which leads to misalignment between model predictions and explanations; and (ii) most of them rely on solving separate time-intensive optimization problems to find CF explanations for each input data point (which negatively impacts their runtime). This work makes a novel departure from the prevalent post-hoc paradigm (of generating CF explanations) by presenting CounterNet, an end-to-end learning framework which integrates predictive model training and the generation of counterfactual (CF) explanations into a single pipeline. Unlike post-hoc methods, CounterNet enables the optimization of the CF explanation generation only once together with the predictive model. We adopt a block-wise coordinate descent procedure which helps in effectively training CounterNet's network. Our extensive experiments on multiple real-world datasets show that CounterNet generates high-quality predictions, and consistently achieves 100% CF validity and low proximity scores (thereby achieving a well-balanced cost-invalidity trade-off) for any new input instance, and runs 3X faster than existing state-of-the-art baselines.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Builds on 41 of its 64 references that are in the map. First posted on arXiv 15 Sep 2021.
Builds on
41 of 64 references.
References · 41
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
- 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,201
- 2017SmoothGrad: removing noise by adding noisecited by 1,097
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
- 2018A Survey Of Methods For Explaining Black Box Modelscited by 970
29 more
- 2018This Looks Like That: Deep Learning for Interpretable Image Recognitioncited by 731
- 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
- 2015Empirical Evaluation of Rectified Activations in Convolutional Networkcited by 515
- 2017Robust Loss Functions under Label Noise for Deep Neural Networkscited by 441
- 2018Actionable Recourse in Linear Classificationcited by 327
- 2018Explanations based on the Missing: Towards Contrastive Explanations with Pertinent Negativescited by 261
- 2018Manipulating and Measuring Model Interpretabilitycited by 256
- 2020Algorithmic Recourse: from Counterfactual Explanations to Interventionscited by 250
- 2019Interpretable Counterfactual Explanations Guided by Prototypescited by 223
- 2019Explainable Machine Learning in Deploymentcited by 210
- 2017Formal Guarantees on the Robustness of a Classifier against Adversarial Manipulationcited by 182
- 2019Learning Model-Agnostic Counterfactual Explanations for Tabular Datacited by 146
- 2019Preserving Causal Constraints in Counterfactual Explanations for Machine Learning Classifierscited by 143
- 2020Evaluation of Neural Architectures Trained with Square Loss vs Cross-Entropy in Classification Taskscited by 137
- 2019Towards Realistic Individual Recourse and Actionable Explanations in Black-Box Decision Making Systemscited by 128
- 2020Interpretable Machine Learning -- A Brief History, State-of-the-Art and Challengescited by 120
- 2020A survey of algorithmic recourse: definitions, formulations, solutions, and prospectscited by 118
- 2021Towards Robust and Reliable Algorithmic Recoursecited by 101
- 2018'It's Reducing a Human Being to a Percentage'; Perceptions of Justice in Algorithmic Decisionscited by 91
- 2020Do Wider Neural Networks Really Help Adversarial Robustness?cited by 79
- 2019Explanation by Progressive Exaggerationcited by 76
- 2020On the Fairness of Causal Algorithmic Recoursecited by 69
- 2021Beyond Trivial Counterfactual Explanations with Diverse Valuable Explanationscited by 56
- 2021Generating Interpretable Counterfactual Explanations By Implicit Minimisation of Epistemic and Aleatoric Uncertaintiescited by 41
- 2021Amortized Generation of Sequential Algorithmic Recourses for Black-box Modelscited by 24
- 2020Learning Models for Actionable Recoursecited by 18
- 2021Model-Based Counterfactual Synthesizer for Interpretationcited by 14
- 2021Impact of Response Latency on User Behaviour in Mobile Web Searchcited by 4
- 2018Leveraging Program Analysis to Reduce User-Perceived Latency in Mobile Applicationscited by 1
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 5; 2025: 7; 2026: 3.
17 papers.
Sort:
By area:
- 2024Vinoground: Scrutinizing LMMs over Dense Temporal Reasoning with Short Videoscited by 37
- 2024Self-eXplainable AI for Medical Image Analysis: A Survey and New Outlookscited by 18
- 2022RoCourseNet: Distributionally Robust Training of a Prediction Aware Recourse Modelcited by 11
- 2025Explain Yourself, Briefly! Self-Explaining Neural Networks with Concise Sufficient Reasonscited by 11
- 2024Counterfactual Concept Bottleneck Modelscited by 7
- 2023Designing User-Centric Behavioral Interventions to Prevent Dysglycemia with Novel Counterfactual Explanationscited by 5
- 2025GlyTwin: Digital Twin for Glucose Control in Type 1 Diabetes Through Optimal Behavioral Modifications Using Patient-Centric Counterfactualscited by 5
- 2026Counterfactual Modeling with Fine-Tuned LLMs for Health Intervention Design and Sensor Data Augmentationcited by 3
- 2024Verified Training for Counterfactual Explanation Robustness under Data Shiftcited by 2
- 2025Tabular Diffusion based Actionable Counterfactual Explanations for Network Intrusion Detectioncited by 1
- 2025TriShGAN: Enhancing Sparsity and Robustness in Multivariate Time Series Counterfactuals Explanationcited by 1
- 2024Watermarking Counterfactual Explanationscited by 0
5 more
- 2025Designing User-Centric Metrics for Evaluation of Counterfactual Explanationscited by 0
- 2025Tabular Diffusion Counterfactual Explanationscited by 0
- 2025An Explainable Gaussian Process Auto-encoder for Tabular Datacited by 0
- 2026Counterfactual Training: Teaching Models Plausible and Actionable Explanationscited by 0
- 2026Class-Aware Reinforcement Learning for Counterfactual Explanation Generationcited by 0
- 2026Class-Aware Reinforcement Learning for Counterfactual Explanation Generation30 Jul 2026
- 2026Counterfactual Training: Teaching Models Plausible and Actionable Explanations22 Jan 2026
- 2026Counterfactual Modeling with Fine-Tuned LLMs for Health Intervention Design and Sensor Data Augmentation21 Jan 2026
- 2025TriShGAN: Enhancing Sparsity and Robustness in Multivariate Time Series Counterfactuals Explanation9 Nov 2025
- 2025An Explainable Gaussian Process Auto-encoder for Tabular Data31 Aug 2025
- 2025Tabular Diffusion Counterfactual Explanations31 Aug 2025
- 2025Tabular Diffusion based Actionable Counterfactual Explanations for Network Intrusion Detection23 Jul 2025
- 2025Designing User-Centric Metrics for Evaluation of Counterfactual Explanations20 Jul 2025
- 2025GlyTwin: Digital Twin for Glucose Control in Type 1 Diabetes Through Optimal Behavioral Modifications Using Patient-Centric Counterfactuals14 Apr 2025
- 2025Explain Yourself, Briefly! Self-Explaining Neural Networks with Concise Sufficient Reasons5 Feb 2025
- 2024Vinoground: Scrutinizing LMMs over Dense Temporal Reasoning with Short Videos3 Oct 2024
- 2024Self-eXplainable AI for Medical Image Analysis: A Survey and New Outlooks3 Oct 2024
5 more
- 2024Watermarking Counterfactual Explanations29 May 2024
- 2024Verified Training for Counterfactual Explanation Robustness under Data Shift6 Mar 2024
- 2024Counterfactual Concept Bottleneck Models2 Feb 2024
- 2023Designing User-Centric Behavioral Interventions to Prevent Dysglycemia with Novel Counterfactual Explanations2 Oct 2023
- 2022RoCourseNet: Distributionally Robust Training of a Prediction Aware Recourse Model1 Jun 2022
- 2024Self-eXplainable AI for Medical Image Analysis: A Survey and New Outlookscited by 18
- 2022RoCourseNet: Distributionally Robust Training of a Prediction Aware Recourse Modelcited by 11
- 2025Explain Yourself, Briefly! Self-Explaining Neural Networks with Concise Sufficient Reasonscited by 11
- 2024Counterfactual Concept Bottleneck Modelscited by 7
- 2023Designing User-Centric Behavioral Interventions to Prevent Dysglycemia with Novel Counterfactual Explanationscited by 5
- 2025GlyTwin: Digital Twin for Glucose Control in Type 1 Diabetes Through Optimal Behavioral Modifications Using Patient-Centric Counterfactualscited by 5
- 2026Counterfactual Modeling with Fine-Tuned LLMs for Health Intervention Design and Sensor Data Augmentationcited by 3
- 2024Verified Training for Counterfactual Explanation Robustness under Data Shiftcited by 2
- 2025Tabular Diffusion based Actionable Counterfactual Explanations for Network Intrusion Detectioncited by 1
- 2025TriShGAN: Enhancing Sparsity and Robustness in Multivariate Time Series Counterfactuals Explanationcited by 1
- 2024Watermarking Counterfactual Explanationscited by 0
- 2025Designing User-Centric Metrics for Evaluation of Counterfactual Explanationscited by 0
12 most cited of 16 All 16 (JSON)
- 2026Class-Aware Reinforcement Learning for Counterfactual Explanation Generation30 Jul 2026
- 2026Counterfactual Training: Teaching Models Plausible and Actionable Explanations22 Jan 2026
- 2026Counterfactual Modeling with Fine-Tuned LLMs for Health Intervention Design and Sensor Data Augmentation21 Jan 2026
- 2025TriShGAN: Enhancing Sparsity and Robustness in Multivariate Time Series Counterfactuals Explanation9 Nov 2025
- 2025An Explainable Gaussian Process Auto-encoder for Tabular Data31 Aug 2025
- 2025Tabular Diffusion Counterfactual Explanations31 Aug 2025
- 2025Tabular Diffusion based Actionable Counterfactual Explanations for Network Intrusion Detection23 Jul 2025
- 2025Designing User-Centric Metrics for Evaluation of Counterfactual Explanations20 Jul 2025
- 2025GlyTwin: Digital Twin for Glucose Control in Type 1 Diabetes Through Optimal Behavioral Modifications Using Patient-Centric Counterfactuals14 Apr 2025
- 2025Explain Yourself, Briefly! Self-Explaining Neural Networks with Concise Sufficient Reasons5 Feb 2025
- 2024Self-eXplainable AI for Medical Image Analysis: A Survey and New Outlooks3 Oct 2024
- 2024Watermarking Counterfactual Explanations29 May 2024
12 newest of 16 All 16 (JSON)