English

Inpainting Insights: Elevating Visual XAI with Photorealistic Perturbations

Machine Learning 2026-07-16 v1

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.

Keywords

Cite

@article{arxiv.2607.15482,
  title  = {Inpainting Insights: Elevating Visual XAI with Photorealistic Perturbations},
  author = {Josef Lindl and Mariana Chaves and Damien Garreau},
  journal= {arXiv preprint arXiv:2607.15482},
  year   = {2026}
}

Comments

Preprint accepted at XAIE4 (ICPR 2026). 15 pages, 5 figures, 4 tables. Code available at: https://github.com/jo01123/LILI and https://github.com/m-chaves/LIME