paper-with-me

홈 › Papers

Generalizability of Memorization Neural Networks

2024-11-01 · Lijia Yu, Xiao-Shan Gao, Lijun Zhang, Yibo Miao

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.

📄 PDF Abstract BibTeX arXiv:2411.00372

Code (0)

등록된 구현이 없습니다.

Tasks

Memorization

Similar Papers 제목 키워드 기반

Do LLMs Memorize Recommendation Datasets? A Preliminary Study on MovieLens-1M

2025-05-15 · Dario Di Palma, Felice Antonio Merra, Maurizio Sfilio, Vito Walter Anelli 외

Large Language Models (LLMs) have become increasingly central to recommendation scenarios due to their remarkable natural language understanding and generation capabilities. Although significant research has explored the…

BenchmarkingMemorizationNatural Language UnderstandingRecommendation Systems

Memorization Diagnostics for Code LLMs Should be Scale-Aware

2026-08-13 · Prateek Kumar Rajput, Abdoul Aziz Bonkoungou, Alberick Euraste Djiré, Xunzhu Tang 외 arxiv

The extent to which large language models for code rely on memorization over genuine understanding remains highly debated. While current literature frequently reports widespread memorization, evaluating the underlying pr…

Memorization in Large Language Models in Medicine: Prevalence, Characteristics, and Implications

2025-09-10 · Anran Li, Lingfei Qian, Mengmeng Du, Yu Yin 외 arxiv

Large Language Models (LLMs) have demonstrated significant potential in medicine, with many studies adapting them through continued pre-training or fine-tuning on medical data to enhance domain-specific accuracy and safe…

Domain Adaptation

Is Grokking a Computational Glass Relaxation?

2025-05-16 · Xiaotian Zhang, Yue Shang, Entao Yang, Ge Zhang

Understanding neural network's (NN) generalizability remains a central question in deep learning research. The special phenomenon of grokking, where NNs abruptly generalize long after the training performance reaches a n…

Memorization

Beyond Query Memorization: Large Language Model Routing with Query Decomposition and Historical Matching

2026-05-25 · Bo Lv, Jingbo Sun arxiv

Optimizing the trade-off among predictive performance and computational cost is a central focus in the deployment of Large Language Models (LLMs). Current routing methods primarily rely on direct mapping from queries to …