Weak Robust Compatibility Between Learning Algorithms and Counterfactual Explanation Generation Algorithms
Ao Xu, Tieru Wu
TL;DR
This work tackles robustness in counterfactual explanation generation by introducing Weak Robust Compatibility ($WRC$), a notion that couples Counterfactual Explanation Generation Algorithms ($CEGAs$) with Learning Algorithms ($LAs$) through explanatory strength measured by $d(x,(h,x))$. It defines $WRC$ and a practical WRC-Test to produce more robust counterfactuals, and grounds the analysis in a PAC-learning perspective by introducing PAC $WRC$-Approximability and associated oracle inequalities. Theoretical results show how bounds on excess risk translate into bounds on the $WRC$ gap under Tsybakov’s noise and smoothness assumptions, providing sufficient conditions for PAC $WRC$-Approximability. Empirical results on four binary datasets demonstrate that applying the WRC-Test improves robustness metrics (e.g., LOF, $WRC$) and validity for state-of-the-art CEGAs, supporting the practical utility of aligning explanation generation with the learning process.
Abstract
Counterfactual explanation generation is a powerful method for Explainable Artificial Intelligence. It can help users understand why machine learning models make specific decisions, and how to change those decisions. Evaluating the robustness of counterfactual explanation algorithms is therefore crucial. Previous literature has widely studied the robustness based on the perturbation of input instances. However, the robustness defined from the perspective of perturbed instances is sometimes biased, because this definition ignores the impact of learning algorithms on robustness. In this paper, we propose a more reasonable definition, Weak Robust Compatibility, based on the perspective of explanation strength. In practice, we propose WRC-Test to help us generate more robust counterfactuals. Meanwhile, we designed experiments to verify the effectiveness of WRC-Test. Theoretically, we introduce the concepts of PAC learning theory and define the concept of PAC WRC-Approximability. Based on reasonable assumptions, we establish oracle inequalities about weak robustness, which gives a sufficient condition for PAC WRC-Approximability.
