V-CECE: Visual Counterfactual Explanations via Conceptual Edits
Nikolaos Spanos, Maria Lymperaiou, Giorgos Filandrianos, Konstantinos Thomas, Athanasios Voulodimos, Giorgos Stamou
TL;DR
V-CECE introduces a model-agnostic, training-free pipeline for visual counterfactual explanations that emphasizes human-understandable semantic edits. It splits the task into a guaranteed-optimal, concept-based edit discovery and a diffusion-based image generation stage that applies those edits as counterfactuals. By evaluating across CNNs, ViTs, and LVLMs, the work demonstrates a pronounced semantic gap between human reasoning and non-LVLM classifiers, with LVLMs achieving closer alignment to human semantics. The framework highlights biases in classifiers, provides actionable explanations, and offers a practical plug-and-play tool for testing semantic understanding in visual classifiers.
Abstract
Recent black-box counterfactual generation frameworks fail to take into account the semantic content of the proposed edits, while relying heavily on training to guide the generation process. We propose a novel, plug-and-play black-box counterfactual generation framework, which suggests step-by-step edits based on theoretical guarantees of optimal edits to produce human-level counterfactual explanations with zero training. Our framework utilizes a pre-trained image editing diffusion model, and operates without access to the internals of the classifier, leading to an explainable counterfactual generation process. Throughout our experimentation, we showcase the explanatory gap between human reasoning and neural model behavior by utilizing both Convolutional Neural Network (CNN), Vision Transformer (ViT) and Large Vision Language Model (LVLM) classifiers, substantiated through a comprehensive human evaluation.
