Explanations or Attacks? Beyond Adversarial Edits in Visual Counterfactual Explanations
Jan Mas{\l}owskiM\'ario A. T. FigueiredoMarek \'Smieja
Dec 2026
Artificial IntelligenceComputer Vision
Abstract
Counterfactual explanations and adversarial examples address a similar question: what is the smallest change to an input that flips a classifier's decision? However, a key difference is that a useful explanation must convey a meaningful change recognizable beyond the explained classifier; otherwise, even a visually plausible counterfactual may be little more than an adversarial perturbation. To check if a counterfactual behaves like an adversarial edit, we introduce an evaluation protocol based on simple diagnostics, independent oracles, and robustness to image transformations, including diffusion purification. Our analysis shows that several state-of-the-art counterfactual methods behave more like adversarial attacks than useful explanations. We address this problem by proposing SeeShift, a method that learns to shift the semantic latent code of a diffusion autoencoder without directly optimizing pixels based on classifier gradients. The resulting edit is transferred to the original image as a localized residual, preserving content outside the edited region. Experiments on human (CelebA-HQ) and animal (AFHQ) faces, and on chest radiographs (NIH ChestX-ray14) show that SeeShift achieves higher oracle validity and robustness to image transformations than competing methods, while maintaining visual similarity to the input images. A blinded study with physicians further shows that SeeShift depicts the intended clinical changes more frequently and is preferred over competing explanations. Our findings demonstrate that classifier flips and pixel proximity alone are insufficient to establish the explanatory value of a counterfactual.
It is found that Llama 3 delivers comparable quality to leading language models such as GPT-4 on a plethora of tasks, and performs competitively with the state-of-the-art on image, video, and speech recognition tasks.
This paper investigates developing real-world perception for active agents, proposes Gibson Environment for this purpose, and showcases a set of perceptual tasks learned therein.
F. Xia, Amir Zamir, Zhi-Yang He et al.· 2018 IEEE/CVF Conference on...· 1,069 citations· ⚡112
This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.
P. Abrahamsson, O. Salo, Jussi Ronkainen et al.· arXiv.org· 727 citations· ⚡54
The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.
M. Pikkarainen, Jukka Haikara, O. Salo et al.· Empirical Software Engineeri...· 401 citations· ⚡48
The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.
Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al.· Information and Software Tec...· 394 citations· ⚡54
Known for his clear and elegant writing style, Bertsekas shaped fields from control and optimization to large-scale computation and artificial intelligence.