LGAINov 1, 2024

Generalizability of Memorization Neural Networks

arXiv:2411.00372v11 citationsh-index: 8
Originality Incremental advance
AI Analysis

This work addresses a foundational problem in deep learning theory by providing the first theoretical analysis of how memorization relates to generalization, which is crucial for researchers and practitioners in machine learning.

The paper tackles the theoretical gap in understanding the generalizability of neural networks that memorize finite datasets, showing that existing optimal memorization networks are not generalizable and providing conditions and algorithms for generalizable memorization, including a lower bound on sample complexity and an efficient algorithm for certain data distributions.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes