mlsanityData to 7 Oct 2026

Devil is in the Details: Density Guidance for Detail-Aware Generation with Flow Models

arXiv 2502.05807 ↗First posted 9 Feb 2025cs.LGcited by 5

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

Diffusion models have emerged as a powerful class of generative models, capable of producing high-quality images by mapping noise to a data distribution. However, recent findings suggest that image likelihood does not align with perceptual quality: high-likelihood samples tend to be smooth, while lower-likelihood ones are more detailed. Controlling sample density is thus crucial for balancing realism and detail. In this paper, we analyze an existing technique, Prior Guidance, which scales the latent code to influence image detail. We introduce score alignment, a condition that explains why this method works and show that it can be tractably checked for any continuous normalizing flow model. We then propose Density Guidance, a principled modification of the generative ODE that enables exact log-density control during sampling. Finally, we extend Density Guidance to stochastic sampling, ensuring precise log-density control while allowing controlled variation in structure or fine details. Our experiments demonstrate that these techniques provide fine-grained control over image detail without compromising sample quality. Code is available at https://github.com/Aalto-QuML/density-guidance.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 31 of its 38 references that are in the map. First posted on arXiv 9 Feb 2025.

Builds on

31 of 38 references.

Closest ancestors · 16

Same direction, newest first

  1. 2024The Superposition of Diffusion Models Using the Ito Density Estimator23 Dec
  2. 2024Diffusion Models as Cartoonists: The Curious Case of High Density Regions2 Nov
  3. 2024A Geometric View of Data Complexity: Efficient Local Intrinsic Dimension Estimation with Diffusion Models5 Jun
  4. 2024Guiding a Diffusion Model with a Bad Version of Itself4 Jun
  5. 2023Analyzing and Improving the Training Dynamics of Diffusion Models5 Dec
  6. 2023Diffusion Models Generate Images Like Painters: an Analytical Theory of Outline First, Details Later4 Mar
  7. 2023Consistency Models2 Mar
  8. 2022Elucidating the Design Space of Diffusion-Based Generative Models1 Jun
  9. 2022Generating High Fidelity Data from Low-density Regions using Diffusion Models31 Mar
  10. 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
  11. 2021Score-Based Generative Modeling with Critically-Damped Langevin Diffusion14 Dec
  12. 2021Variational Diffusion Models1 Jul
4 more
  1. 2021Score-based Generative Modeling in Latent Space10 Jun
  2. 2020Score-Based Generative Modeling through Stochastic Differential Equations26 Nov
  3. 2020Denoising Diffusion Implicit Models6 Oct
  4. 2020Denoising Diffusion Probabilistic Models19 Jun

Other references · 15

  1. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  2. 2022Flow Matching for Generative Modelingcited by 5,426
  3. 2018Neural Ordinary Differential Equationscited by 3,733
  4. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,550
  5. 2022Building Normalizing Flows with Stochastic Interpolantscited by 964
  6. 2015Automatic differentiation in machine learning: a surveycited by 846
  7. 2023Improving and generalizing flow-based generative models with minibatch optimal transportcited by 835
  8. 2018FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Modelscited by 584
  9. 2024Variational Flow Matching for Graph Generationcited by 78
  10. 2022Normalizing flow neural networks by JKO schemecited by 39
  11. 2022On Analyzing Generative and Denoising Capabilities of Diffusion-based Deep Generative Modelscited by 31
  12. 2020Learning normalizing flows from Entropy-Kantorovich potentialscited by 18
3 more
  1. 2023Scalable Stochastic Gradient Riemannian Langevin Dynamics in Non-Diagonal Metricscited by 8
  2. 2021Learning ODEs via Diffeomorphisms for Fast and Robust Integrationcited by 2
  3. 2024MGHF: Multi-Granular High-Frequency Perceptual Loss for Image Super-Resolutioncited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 1.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Momentum Guidance: Plug-and-Play Guidance for Flow Models
  2. 2024Self-Guidance: Boosting Flow and Diffusion Generation on Their Own
  3. 2024Diffusion Models Need Visual Priors for Image Generation
  4. 2025Where and How to Perturb: On the Design of Perturbation Guidance in Diffusion and Flow Models
  5. 2021More Control for Free! Image Synthesis with Semantic Diffusion Guidance
  6. 2025Entropy Rectifying Guidance for Diffusion and Flow Models
  7. 2024Compress Guidance in Conditional Diffusion Sampling
  8. 2024Enhancing Image Layout Control with Loss-Guided Diffusion Models