cs.LGApr 19, 2026

A Probabilistic Consensus-Driven Approach for Robust Counterfactual Explanations

Authors: Marcin KostrzewaMaciej ZiębaJerzy Stefanowski

Organizations: Wrocław University of Science and Technology, Wrocław 50-347, Poland · Tooploox, Wrocław 53-601, Poland · Poznań University of Technology, Poznań 61-131, Poland

Abstract

Counterfactual explanations (CFEs) are essential for interpreting black-box models, yet they often become invalid when models are slightly changed. Existing methods for generating robust CFEs are often limited to specific types of models, require costly tuning, or inflexible robustness controls. We propose a novel approach that jointly models the data distribution and the space of plausible model decisions to ensure robustness to model changes. Using a probabilistic consensus over a model ensemble, we train a conditional normalizing flow that captures the data density under varying levels of classifier agreement. At inference time, a single interpretable parameter controls the robustness level; it specifies the minimum fraction of models that should agree on the target class without retraining the generative model. Our method effectively pushes CFEs toward regions that are both plausible and stable across model changes. Experimental results demonstrate that our approach achieves superior empirical robustness while also maintaining good performance across other evaluation measures.

Explore similar work

CardsList
  1. Counterfactual Explanations Under Concept Drift

    May 17, 2026Marcin Kostrzewa, Jerzy Stefanowski, Maciej ZiębaCounterfactual ExplanationExplainability