On the Definition and Detection of Cherry-Picking in Counterfactual Explanations
James Hinns, Sofie Goethals, Stephan Van der Veeken, Theodoros Evgeniou, David Martens
TL;DR
This work formalizes cherry-picking in counterfactual explanations by defining an admissible explanation space $_{\uF, }(x)$ and a utility-based ranking $ ext{rank}_x$ under which an explanation is cherry-picked if it is not top-ranked. It examines detectability under three access levels—full procedural, partial procedural, and explanation-only—finding that detection is severely limited in practice due to the multiplicity of valid explanations and the inherent variability of explanation generation. Empirical demonstrations using DiCE show that randomness and method choices can induce greater variation in proximity, plausibility, and sparsity than the cherry-picking signal, undermining post-hoc detection. The authors argue for ex ante safeguards—reproducibility, standardisation, and procedural constraints—over post-hoc detection and provide concrete recommendations for algorithm developers, explanation providers, and auditors to mitigate the risk of selective disclosure. Overall, the paper highlights a structural challenge in XAI governance and calls for domain-specific specifications to reduce opportunities for cherry-picking in high-stakes decisions.
Abstract
Counterfactual explanations are widely used to communicate how inputs must change for a model to alter its prediction. For a single instance, many valid counterfactuals can exist, which leaves open the possibility for an explanation provider to cherry-pick explanations that better suit a narrative of their choice, highlighting favourable behaviour and withholding examples that reveal problematic behaviour. We formally define cherry-picking for counterfactual explanations in terms of an admissible explanation space, specified by the generation procedure, and a utility function. We then study to what extent an external auditor can detect such manipulation. Considering three levels of access to the explanation process: full procedural access, partial procedural access, and explanation-only access, we show that detection is extremely limited in practice. Even with full procedural access, cherry-picked explanations can remain difficult to distinguish from non cherry-picked explanations, because the multiplicity of valid counterfactuals and flexibility in the explanation specification provide sufficient degrees of freedom to mask deliberate selection. Empirically, we demonstrate that this variability often exceeds the effect of cherry-picking on standard counterfactual quality metrics such as proximity, plausibility, and sparsity, making cherry-picked explanations statistically indistinguishable from baseline explanations. We argue that safeguards should therefore prioritise reproducibility, standardisation, and procedural constraints over post-hoc detection, and we provide recommendations for algorithm developers, explanation providers, and auditors.
