← Latest papers
🤖 machine learning

Mitigating Diffusion Model Hallucinations with Dynamic Guidance

This paper introduces Dynamic Guidance, a novel generation-time approach that mitigates diffusion model hallucinations by selectively sharpening the score function along artifact-prone directions while preserving valid semantic variations, thereby outperforming existing baselines on both controlled and natural image datasets.

Original authors: Kostas Triaridis, Alexandros Graikos, Aggelina Chatziagapi, Grigorios G. Chrysos, Dimitris Samaras

Published 2026-06-09
📖 5 min read🧠 Deep dive

Original authors: Kostas Triaridis, Alexandros Graikos, Aggelina Chatziagapi, Grigorios G. Chrysos, Dimitris Samaras

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a very talented but slightly confused artist how to paint. This artist, a "Diffusion Model," is great at creating beautiful pictures, but sometimes it gets a little too creative in the wrong way. It might draw a hand with six fingers, a cat with no tail, or a horse with three legs. In the world of AI, we call these mistakes "hallucinations."

According to this paper, the reason the artist makes these mistakes is that it's trying to be too smooth. When the artist is learning, it sees a picture of a "dog" and a picture of a "cat." Instead of keeping them as two distinct, sharp ideas, it tries to blend them together into a fuzzy middle ground. Sometimes, that fuzzy middle ground turns into a weird creature that doesn't actually exist in nature.

The authors of this paper, from Stony Brook University and the University of Wisconsin-Madison, propose a new technique called Dynamic Guidance to fix this. Here is how it works, using some simple analogies:

The Problem: The "Fuzzy Middle"

Think of the artist's mind as a landscape with two high mountains: one is "Dog" and the other is "Cat." The path between them is a smooth, flat valley.

  • The Old Way: When the artist tries to draw something, it sometimes gets stuck in that flat valley. Because the path is so smooth, the artist doesn't know which way to go, so it just draws a weird mix of a dog and a cat. This is the "hallucination."
  • The Standard Fix: Usually, people try to tell the artist, "Draw a Dog!" (this is called Classifier Guidance). But if the artist starts with a random sketch that looks more like a cat, and you force it to be a dog, the artist might get confused and make a mistake anyway, like drawing a dog with a cat's tail.

The Solution: Dynamic Guidance (The "Smart Navigator")

The authors suggest a smarter approach. Instead of picking one destination (like "Dog") at the very beginning and sticking to it no matter what, the artist gets a Smart Navigator that checks the map at every single step of the drawing process.

  1. Check the Current State: At every tiny moment while the picture is being formed, the Navigator asks: "Based on what we have drawn right now, does this look more like a Dog or a Cat?"
  2. Adjust the Path: If the current sketch looks like it's leaning toward "Dog," the Navigator sharpens the path toward the "Dog" mountain. If it leans toward "Cat," it sharpens the path toward "Cat."
  3. Avoid the Fuzzy Valley: By constantly adjusting the target, the artist never gets stuck in that smooth, confusing valley between the two. It is forced to take a decisive step toward a real, valid shape.

Why This is Special

The paper highlights three key things about this method:

  • It's Selective: Imagine the artist is drawing a hand. The Navigator knows that changing the color of the skin is a good, valid change (diversity). But changing the number of fingers is a bad change (hallucination). Dynamic Guidance is smart enough to sharpen the path only for the "finger count" direction, while letting the "skin color" direction remain smooth and diverse. It fixes the bad stuff without ruining the good stuff.
  • It Happens While Drawing: Most other methods try to fix the picture after it's finished (like a filter that deletes bad pictures). This method fixes the picture while it is being drawn. It's like a coach correcting a runner's form during the race, rather than telling them they ran wrong after the race is over.
  • It Works with Words: The authors tested this on text-to-image models (where you type "a horse in a field"). Sometimes the computer gets confused about how the horse is standing. The Dynamic Guidance system can look at the half-finished horse, realize the pose is ambiguous, and subtly adjust the instructions to "a horse galloping" or "a horse lying down" to make sure the anatomy makes sense.

The Results

The paper tested this on several things:

  • Simple Shapes: When asked to draw triangles or squares, the method stopped the AI from drawing weird mixes of both.
  • Real Images: On a massive dataset of 1.2 million images (ImageNet), the method produced pictures that looked more realistic and had fewer "impossible" features.
  • Human Feedback: When humans looked at pictures generated with this new method, they agreed that there were fewer mistakes (like extra legs on animals) and preferred the new pictures over the old ones.

In short, Dynamic Guidance is like giving the AI artist a GPS that constantly recalculates the route to ensure it stays on the road of reality, avoiding the off-road traps where hallucinations live.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →