Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Mitigating Hallucinations in Diffusion Models through Adaptive Attention Modulation

About

Diffusion models, while increasingly adept at generating realistic images, are notably hindered by hallucinations -- unrealistic or incorrect features inconsistent with the trained data distribution. In this work, we propose Adaptive Attention Modulation (AAM), a novel approach to mitigate hallucinations by analyzing and modulating the self-attention mechanism in diffusion models. We hypothesize that self-attention during early denoising steps may inadvertently amplify or suppress features, contributing to hallucinations. To counter this, AAM introduces a temperature scaling mechanism within the softmax operation of the self-attention layers, dynamically modulating the attention distribution during inference. Additionally, AAM employs a masked perturbation technique to disrupt early-stage noise that may otherwise propagate into later stages as hallucinations. Extensive experiments demonstrate that AAM effectively reduces hallucinatory artifacts, enhancing both the fidelity and reliability of generated images. For instance, the proposed approach improves the FID score by 20.8% and reduces the percentage of hallucinated images by 12.9% (in absolute terms) on the Hands dataset.

Trevine Oorloff, Yaser Yacoob, Abhinav Shrivastava• 2025

Related benchmarks

TaskDatasetResultRank
Image GenerationMNIST
FID15.1
8
Image GenerationHands-11K
FID102.3
8
Image GenerationFFHQ
FID13.5
6
Image GenerationSimpleShapes
FID27.2
6
Image GenerationMNIST
FID32.3
6
Image Generation11kHands
FID16.4
6
Low-Dose CT ReconstructionRSNA 512-slice (val)
FID35.6
6
Showing 7 of 7 rows

Other info

Follow for update