mlsanityData to 7 Oct 2026

Generalisation First, Memorisation Second? Memorisation Localisation for Natural Language Classification Tasks

arXiv 2408.04965 ↗First posted 9 Aug 2024cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

Memorisation is a natural part of learning from real-world data: neural models pick up on atypical input-output combinations and store those training examples in their parameter space. That this happens is well-known, but how and where are questions that remain largely unanswered. Given a multi-layered neural model, where does memorisation occur in the millions of parameters? Related work reports conflicting findings: a dominant hypothesis based on image classification is that lower layers learn generalisable features and that deeper layers specialise and memorise. Work from NLP suggests this does not apply to language models, but has been mainly focused on memorisation of facts. We expand the scope of the localisation question to 12 natural language classification tasks and apply 4 memorisation localisation techniques. Our results indicate that memorisation is a gradual process rather than a localised one, establish that memorisation is task-dependent, and give nuance to the generalisation first, memorisation second hypothesis.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 39 of its 55 references that are in the map. First posted on arXiv 9 Aug 2024.

Builds on

39 of 55 references.

References · 39

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  3. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  4. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  5. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  6. 2020Extracting Training Data from Large Language Modelscited by 2,144
  7. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  8. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  9. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  10. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  11. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  12. 2022Mass-Editing Memory in a Transformercited by 976
27 more
  1. 2018Neural Network Acceptability Judgmentscited by 952
  2. 2021Editing Factual Knowledge in Language Modelscited by 548
  3. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
  4. 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 492
  5. 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
  6. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
  7. 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 415
  8. 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 370
  9. 2018Insights on representational similarity in neural networks with canonical correlationcited by 318
  10. 2019Intrinsic dimension of data representations in deep neural networkscited by 276
  11. 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
  12. 2021Latent Hatred: A Benchmark for Understanding Implicit Hate Speechcited by 216
  13. 2018Hate Speech Dataset from a White Supremacy Forumcited by 196
  14. 2021Deep Learning Through the Lens of Example Difficultycited by 139
  15. 2020Characterizing Structural Regularities of Labeled Data in Overparameterized Modelscited by 93
  16. 2021On the geometry of generalization and memorization in deep neural networkscited by 71
  17. 2023Can Neural Network Memorization Be Localized?cited by 66
  18. 2022Understanding Transformer Memorization Recall Through Idiomscited by 62
  19. 2023Journey to the Center of the Knowledge Neurons: Discoveries of Language-Independent Knowledge Neurons and Degenerate Knowledge Neuronscited by 56
  20. 2024What does the Knowledge Neuron Thesis Have to do with Knowledge?cited by 49
  21. 2023Exploring Memorization in Fine-tuned Language Modelscited by 44
  22. 2024Competition of Mechanisms: Tracing How Language Models Handle Facts and Counterfactualscited by 40
  23. 2024Locating and Editing Factual Associations in Mambacited by 35
  24. 2023Subspace Chronicles: How Linguistic Information Emerges, Shifts and Interacts during Language Model Trainingcited by 23
  25. 2022An Empirical Study of Memorization in NLPcited by 21
  26. 2018DNN or k-NN: That is the Generalize vs. Memorize Questioncited by 16
  27. 2023Memorisation Cartography: Mapping out the Memorisation-Generalisation Continuum in Neural Machine Translationcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 5; 2026: 2.

9 papers.