Diffusion Models Encode the Intrinsic Dimension of Data Manifolds
Jan Stanczuk, Georgios Batzolis, Teo Deveney, Carola-Bibiane Schönlieb
Abstract
In this work, we provide a mathematical proof that diffusion models encode data manifolds by approximating their normal bundles. Based on this observation we propose a novel method for extracting the intrinsic dimension of the data manifold from a trained diffusion model. Our insights are based on the fact that a diffusion model approximates the score function i.e. the gradient of the log density of a noise-corrupted version of the target distribution for varying levels of corruption. We prove that as the level of corruption decreases, the score function points towards the manifold, as this direction becomes the direction of maximal likelihood increase. Therefore, at low noise levels, the diffusion model provides us with an approximation of the manifold's normal bundle, allowing for an estimation of the manifold's intrinsic dimension. To the best of our knowledge our method is the first estimator of intrinsic dimension based on diffusion models and it outperforms well established estimators in controlled experiments on both Euclidean and image data. The code is available at https: //github.com/GBATZOLIS/ID-diff .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
28 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- When Scores Learn Geometry: Rate Separations under the Manifold Hypothesis cites Improving the Euclidean Diffusion Generation of Manifold Data by Mitigating Score Function Singularity
- When Scores Learn Geometry: Rate Separations under the Manifold Hypothesis cites Score-Based Generative Modeling through Stochastic Differential Equations
- Improving the Euclidean Diffusion Generation of Manifold Data by Mitigating Score Function Singularity cites Denoising Diffusion Probabilistic Models
- Improving the Euclidean Diffusion Generation of Manifold Data by Mitigating Score Function Singularity cites Score-Based Generative Modeling through Stochastic Differential Equations
- Carré du champ flow matching: better quality-generalisation tradeoff in generative models cites Denoising Diffusion Probabilistic Models
- Maximum Likelihood Training of Score-Based Diffusion Models cites Denoising Diffusion Probabilistic Models
- Maximum Likelihood Training of Score-Based Diffusion Models cites Score-Based Generative Modeling through Stochastic Differential Equations
- Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative Modeling cites Denoising Diffusion Probabilistic Models
- Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative Modeling cites Score-Based Generative Modeling through Stochastic Differential Equations
- Score-Based Generative Modeling through Stochastic Differential Equations cites Denoising Diffusion Probabilistic Models
- Shallow Diffuse: Robust and Invisible Watermarking through Low-Dim Subspaces in Diffusion Models cites Denoising Diffusion Probabilistic Models
- Shallow Diffuse: Robust and Invisible Watermarking through Low-Dim Subspaces in Diffusion Models cites Score-Based Generative Modeling through Stochastic Differential Equations
Cited by top-tier papers28
- Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative ModelingMichal Balcerak, Tamaz Amiranashvili, Antonio Terpin, Suprosanna Shit et al.NeurIPS 2025 · 33 citations
- Improving the Euclidean Diffusion Generation of Manifold Data by Mitigating Score Function SingularityZichen Liu, Wei Zhang, Tiejun LiNeurIPS 2025 · 14 citations
- Carré du champ flow matching: better quality-generalisation tradeoff in generative modelsJacob Bamberger, Iolo Jones, Dennis Duncan, Michael M. Bronstein et al.ICLR 2026 · 14 citations
- When Scores Learn Geometry: Rate Separations under the Manifold HypothesisXiang Li, Zebang Shen, Ya-Ping Hsieh, Niao HeICLR 2026 · 10 citations
- Shallow Diffuse: Robust and Invisible Watermarking through Low-Dim Subspaces in Diffusion ModelsWenda Li, Huijie Zhang, Qing QuNeurIPS 2025 · 8 citations
Builds on12
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar et al.ICLR 2021 · 1,270 citations
- Maximum Likelihood Training of Score-Based Diffusion ModelsYang Song, Conor Durkan, Iain Murray, Stefano ErmonNeurIPS 2021 · 958 citations
- The Intrinsic Dimension of Images and Its Impact on LearningPhillip Pope, Chen Zhu, Ahmed Abdelkader, Micah Goldblum et al.ICLR 2021 · 381 citations
- Flows for simultaneous manifold learning and density estimationJohann Brehmer, Kyle CranmerNeurIPS 2020 · 187 citations
Related papers
- MAD: Manifold Attracted DiffusionDennis Elbrächter, Giovanni S. Alberti, Matteo SantacesariaICML 2026
- A Geometric Explanation of the Likelihood OOD Detection ParadoxHamidreza Kamkari, Brendan Leigh Ross, Jesse C. Cresswell, Anthony L. Caterini et al.ICML 2024 · 20 citations
- Score Approximation, Estimation and Distribution Recovery of Diffusion Models on Low-Dimensional DataMinshuo Chen, Kaixuan Huang, Tuo Zhao, Mengdi WangICML 2023 · 168 citations
- Manifold Diffusion FieldsAhmed A. A. Elhag, Yuyang Wang, Joshua M. Susskind, Miguel Ángel BautistaICLR 2024 · 11 citations
- On the Interpolation Effect of Score Smoothing in Diffusion ModelsZhengdao ChenICLR 2026
