A Geometric View of Data Complexity: Efficient Local Intrinsic Dimension Estimation with Diffusion Models
Hamidreza Kamkari, Brendan Leigh Ross, Rasa Hosseinzadeh, Jesse C. Cresswell, Gabriel Loaiza-Ganem
Abstract
High-dimensional data commonly lies on low-dimensional submanifolds, and estimating the local intrinsic dimension (LID) of a datum -- i.e. the dimension of the submanifold it belongs to -- is a longstanding problem. LID can be understood as the number of local factors of variation: the more factors of variation a datum has, the more complex it tends to be. Estimating this quantity has proven useful in contexts ranging from generalization in neural networks to detection of out-of-distribution data, adversarial examples, and AI-generated text. The recent successes of deep generative models present an opportunity to leverage them for LID estimation, but current methods based on generative models produce inaccurate estimates, require more than a single pre-trained model, are computationally intensive, or do not exploit the best available deep generative models: diffusion models (DMs). In this work, we show that the Fokker-Planck equation associated with a DM can provide an LID estimator which addresses the aforementioned deficiencies. Our estimator, called FLIPD, is easy to implement and compatible with all popular DMs. Applying FLIPD to synthetic LID estimation benchmarks, we find that DMs implemented as fully-connected networks are highly effective LID estimators that outperform existing baselines. We also apply FLIPD to natural images where the true LID is unknown. Despite being sensitive to the choice of network architecture, FLIPD estimates remain a useful measure of relative complexity; compared to competing estimators, FLIPD exhibits a consistently higher correlation with image PNG compression rate and better aligns with qualitative assessments of complexity. Notably, FLIPD is orders of magnitude faster than other LID estimators, and the first to be tractable at the scale of Stable Diffusion.
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.
21 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
- Diffusion Models and the Manifold Hypothesis: Log-Domain Smoothing is Geometry Adaptive cites Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models cites Score-based Generative Modeling in Latent Space
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models cites Score-Based Generative Modeling through Stochastic Differential Equations
- Generalization of Diffusion Models Arises with a Balanced Representation Space cites High-Resolution Image Synthesis with Latent Diffusion Models
- Generalization of Diffusion Models Arises with a Balanced Representation Space cites Denoising Diffusion Probabilistic Models
- Generalization of Diffusion Models Arises with a Balanced Representation Space cites Score-Based Generative Modeling through Stochastic Differential Equations
- Score-based Generative Modeling in Latent Space cites Maximum Likelihood Training of Score-Based Diffusion Models
- Score-based Generative Modeling in Latent Space cites Denoising Diffusion Probabilistic Models
- Score-based Generative Modeling in Latent Space cites Score-Based Generative Modeling through Stochastic Differential Equations
- 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 High-Resolution Image Synthesis with Latent Diffusion 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
- Learning normalized image densities via dual score matching cites Maximum Likelihood Training of Score-Based Diffusion Models
- Learning normalized image densities via dual score matching cites Denoising Diffusion Probabilistic Models
- Learning normalized image densities via dual score matching cites Score-Based Generative Modeling through Stochastic Differential Equations
Cited by top-tier papers21
- 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
- Learning normalized image densities via dual score matchingFlorentin Guth, Zahra Kadkhodaie, Eero P. SimoncelliNeurIPS 2025 · 22 citations
- Diffusion Models and the Manifold Hypothesis: Log-Domain Smoothing is Geometry AdaptiveTyler Farghly, Peter Potaptchik, Samuel Howard, George Deligiannidis et al.NeurIPS 2025 · 18 citations
- Generalization of Diffusion Models Arises with a Balanced Representation SpaceZekai Zhang, Xiao Li, Xiang Li, Lianghe Shi et al.ICLR 2026 · 14 citations
- Shallow Diffuse: Robust and Invisible Watermarking through Low-Dim Subspaces in Diffusion ModelsWenda Li, Huijie Zhang, Qing QuNeurIPS 2025 · 8 citations
Builds on17
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 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
- Score-based Generative Modeling in Latent SpaceArash Vahdat, Karsten Kreis, Jan KautzNeurIPS 2021 · 903 citations
Related papers
- 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
- A Wiener Process Perspective on Local Intrinsic Dimension Estimation MethodsPiotr Tempczyk, Lukasz Garncarek, Dominik Filipiak, Adam KurpiszAAAI 2025 · 2 citations
- LIDL: Local Intrinsic Dimension Estimation Using Approximate LikelihoodPiotr Tempczyk, Rafal Michaluk, Lukasz Garncarek, Przemyslaw Spurek et al.ICML 2022 · 39 citations
- Why We Need New Benchmarks for Local Intrinsic Dimension EstimationPiotr Tempczyk, Dominik Filipiak, Lukasz Garncarek, Ksawery Smoczynski et al.ICLR 2026
- The Intrinsic Dimension of Images and Its Impact on LearningPhillip Pope, Chen Zhu, Ahmed Abdelkader, Micah Goldblum et al.ICLR 2021 · 381 citations
