Temporal Alignment Guidance: On-manifold Sampling in Diffusion Models

Youngrok Park, Hojung Jung, Sangmin Bae, Se-Young Yun · Submission to ICLR 2026 · Rejected

TL;DR

When diffusion models are guided by external loss functions or accelerated into few-step regimes, intermediate latents frequently drift "off-manifold" into low-density regions where score estimates fail. Temporal Alignment Guidance (TAG) introduces a lightweight time-predictor network whose gradient, the Time-Linked Score (TLS), actively pulls samples back toward the target noise manifold at each reverse step. This plug-and-play formulation delivers dramatic boosts in generation fidelity and constraint satisfaction across images, 3D molecules, audio, and large-scale text-to-image models.

What Problem Does This Paper Address?

Diffusion models generate data by reversing a noise-injection process step-by-step. In downstream tasks—such as inverse problem solving, multi-attribute conditioning, or reward alignment—practitioners introduce external guidance terms (like classifier gradients or reconstruction losses) to steer samples.

However, adding arbitrary external drift forces intermediate samples into atypical, low-density regions where the model was rarely trained ($p_t(x) \approx 0$). In these regions, score approximations deteriorate, triggering compounding errors across reverse diffusion steps that lead to distorted, unrealistic outputs (the off-manifold phenomenon). Similar deviations occur during few-step sampling due to accumulated ODE/SDE discretization errors.

Methods

Rather than treating the diffusion timestep $t$ merely as an immutable schedule parameter, TAG treats $t$ as a random variable and uses a lightweight auxiliary classifier (a time predictor $\phi$) trained to estimate $p(t|x)$ via standard cross-entropy over noisy samples.

  • Time-Linked Score (TLS): TAG computes the gradient of the log-posterior of the timestep: $$\text{TLS}(x, t) = \nabla_x \log p_\phi(t \mid x)$$
  • Temporal Alignment Guidance (TAG): This term is combined with the base score function: $$\text{TAG}(x, t) = \nabla_x \log p_t(x) + \omega_t \nabla_x \log p_\phi(t \mid x)$$ where $\omega_t$ controls guidance strength.

  • Reparameterized Multi-Conditional Guidance: Explicitly modeling $p(t \mid x, c_1, \dots, c_k)$ for multiple conditions would create a combinatorial training explosion. The authors prove that single-condition or even unconditional time predictors can be used by sequentially reparameterizing $x_t$ using Tweedie-estimated gradient steps before evaluating the time predictor.

Datasets

The authors evaluate across multiple modalities using the unified Training-Free Guidance (TFG) benchmark settings:

  • Image Datasets: CIFAR-10, ImageNet ($256 \times 256$), CelebA-HQ ($256 \times 256$), and Cat dataset ($256 \times 256$).
  • Molecular Graphs: QM-9 (134k small organic molecules evaluated on 6 quantum properties: $\alpha$, $\Delta\epsilon$, $\epsilon_{\text{HOMO}}$, $\epsilon_{\text{LUMO}}$, $\mu$, $C_v$).
  • Audio: Audio-DDPM benchmark (mel-spectrogram restoration).
  • Text-to-Image / Style Transfer: Stable Diffusion v1.5 evaluated with PartiPrompts, WikiArt, and HPSv2 prompts.

Key Insights and Ideas

  • The Pull-and-Repel Mechanism: The authors prove theoretically (Theorem 3.3) that TLS decomposes into: $$\nabla_x \log p(t_i \mid x) = \sum_{k \neq i} \frac{p_{t_k}(x)}{p_{\text{tot}}(x)} \Big( \underbrace{\nabla_x \log p_{t_i}(x)}_{\text{pull to } t_i \text{ manifold}} - \underbrace{\nabla_x \log p_{t_k}(x)}_{\text{repel other manifolds}} \Big)$$ When a sample drifts off the manifold ($p_{t_i}(x) \ll p_{\text{tot}}(x)$), TLS automatically strengthens: it pulls the sample toward the correct timestep manifold while explicitly repelling it from incorrect ones.

  • Quantifying Deviation with the "Time-Gap": The paper defines a diagnostic metric, the Time-Gap ($\frac{1}{T}\sum_{t=1}^T |\arg\max \phi(x_t) - t|$). A higher Time-Gap strongly correlates with poor visual fidelity (worse FID and Inception Score), serving as an effective proxy for off-manifold drift.

  • Lightweight Architectures Suffice: The time predictor does not need a massive UNet backbone. A 4-layer CNN (~1.48M parameters, less than 9% the size of standard encoders) matches the temporal estimation performance of larger networks.

Key Results

  • Benchmark Guidance (DPS & TFG): Across image restoration (deblurring, super-resolution), audio inpainting/declipping, and molecular design:
  • On CIFAR-10 with 50k samples, TFG + TAG improves FID from 77.5 to 47.1 and classification accuracy from 54.3% to 84.4%.
  • On QM-9 molecular generation, TAG rescues sampling stability under strong guidance—e.g., dipole moment ($\mu$) atom stability jumps from 34.4% to 97.2% (DPS) and 26.3% to 94.3% (TFG).
  • Few-Step Sampling: In an extreme 1-step DDIM generation on CIFAR-10, TAG lowers FID from 449.8 to 232.9 (a 41.1% reduction).
  • Large-Scale Text-to-Image Alignment: When integrated into Direct Alignment Sampling (DAS) on SD v1.5, TAG boosts the LAION Aesthetic score from 7.95 to 9.09 while slashing the Time-Gap from 90.04 to 28.84.

Limitations and Future Work

  • Diminishing Returns Near Convergence: When generation trajectories already exhibit very small Time-Gaps, further tuning TAG yields minimal fidelity gains.
  • Near-Terminal Timestep Ambiguity: For lower-dimensional data (e.g., CIFAR-10 or molecular graphs), the time predictor’s error increases near $t \approx T$ because marginal noise distributions heavily overlap in extreme noise regimes.
  • Future Directions: Adapting TAG to discrete diffusion models, incorporating it into higher-order fast ODE solvers (e.g., DPM-Solver++), and testing it in diffusion-based reinforcement learning and trajectory planning.

Summary updated

BibTeX
@inproceedings{park2026temporal,
  author = {Youngrok Park and Hojung Jung and Sangmin Bae and Se-Young Yun},
  title = {{Temporal Alignment Guidance: On-manifold Sampling in Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=xSoJ54I1mz},
}
Figure