arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2411.00372cs.LGcs.AI
收藏

记忆神经网络的泛化能力

Generalizability of Memorization Neural Networks

Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);University of Chinese Academy of Sciences(中国科学院大学)

Lijia Yu, Xiao-Shan Gao, Lijun Zhang, Yibo Miao

AI总结:

本文首次对记忆神经网络的泛化能力展开理论分析,在i.i.d.数据假设下构建记忆网络,推导泛化所需网络宽度、样本复杂度及参数量的相关结论,并提出高效泛化记忆算法。

摘要:

神经网络记忆问题旨在研究神经网络对有限数据集进行插值的表达能力。尽管人们普遍认为,在使用过参数化模型时,记忆与深度学习的强泛化能力密切相关,但据我们所知,目前尚无关于记忆神经网络泛化能力的理论研究。本文首次对该主题展开了理论分析。由于使用独立同分布(i.i.d.)训练数据是学习算法具备泛化能力的必要条件,因此本文在数据分布的温和条件下,建立了适用于i.i.d.数据集的记忆及其泛化理论。首先,本文提出了构建i.i.d.数据集记忆网络的算法,这类网络的参数量最小,甚至可达到常数级参数量。其次,研究表明,若要使记忆网络具备泛化能力,网络的宽度至少需等于数据的维度,这意味着现有参数量最优的记忆网络不具备泛化能力。第三,本文给出了通用记忆算法样本复杂度的下界,以及常数参数量记忆算法的精确样本复杂度。研究还发现,存在某些数据分布,若要使记忆网络对其具备泛化能力,网络的参数量必须随数据维度呈指数增长。最后,当训练样本数量大于数据分布的高效记忆样本复杂度时,本文提出了一种高效且具备泛化能力的记忆算法。

英文摘要:

The neural network memorization problem is to study the expressive power of neural networks to interpolate a finite dataset. Although memorization is widely believed to have a close relationship with the strong generalizability of deep learning when using over-parameterized models, to the best of our knowledge, there exists no theoretical study on the generalizability of memorization neural networks. In this paper, we give the first theoretical analysis of this topic. Since using i.i.d. training data is a necessary condition for a learning algorithm to be generalizable, memorization and its generalization theory for i.i.d. datasets are developed under mild conditions on the data distribution. First, algorithms are given to construct memorization networks for an i.i.d. dataset, which have the smallest number of parameters and even a constant number of parameters. Second, we show that, in order for the memorization networks to be generalizable, the width of the network must be at least equal to the dimension of the data, which implies that the existing memorization networks with an optimal number of parameters are not generalizable. Third, a lower bound for the sample complexity of general memorization algorithms and the exact sample complexity for memorization algorithms with constant number of parameters are given. It is also shown that there exist data distributions such that, to be generalizable for them, the memorization network must have an exponential number of parameters in the data dimension. Finally, an efficient and generalizable memorization algorithm is given when the number of training samples is greater than the efficient memorization sample complexity of the data distribution.

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

↑