Manifold Preserving Guidance for Generative Models

This direction is merged into another direction: manifold drift. Its last version stays readable and citable here.

Version 1 of 144 papers48 conceptsfrozen 2026-10-04

Generative models like diffusion and flow-matching have become the standard for creating high-fidelity data. However, a significant challenge arises when we try to "steer" these models toward specific goals—such as satisfying physical constraints, matching medical measurements, or optimizing for a specific reward.

When we apply external guidance, we often inadvertently push the generative process into "empty space." This phenomenon, known as manifold drift, results in images with artifacts, physically impossible protein structures, or incoherent reasoning. A new wave of research is moving beyond simple gradient-based steering to develop "manifold-aware" guidance techniques that keep the generation process strictly within the bounds of realistic data.

The Geometry of Manifold Drift

To understand why guidance fails, we must look at the geometry of the data. Natural data (like faces or molecules) does not fill the entire high-dimensional pixel space; instead, it sits on a low-dimensional "manifold." During training, a diffusion model learns the "score function"—a vector field that points toward this manifold.

When we introduce guidance, we add a new force vector intended to satisfy a constraint. As Hyungjin Chung, Jong Chul Ye, and colleagues explain in Improving Diffusion Models for Inverse Problems using Manifold Constraints, this guidance vector is rarely tangent to the data manifold. Instead, it often points "off-manifold" into regions where the model has never seen data. Because the model's learned score function is poorly defined in these regions, errors accumulate, leading to the "hallucinations" and "boundary artifacts" common in guided generation.

This problem is particularly acute when multiple constraints compete. Xuehui Yu and Harold Soh note in Conflict-Aware Additive Guidance for Flow Models under Compositional Rewards that conflicting reward gradients can trap the model in low-density regions, resulting in physically incoherent outputs.

Projecting Back to Reality

The most direct solution to drift is to project the guidance gradient back onto the tangent space of the data manifold. This ensures that the "push" we give the model only moves it along the surface of realistic data, never away from it.

Several researchers have proposed different ways to achieve this projection without retraining the model:

  • Manifold Constrained Gradients (MCG): Hyungjin Chung and his team introduced a method to ensure the iterative sampling process stays on the data manifold by using the model's own denoising capability to approximate the manifold's structure.
  • Subspace Projection: In Diffusion State-Guided Projected Gradient for Inverse Problems, Rayhan Zirvi demonstrates that by projecting measurement gradients onto a low-rank subspace derived from the current diffusion state, we can prevent the "hallucinations" that plague solvers when guidance is too aggressive.
  • Orthogonal Projection: Aditya Shankar and Yuandou Wang prove in Harpoon: Generalised Manifold Guidance for Conditional Tabular Diffusion that diffusion models naturally act as orthogonal projectors, allowing us to steer tabular data generation along the manifold surface to meet complex inequality constraints.

Temporal and Uncertainty Alignment

Another perspective on manifold drift is that guidance disrupts the "timing" of the diffusion process. Diffusion models follow a strict noise schedule; if guidance pushes a sample to a state that doesn't match its current noise level, the model becomes "confused."

To solve this, Hojung Jung and Youngrok Park developed Temporal Alignment Guidance (TAG). As detailed in Temporal Alignment Guidance: On-Manifold Sampling in Diffusion Models, TAG uses a lightweight time predictor to pull samples back toward the manifold at every step. This "time correction" is also applied to 3D molecular design in Conditional Synthesis of 3D Molecules with Time Correction Sampler, where it prevents aggressive property optimization from creating physically unstable structures.

Similarly, Peng Sun and Tao Lin address drift in discrete spaces (like code or reasoning) by quantifying "Denoising Entropy." Their work in Optimizing Decoding Paths in Masked Diffusion Models by Quantifying Uncertainty shows that by monitoring uncertainty, we can steer the model away from high-entropy "dead ends" that deviate from the intended data distribution.

From Heuristics to Optimal Control

The field is currently shifting from heuristic "hacks" toward a principled framework based on optimization and control theory.

In Gradient Guidance for Diffusion Models: An Optimization Perspective, Yingqing Guo and Mengdi Wang link guided diffusion to classical optimization, introducing "look-ahead" gradients that provably preserve the data's natural structure. This is echoed by Luran Wang in Training Free Guided Flow-Matching with Optimal Control, where guidance is formulated as a trajectory optimization problem. By penalizing the divergence from the original model's probability flow, these methods ensure that the generated sample satisfies the target property without sacrificing structural integrity.

By treating the generative path as a manifold-constrained trajectory, researchers are finally enabling "plug-and-play" control over AI models that is both mathematically rigorous and visually stunning.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_manifold_preserving_guidance_for_generat_cfe1d77d,
  title = {Manifold Preserving Guidance for Generative Models},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/manifold-preserving-guidance-for-generative-models/rdr_cfe1d77d6d494a7db6bb9ae9de5b673a},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_manifold_preserving_guidance_for_generat_cfe1d77d_v1,
  title = {Manifold Preserving Guidance for Generative Models},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/manifold-preserving-guidance-for-generative-models/rdr_cfe1d77d6d494a7db6bb9ae9de5b673a/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}