Diffusion Models Learn Low-Dimensional Distributions via Subspace Clustering

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Peng, Zhang, Huijie, Zhang, Zekai, Chen, Siyi, Ma, Yi, Qu, Qing
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912466977423360
author Wang, Peng
Zhang, Huijie
Zhang, Zekai
Chen, Siyi
Ma, Yi
Qu, Qing
author_facet Wang, Peng
Zhang, Huijie
Zhang, Zekai
Chen, Siyi
Ma, Yi
Qu, Qing
contents Recent empirical studies have demonstrated that diffusion models can effectively learn the image distribution and generate new samples. Remarkably, these models can achieve this even with a small number of training samples despite a large image dimension, circumventing the curse of dimensionality. In this work, we provide theoretical insights into this phenomenon by leveraging key empirical observations: (i) the low intrinsic dimensionality of image data, (ii) a union of manifold structure of image data, and (iii) the low-rank property of the denoising autoencoder in trained diffusion models. These observations motivate us to assume the underlying data distribution of image data as a mixture of low-rank Gaussians and to parameterize the denoising autoencoder as a low-rank model according to the score function of the assumed distribution. With these setups, we rigorously show that optimizing the training loss of diffusion models is equivalent to solving the canonical subspace clustering problem over the training samples. Based on this equivalence, we further show that the minimal number of samples required to learn the underlying distribution scales linearly with the intrinsic dimensions under the above data and model assumptions. This insight sheds light on why diffusion models can break the curse of dimensionality and exhibit the phase transition in learning distributions. Moreover, we empirically establish a correspondence between the subspaces and the semantic representations of image data, facilitating image editing. We validate these results with corroborated experimental results on both simulated distributions and image datasets.
format Preprint
id arxiv_https___arxiv_org_abs_2409_02426
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Diffusion Models Learn Low-Dimensional Distributions via Subspace Clustering
Wang, Peng
Zhang, Huijie
Zhang, Zekai
Chen, Siyi
Ma, Yi
Qu, Qing
Machine Learning
Computer Vision and Pattern Recognition
Recent empirical studies have demonstrated that diffusion models can effectively learn the image distribution and generate new samples. Remarkably, these models can achieve this even with a small number of training samples despite a large image dimension, circumventing the curse of dimensionality. In this work, we provide theoretical insights into this phenomenon by leveraging key empirical observations: (i) the low intrinsic dimensionality of image data, (ii) a union of manifold structure of image data, and (iii) the low-rank property of the denoising autoencoder in trained diffusion models. These observations motivate us to assume the underlying data distribution of image data as a mixture of low-rank Gaussians and to parameterize the denoising autoencoder as a low-rank model according to the score function of the assumed distribution. With these setups, we rigorously show that optimizing the training loss of diffusion models is equivalent to solving the canonical subspace clustering problem over the training samples. Based on this equivalence, we further show that the minimal number of samples required to learn the underlying distribution scales linearly with the intrinsic dimensions under the above data and model assumptions. This insight sheds light on why diffusion models can break the curse of dimensionality and exhibit the phase transition in learning distributions. Moreover, we empirically establish a correspondence between the subspaces and the semantic representations of image data, facilitating image editing. We validate these results with corroborated experimental results on both simulated distributions and image datasets.
title Diffusion Models Learn Low-Dimensional Distributions via Subspace Clustering
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2409.02426