数据复杂性的几何视角:利用扩散模型进行高效的局部内蕴维数估计
A Geometric View of Data Complexity: Efficient Local Intrinsic Dimension Estimation with Diffusion Models
AI总结:
本文提出FLIPD,利用扩散模型的Fokker-Planck方程高效估计局部内蕴维数,在合成与自然图像上更准确、更快,并首次可扩展至Stable Diffusion规模。
摘要:
高维数据通常位于低维子流形上,而估计一个数据点的局部内蕴维数(LID)——即该数据点所属子流形的维数——是一个长期存在的问题。LID可以被理解为局部变化因素的数量:一个数据点拥有的变化因素越多,它往往就越复杂。事实证明,估计这一量在诸多场景中都很有用,涵盖神经网络的泛化,以及分布外数据、对抗样本和AI生成文本的检测。深度生成模型近期的成功为利用它们进行LID估计提供了机会,但当前基于生成模型的方法会产生不准确的估计、需要不止一个预训练模型、计算量很大,或者没有利用现有最佳的深度生成模型:扩散模型(DM)。在本工作中,我们表明与DM相关联的Fokker-Planck方程可以提供一个LID估计器,解决上述不足。我们的估计器称为FLIPD,易于实现,并兼容所有流行的DM。将FLIPD应用于合成LID估计基准,我们发现以全连接网络实现的DM是非常高效的LID估计器,优于现有基线。我们还将FLIPD应用于真实LID未知的自然图像。尽管对网络架构的选择敏感,FLIPD估计仍是衡量相对复杂性的有用指标;与竞争性估计器相比,FLIPD与图像PNG压缩率始终表现出更高的相关性,并更好地契合对复杂性的定性评估。值得注意的是,FLIPD比其他LID估计器快数个数量级,并且是首个在Stable Diffusion规模上可处理的估计器。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。