cs.LGJul 16, 2026

Inpainting Insights: Elevating Visual XAI with Photorealistic Perturbations

Authors: Josef Lindl, Mariana Chaves, Damien Garreau

Organizations: Julius-Maximilians-Universität Würzburg, Sanderring 2, 97070 Würzburg, Germany · University of Groningen: Broerstraat 5, 9712 CP Groningen, The Netherlands

Abstract

The increasing complexity of state-of-the-art machine learning models has made their behavior progressively harder to interpret, spurring rapid advancements in the field of eXplainable Artificial Intelligence (XAI). Among many methods proposed, perturbation-based approaches play a major role. By systematically altering (perturbing) input features, these approaches measure the impact on the model's predictions. For image data, traditional perturbation techniques, often involve replacing pixel values e.g., with a pre-defined color. However, such approaches, but also more refined deterministic techniques, generate unrealistic out-of-distribution samples and often leave visible artifacts, which can mislead the model and compromise explanation quality. In this work, we adjust LIME, a widely used perturbation-based method, to demonstrate how generative inpainting can improve perturbation-based explanations for images. We achieve photorealistic perturbed samples that align better with the original data distribution and enhance explanation quality.

Figures & tables

Explore similar work

CardsList
  1. Learning Quantifiable Visual Explanations Without Ground-Truth

    May 18, 2026Amritpal Singh, Andrey Barsky, Mohamed Ali Souibgui +2Perturbation-Based Feature AttributionCausal Interpretability

  2. On the Disagreement in Perturbation-based xAI -- Benchmarking Perturbation Choices for Flood Detection from SAR Images

    Jul 16, 2026Anastasia Schlegel, Ronny HänschFeature AttributionPerturbation-Based Feature Attribution

  3. Learn to Rank: Visual Attribution by Learning Importance Ranking

    Apr 7, 2026David Schinagl, Christian Fruhwirth-Reisinger, Alexander Prutsch +2Feature AttributionExplainable Image Classification