arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.21402stat.MLcond-mat.dis-nncond-mat.stat-mechcs.LG
收藏

记忆、收敛与泛化在生成模型中的表现

Memorisation, convergence and generalisation in generative models

INRIA Paris & DI ENS, PSL University, Paris, France(巴黎国家信息与自动化研究所(INRIA)及巴黎高等师范学院(ENS)与巴黎大学(PSL University));International School of Advanced Studies (SISSA), Trieste, Italy(意大利国际高级研究学院(SISSA))

Antoine Maillard, Sebastian Goldt

AI总结:

本文研究了生成模型中记忆、收敛和泛化的区别,通过线性生成模型的分析,发现当样本数与输入维度成线性关系时,模型会从记忆过渡到泛化,并揭示了泛化包含两个不同目标:匹配数据分布的主体和恢复数据的主潜在因素。

摘要:

生成神经网络通过少量但有限的示例学习生成高度逼真的图像——它们是通过记忆训练集还是真正收敛到数据分布?为了解决这个问题,Kadkhodaie、Guth、Simoncelli和Mallat(ICLR '24)分别在数据集的不同子集上训练扩散模型,并显示当训练图像数量足够大时,它们会收敛到几乎相同的密度。这一结果提出了两个基本问题:需要多少数据才能收敛,以及收敛在学习数据分布方面捕捉了什么?本文通过提供线性生成模型从记忆到泛化的精确分析来解决这些问题。我们发现这些模型在小负载下会记忆,而当样本数与输入维度成线性关系时,收敛会连续出现。令人惊讶的是,我们发现收敛对恢复数据的主潜在因素不敏感,这些因素在尖锐的过渡中被恢复。在将我们的方法扩展到具有幂律谱的数据后,我们在卷积去噪器实验和Kadkhodaie等人的数据中发现了相同的收敛与潜在因素恢复的区别。因此,我们证明生成模型的泛化分解为至少两个不同的目标:匹配数据分布的主体和恢复数据的主潜在因素。这些目标对应于真实与学习数据分布之间的两种不同距离,只有第一个被收敛所捕捉。

英文摘要:

Generative neural networks learn how to produce highly realistic images from a large, but finite number of examples - or do they simply memorise their training set? To settle this question, Kadkhodaie, Guth, Simoncelli and Mallat (ICLR '24) trained diffusion models independently on disjoint subsets of a dataset and showed that they converge to nearly the same density when the number of training images is large enough. This result raises two basic questions: how much data do you need for convergence, and what does convergence capture about learning the data distribution? Here, we address these questions by providing an exact analytical characterisation of the transition from memorisation to generalisation in linear generative models. We find that these models memorise at small load, while convergence emerges continuously when the number of samples is linear in the input dimension. Strikingly, we find that convergence is insensitive to recovery of the principal latent factors of the data, which are recovered in a sharp transition. After extending our approach to data with power-law spectra, we find the same distinction between convergence and latent recovery in our experiments with convolutional denoisers and in the data of Kadkhodaie et al. We thus show that generalisation in generative models decomposes into at least two distinct objectives: matching the bulk of the data distribution and recovering the principal latent factors. These objectives correspond to two different distances between true and learnt data distribution, and only the first one is captured by convergence.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑