Region-Aware Minimal Counterfactual Rules for Model-Agnostic Explainable Classification

Abstract

The increasing demand for transparency in machine learning has spurred the development of techniques that provide faithful explanations for complex black-box models. In this work, we introduce RaMiCo (Region Aware Minimal Counterfactual Rules), a model-agnostic method that extracts global counterfactual rules by mining instances from diverse regions of the input space. RaMiCo focuses on single-feature substitutions to generate minimal and region-aware rules that encapsulate the overall decision-making process of the target model. These global rules can be further localised to specific input instances, enabling users to obtain tailored explanations for individual predictions. Comprehensive experiments on multiple benchmark datasets demonstrate that RaMiCo achieves competitive fidelity in replicating black-box behaviour and exhibits high coverage in capturing the intrinsic structure of white-box classifiers. RaMiCo supports the development of trustworthy and secure machine learning systems by providing transparent, human-understandable explanations in the form of concise global rules. This design enables users to verify and inspect the model’s decision logic, reducing the risk of hidden biases, unintended behaviours, or adversarial exploitation. These features make RaMiCo particularly suitable for applications where the reliability, safety, and verifiability of automated decisions are essential.

Cite

Text

Gagliardi et al. "Region-Aware Minimal Counterfactual Rules for Model-Agnostic Explainable Classification." Machine Learning, 2025. doi:10.1007/S10994-025-06847-5

Markdown

[Gagliardi et al. "Region-Aware Minimal Counterfactual Rules for Model-Agnostic Explainable Classification." Machine Learning, 2025.](https://mlanthology.org/mlj/2025/gagliardi2025mlj-regionaware/) doi:10.1007/S10994-025-06847-5

BibTeX

@article{gagliardi2025mlj-regionaware,
  title     = {{Region-Aware Minimal Counterfactual Rules for Model-Agnostic Explainable Classification}},
  author    = {Gagliardi, Guido and Alfeo, Antonio Luca and Guidotti, Riccardo and Cimino, Mario G. C. A.},
  journal   = {Machine Learning},
  year      = {2025},
  pages     = {225},
  doi       = {10.1007/S10994-025-06847-5},
  volume    = {114},
  url       = {https://mlanthology.org/mlj/2025/gagliardi2025mlj-regionaware/}
}