TAG: Tangential Amplifying Guidance for Hallucination-Resistant Sampling

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

TL;DR

Diffusion models often suffer from structural "hallucinations" because their sampling trajectories drift into low-density valleys between data modes. Tangential Amplifying Guidance (TAG) is a training-free, architecture-agnostic method that fixes this by decomposing the model's update step into radial and tangential components, then amplifying the tangential part. This simple geometric correction steers the generation process back toward high-probability regions of the data manifold, significantly reducing artifacts with negligible computational overhead.

What Problem Does This Paper Address?

Despite their state-of-the-art performance, diffusion models frequently generate semantic inconsistencies or anatomical nightmares—like a person with three legs or extra fingers. Recent research points to mode interpolation as the culprit: during the reverse denoising process, the sampling trajectory can easily wander off the true data manifold and traverse low-density regions.

Existing inference-time fixes, like Classifier-Free Guidance (CFG), try to solve this by scaling the residual between conditional and unconditional outputs. However, these approaches are largely geometry-unaware; they apply a uniform scalar magnification without considering the local directional structure of the data distribution. Other methods require architectural modifications or costly extra network evaluations. The authors of TAG set out to design a plug-and-play guidance mechanism that operates purely on existing trajectory signals without adding heavy computational burdens.

Methods

TAG leverages a clean geometric insight grounded in Tweedie’s identity and the Gaussian annulus theorem. Because high-dimensional isotropic Gaussians concentrate most of their mass near a thin spherical shell, the high-probability region of a noise-corrupted data distribution can be treated as a noisy manifold embedded near this shell.

Instead of scaling the entire update uniformly, TAG decomposes the single-step solver increment ($\Delta_{k+1}$) into two orthogonal components relative to this shell:

  1. A Radial Component ($P_{M}$): Aligned with the radius of the shell, this component dictates the inward/outward contraction driven by the diffusion noise schedule.
  2. A Tangential Component ($P^\perp_{M}$): Moving along the surface of the shell, this component carries the rich structural and semantic details of the data.
Conceptual visualization of TAG vs No Guidance

By leaving the radial component untouched and multiplying the tangential component by an amplification factor ($\eta \ge 1$), TAG isolates and boosts the data-relevant part of the update. A first-order Taylor analysis mathematically proves that this modification monotonically increases the local log-likelihood gain, effectively nudging the sample toward higher-density regions of the data manifold.

The authors also extend this principle to CFG (TAG-CFG) by isolating and aligning the conditional-unconditional tangential mismatch, ensuring that the guidance signal doesn't distort the underlying geometry.

Datasets

The authors evaluated TAG across several standard benchmarks for image, text-to-image, and video generation:

  • MS-COCO 2014: Used for evaluating both unconditional and conditional text-to-image generation performance.
  • ImageNet: Used to validate unconditional generation consistency on $64\times64$ images.
  • T2I-CompBench: Specifically leveraged the 'Spatial' and 'Complex' subsets to evaluate compositional faithfulness and structural hallucinations.
  • VBench: A suite of 100 prompts used to evaluate video generation quality.

Key Insights and Ideas

  • The Tangential Space Holds the Semantics: As visualized by decoding intermediate timesteps, subtracting the noisy radial component reveals that principal semantic structures are almost entirely preserved within the tangential component.
Decomposition of the update step into normal and tangential components
  • Normal Amplification Causes Over-smoothing: Simply scaling the update uniformly or boosting the normal (radial) component excessively strengthens the contraction under the noise schedule. This breaks the one-step calibration and leads to severe over-smoothing. Tangential boosting avoids this entirely.
Effectiveness of TAG versus normal amplification
  • Adaptive Scaling Beats Fixed Scaling: The optimal amplification factor $\eta$ depends on the instantaneous magnitude of the tangential correction. Normalizing the tangential term relative to the original guidance scale (Adaptive Scaling) prevents performance degradation at higher values of $\eta$.

Key Results

  • Consistent Quality Boost Across Backbones: TAG was tested on Stable Diffusion v1.5, v2.1, SDXL, and SD3. In unconditional generation on COCO 2014, TAG dropped the FID of SD v1.5 from 58.41 to 46.20 and SDXL from 119.14 to 90.71 without requiring any extra function evaluations (#NFEs).
  • Plug-and-Play Compatibility: TAG is complementary to existing residual-based guidance methods. Stacking TAG on top of Perturbed Attention Guidance (PAG) or Smoothed Energy Guidance (SEG) yielded further improvements in sample fidelity and human-preference metrics.
  • Negligible Computational Overhead: Unlike PAG, which introduces an extra UNet evaluation per step (+112.8% latency overhead), TAG operates directly on the computed solver update using simple vector calculations, adding only +9.4% latency and 0% extra VRAM.

Limitations and Future Work

While highly effective, the theoretical guarantees of TAG rely on a local first-order likelihood gain analysis, which does not fully map out the global behavior of the entire reverse sampling trajectory. Additionally, the radial-tangential split is a simplified spherical approximation that might not perfectly capture the intricate, highly non-linear geometry of more complex data manifolds.

The authors suggest that future work should explore trajectory-level geometric shaping and develop more sophisticated, lightweight estimators for local manifold geometry.

Summary updated

Abstract

Diffusion models achieve state-of-the-art image generation but often produce semantic inconsistencies, or hallucinations. Existing inference-time guidance methods rely on external signals or architectural modifications, adding computational overhead. We propose $\mathbf{T}$angential $\mathbf{A}$mplifying $\mathbf{G}$uidance $\mathbf{(TAG)}$, a training-free, architecture-agnostic, plug-and-play guidance method that operates purely on trajectory signals. TAG uses an intermediate sample as a projection basis and amplifies the tangential components of the estimated score to correct the sampling trajectory. A first-order Taylor analysis shows that this steers the state toward higher-probability regions of the data manifold, reducing inconsistencies and improving fidelity while adding negligible overhead to existing samplers. Code is available at our Project Page (https://hyeon-cho.github.io/TAG/).
BibTeX
@inproceedings{cho2026tag,
  author = {Hyunmin Cho and Donghoon Ahn and Susung Hong and Jee Eun Kim and Seungryong Kim and Kyong Hwan Jin},
  title = {{TAG: Tangential Amplifying Guidance for Hallucination-Resistant Sampling}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=1XJqPy2LhA},
}
Figure