Robust Counterfactual Explanations in Machine Learning: A Survey

Junqi Jiang, Francesco Leofante, Antonio Rago, Francesca Toni, Jingjing Zhang, Youdian Gao, Xiaoke Yang, Zhengqi Wen, Zhao Lv

Introduction

Counterfactual Explanations (CEs) have emerged as a vital tool in Explainable AI (XAI), providing users with actionable "recourse." For instance, if a loan application is denied, a CE might suggest: "If your annual income were £5,000 higher, your loan would have been approved." However, these explanations often suffer from a "robustness crisis." A suggestion valid today might fail tomorrow if the underlying model is retrained or if the user implements the change with slight imprecision. This survey provides the first comprehensive taxonomy of robustness in CEs, categorizing failure modes and reviewing the algorithmic strategies designed to make recourse reliable.

Defining the Robustness Crisis

The core problem addressed is the fragility of algorithmic recourse. If a suggested path to a better outcome is overly sensitive to minor perturbations, it loses utility and undermines user trust. The authors identify four primary dimensions of robustness:

  1. Model Changes (MC): Ensuring a CE remains valid even after model updates or retraining.
  2. Model Multiplicity (MM): Ensuring validity across the "Rashomon set"—different models with similar performance on the same task.
  3. Noisy Execution (NE): Accounting for human error or the inability to perfectly implement suggested feature changes (e.g., a "p-norm ball" of uncertainty around feature values).
  4. Input Changes (IC): Maintaining stability so that similar users receive consistent explanations, which is also a prerequisite for algorithmic fairness.

Methodological Taxonomy

The survey classifies existing algorithms based on their approach to achieving these robustness goals. Techniques range from Robust Optimization (using min-max formulations to find stable solutions) and Probabilistic Modeling to Formal Verification. The latter often employs Mixed-Integer Programming (MIP) to provide rigorous mathematical guarantees, though often at a higher computational cost.

Key Insights and Trade-offs

The literature review reveals several critical tensions in the field:

  • The Cost of Robustness: There is an inherent trade-off between the "cost" of an explanation (the magnitude of feature change required) and its robustness. To ensure a CE remains valid under model shifts, users typically must aim for a "safer" region of the feature space, requiring larger changes.
  • Beyond Confidence Scores: Early research suggested that high-confidence predictions would naturally be more robust. However, for complex non-linear models like deep neural networks, high confidence does not necessarily guarantee stability against model updates.
  • Fairness and Stability: Robustness against input changes (IC) is deeply linked to fairness. If minor differences in user profiles lead to drastically different recourse costs, the system may exhibit "local instability" that borders on discrimination.

Summary of the Research Landscape

The survey provides a detailed mapping of the current state of the art, categorizing dozens of recent methods by their model types, access levels, and specific robustness guarantees.

Summary of existing methods for robust counterfactual explanations categorized by robustness type (MC, MM, NE, IC).

As illustrated in the table, while many methods offer probabilistic robustness, deterministic guarantees remain rare due to the NP-hard nature of the underlying optimization problems. Furthermore, while "Model Changes" (MC) is the most mature area of study, "Noisy Execution" (NE) is rapidly gaining traction as researchers consider the practicalities of human interaction with AI systems.

Future Directions

Despite the growth in the field, several gaps remain:

  • Standardized Benchmarking: The field lacks unified benchmarks, making it difficult to compare the efficacy of different robust CE generators. Most researchers currently test against only one or two baselines.
  • Multi-Robustness: Most current work focuses on a single type of robustness. Future research must address "multi-robust" CEs that are simultaneously resilient to model updates, input noise, and execution errors.
  • User-Centric Evaluation: There is a notable absence of user studies. While mathematical definitions of robustness are maturing, empirical evidence on whether these robust paths are intuitive or helpful for real-world users is still lacking.

Summary updated

BibTeX
@inproceedings{jiang2024robust,
  author = {Junqi Jiang and Francesco Leofante and Antonio Rago and Francesca Toni and Jingjing Zhang and Youdian Gao and Xiaoke Yang and Zhengqi Wen and Zhao Lv},
  title = {{Robust Counterfactual Explanations in Machine Learning: A Survey}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=JmEDZKrSHH},
}
Figure