← Latest papers
💻 computer science

TAG: Tangential Amplifying Guidance for Hallucination-Resistant Sampling

This paper introduces TAG (Tangential Amplifying Guidance), a training-free and architecture-agnostic inference-time method that reduces hallucinations in diffusion models by amplifying tangential score components to steer sampling trajectories toward higher-probability regions of the data manifold without adding significant computational overhead.

Original authors: Hyunmin Cho, Donghoon Ahn, Susung Hong, Jee Eun Kim, Seungryong Kim, Kyong Hwan Jin

Published 2026-05-27
📖 5 min read🧠 Deep dive

Original authors: Hyunmin Cho, Donghoon Ahn, Susung Hong, Jee Eun Kim, Seungryong Kim, Kyong Hwan Jin

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

The Problem: When AI Gets "Lost" in the Crowd

Imagine you are trying to walk through a massive, crowded festival (the "data distribution") to find a specific group of friends (the "correct image"). The festival is organized into distinct zones: a music stage, a food court, and a game area. These are the "modes" where real, meaningful images live.

However, sometimes the AI gets confused. Instead of walking straight to the music stage, it wanders into the empty space between the zones. In this "no-man's-land," the AI tries to mix a guitar with a taco, or give a person six fingers. In the paper, this is called a hallucination or mode interpolation. The AI is technically moving, but it's drifting off the path where the "good stuff" lives, creating weird, inconsistent images.

The Old Way: Shouting Louder

Previously, to fix this, researchers used methods like Classifier-Free Guidance (CFG). Think of this as the AI shouting, "I want to be more like the real thing!" and simply turning up the volume on its instructions.

The problem with just turning up the volume is that it's like shouting in a foggy room. You might get louder, but you don't necessarily know which direction to walk. You might just end up shouting so hard that you distort your own voice (creating blurry or oversaturated images) without actually finding your friends. It's a "geometry-agnostic" approach—it doesn't understand the shape of the festival grounds.

The New Solution: TAG (Tangential Amplifying Guidance)

The authors propose a new method called TAG. Instead of just shouting louder, TAG acts like a smart compass that understands the shape of the festival.

Here is how it works, broken down into simple steps:

1. The "Sphere" Analogy

Imagine the AI's current image is a ball floating in a giant, invisible sphere.

  • The Radius (Normal Direction): Moving toward the center or the edge of the sphere. This is like changing the "noise level" or the overall brightness/blur. The AI already knows how to do this; it's just following the schedule.
  • The Surface (Tangential Direction): Moving along the surface of the sphere. This is where the actual details live—shifting a cat's ear from left to right, or fixing a hand with too many fingers. This is the "semantic" part of the image.

2. The "Dance Step"

When the AI takes a step to create an image, it usually takes a big, clumsy stride that mixes up the "radius" (blur) and the "surface" (details).

TAG looks at that step and splits it in two:

  • It keeps the "radius" part exactly as it is (because that part is working fine).
  • It takes the "surface" part (the details) and amplifies it.

Think of it like a dancer. If the dancer is wobbling a bit while spinning, TAG says, "Keep the spin speed the same, but push harder on the footwork that keeps you balanced." It amplifies the movement that stays on the path of the data manifold (the festival grounds) and ignores the movement that drifts off the path.

3. Why It Works (The "Map" Theory)

The paper uses a mathematical concept called Tweedie's identity to prove that the "surface" movement (tangential) contains the rich, structural information needed to make a picture look real. By boosting this specific movement, the AI is forced to stay on the "high-probability" paths where real images live.

It's like giving the AI a map that says, "Don't just walk faster; walk sideways along the paved path." This prevents the AI from wandering into the grassy fields where the hallucinations (extra fingers, floating objects) happen.

The Results: Better Pictures, No Extra Cost

The paper claims that TAG is a "plug-and-play" tool. This means:

  • No Retraining: You don't have to teach the AI anything new. You just tweak how it walks during the final steps.
  • No Extra Hardware: It doesn't require a bigger computer or more time to generate images. It adds almost zero "computational overhead."
  • Fixes Hallucinations: In tests, TAG successfully stopped the AI from making weird mistakes (like three-legged dogs or floating kites) and made the images sharper and more coherent.

Summary Analogy

Imagine you are painting a picture of a dog.

  • The AI without help is like a painter who keeps stepping back and forth, accidentally smearing the paint and sometimes painting a dog with a cat's tail because they lost their place.
  • The Old Method (CFG) is like the painter shouting, "Make it more dog-like!" and smearing the paint even harder.
  • TAG is like a helpful assistant who gently taps the painter's hand and says, "You're moving your brush in the right direction for the shape of the dog, but you're wobbling. Let's lock your hand into that specific direction and push a little harder there."

The result? The painter stays on the canvas, the dog looks like a dog, and the painting is finished just as fast as before.

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 →