Skip to main content
QUICK REVIEW

[Paper Review] Memorization in deep learning: A survey

Jiaheng Wei, Yanjun Zhang|arXiv (Cornell University)|Jun 6, 2024
Topic ModelingComputer Science3 citations
TL;DR

This survey provides a comprehensive, systematic framework for understanding memorization in deep neural networks (DNNs), categorizing definitions by generalization and privacy/security domains, evaluating memorization at example and model levels, and analyzing its impacts on fairness, privacy, and model performance. It identifies memorization as a core DNN characteristic with dual implications—enabling applications like model editing while posing risks in data leakage and bias propagation.

ABSTRACT

Deep Learning (DL) powered by Deep Neural Networks (DNNs) has revolutionized various domains, yet understanding the intricacies of DNN decision-making and learning processes remains a significant challenge. Recent investigations have uncovered an interesting memorization phenomenon in which DNNs tend to memorize specific details from examples rather than learning general patterns, affecting model generalization, security, and privacy. This raises critical questions about the nature of generalization in DNNs and their susceptibility to security breaches. In this survey, we present a systematic framework to organize memorization definitions based on the generalization and security/privacy domains and summarize memorization evaluation methods at both the example and model levels. Through a comprehensive literature review, we explore DNN memorization behaviors and their impacts on security and privacy. We also introduce privacy vulnerabilities caused by memorization and the phenomenon of forgetting and explore its connection with memorization. Furthermore, we spotlight various applications leveraging memorization and forgetting mechanisms, including noisy label learning, privacy preservation, and model enhancement. This survey offers the first-in-kind understanding of memorization in DNNs, providing insights into its challenges and opportunities for enhancing AI development while addressing critical ethical concerns.

Motivation & Objective

  • To establish a unified, systematic framework for defining memorization in deep learning across generalization and privacy/security domains.
  • To categorize and compare existing definitions of memorization, resolving inconsistencies and ambiguities in the literature.
  • To survey and classify evaluation methods for memorization at both the example and model levels.
  • To analyze the impact of memorization on model generalization, fairness, privacy, and security.
  • To explore the interplay between memorization and forgetting, and their roles in model interpretability, unlearning, and privacy-preserving AI.

Proposed method

  • Proposes a dual-domain classification of memorization: (1) generalization-related (e.g., fitting to specific examples) and (2) security/privacy-related (e.g., data leakage).
  • Introduces a two-level analysis framework: example-level memorization (whether a specific input is memorized) and model-level memorization (overall memorization capacity).
  • Reviews and classifies evaluation techniques into: differential evaluation, probabilistic evaluation, noisy label evaluation, recurrence evaluation, and extraction evaluation.
  • Analyzes how data distribution, training dynamics, model architecture, and optimization methods influence memorization behavior.
  • Examines the role of regularization techniques (e.g., weight decay, dropout) and differential privacy in suppressing memorization.
  • Explores applications leveraging memorization, such as model editing, knowledge base construction, and noisy example filtering, and discusses forgetting mechanisms for unlearning.

Experimental results

Research questions

  • RQ1How can memorization in DNNs be systematically defined and distinguished from generalization and fitting?
  • RQ2What are the key evaluation methods for detecting memorization at the example and model levels?
  • RQ3How does memorization affect model generalization, fairness, and privacy in real-world applications?
  • RQ4What is the relationship between memorization and forgetting, and how can it be leveraged for unlearning and privacy compliance?
  • RQ5In what ways can memorization be harnessed for beneficial applications such as model editing and knowledge caching?

Key findings

  • Memorization is a fundamental property of DNNs, where models learn specific details of training examples rather than general patterns, even when labels are random.
  • Example-level memorization can be detected via differential or probabilistic evaluation, while model-level memorization is assessed through noisy label, recurrence, or extraction-based methods.
  • Memorization contributes to privacy risks, including data leakage and membership inference attacks, especially when training data contains sensitive information.
  • Forgetting mechanisms and unlearning techniques can mitigate privacy risks by removing memorized data, with potential trade-offs in model performance.
  • Memorization enables practical applications such as model editing, where facts are updated without retraining, and acts as an implicit knowledge base in large language models.
  • Regularization and differential privacy can reduce memorization but may degrade generalization, highlighting a trade-off between privacy and performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.