Devil is in the Details: Density Guidance for Detail-Aware Generation with Flow Models
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
- 2024The Superposition of Diffusion Models Using the Ito Density Estimator23 Dec
- 2024Diffusion Models as Cartoonists: The Curious Case of High Density Regions2 Nov
- 2024A Geometric View of Data Complexity: Efficient Local Intrinsic Dimension Estimation with Diffusion Models5 Jun
- 2024Guiding a Diffusion Model with a Bad Version of Itself4 Jun
- 2023Analyzing and Improving the Training Dynamics of Diffusion Models5 Dec
- 2023Diffusion Models Generate Images Like Painters: an Analytical Theory of Outline First, Details Later4 Mar
- 2023Consistency Models2 Mar
- 2022Elucidating the Design Space of Diffusion-Based Generative Models1 Jun
- 2022Generating High Fidelity Data from Low-density Regions using Diffusion Models31 Mar
- 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
- 2021Score-Based Generative Modeling with Critically-Damped Langevin Diffusion14 Dec
- 2021Variational Diffusion Models1 Jul
4 more
Other references · 15
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2022Flow Matching for Generative Modelingcited by 5,426
- 2018Neural Ordinary Differential Equationscited by 3,733
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,550
- 2022Building Normalizing Flows with Stochastic Interpolantscited by 964
- 2015Automatic differentiation in machine learning: a surveycited by 846
- 2023Improving and generalizing flow-based generative models with minibatch optimal transportcited by 835
- 2018FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Modelscited by 584
- 2024Variational Flow Matching for Graph Generationcited by 78
- 2022Normalizing flow neural networks by JKO schemecited by 39
- 2022On Analyzing Generative and Denoising Capabilities of Diffusion-based Deep Generative Modelscited by 31
- 2020Learning normalizing flows from Entropy-Kantorovich potentialscited by 18
Built on by
Citing papers per year: 2025: 4; 2026: 1.
5 papers.
- 2025The Spacetime of Diffusion Models: An Information Geometry Perspectivecited by 6
- 2025Kernel Density Steering: Inference-Time Scaling via Mode Seeking for Image Restorationcited by 5
- 2025MAMBO-G: Magnitude-Aware Mitigation for Boosted Guidancecited by 1
- 2025Be Tangential to Manifold: Discovering Riemannian Metric for Diffusion Modelscited by 1
- 2026Flow-Based Density Ratio Estimation for Intractable Distributions with Applications in Genomicscited by 0
- 2026Flow-Based Density Ratio Estimation for Intractable Distributions with Applications in Genomics27 Feb 2026
- 2025Be Tangential to Manifold: Discovering Riemannian Metric for Diffusion Models7 Oct 2025
- 2025MAMBO-G: Magnitude-Aware Mitigation for Boosted Guidance5 Aug 2025
- 2025Kernel Density Steering: Inference-Time Scaling via Mode Seeking for Image Restoration8 Jul 2025
- 2025The Spacetime of Diffusion Models: An Information Geometry Perspective23 May 2025
Similar, not cited
Close in wording, no citation either way
- 2026Momentum Guidance: Plug-and-Play Guidance for Flow Models
- 2024Self-Guidance: Boosting Flow and Diffusion Generation on Their Own
- 2024Diffusion Models Need Visual Priors for Image Generation
- 2025Where and How to Perturb: On the Design of Perturbation Guidance in Diffusion and Flow Models
- 2021More Control for Free! Image Synthesis with Semantic Diffusion Guidance
- 2025Entropy Rectifying Guidance for Diffusion and Flow Models
- 2024Compress Guidance in Conditional Diffusion Sampling
- 2024Enhancing Image Layout Control with Loss-Guided Diffusion Models