Refining Visual Artifacts in Diffusion Models via Explainable AI-based Flaw Activation Maps

Seoyeon Lee, Gwangyeol Yu, Chaewon Kim, Jonghyuk Park
12/9/2025
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

Diffusion models have achieved remarkable success in image synthesis. However, addressing artifacts and unrealistic regions remains a critical challenge. We propose self-refining diffusion, a novel framework that enhances image generation quality by detecting these flaws. The framework employs an explainable artificial intelligence (XAI)-based flaw highlighter to produce flaw activation maps (FAMs) that identify artifacts and unrealistic regions. These FAMs improve reconstruction quality by amplifying noise in flawed regions during the forward process and by focusing on these regions during the reverse process. The proposed approach achieves up to a 27.3% improvement in Fréchet inception distance across various diffusion-based models, demonstrating consistently strong performance on diverse datasets. It also shows robust effectiveness across different tasks, including image generation, text-to-image generation, and inpainting. These results demonstrate that explainable AI techniques can extend beyond interpretability to actively contribute to image refinement. The proposed framework offers a versatile and effective approach applicable to various diffusion models and tasks, significantly advancing the field of image synthesis.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{lee2025refining,
  title  = {Refining Visual Artifacts in Diffusion Models via Explainable AI-based Flaw Activation Maps},
  author = {Seoyeon Lee and Gwangyeol Yu and Chaewon Kim and Jonghyuk Park},
  year   = {2025},
  eprint = {2512.08774},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.08774v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.08774.svg)](https://codeofpaper.com/paper/2512.08774)

Discussion