Generalisation First, Memorisation Second? Memorisation Localisation for Natural Language Classification Tasks
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2022Mass-Editing Memory in a Transformercited by 976
27 more
- 2018Neural Network Acceptability Judgmentscited by 952
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 492
- 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
- 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 415
- 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 370
- 2018Insights on representational similarity in neural networks with canonical correlationcited by 318
- 2019Intrinsic dimension of data representations in deep neural networkscited by 276
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
- 2021Latent Hatred: A Benchmark for Understanding Implicit Hate Speechcited by 216
- 2018Hate Speech Dataset from a White Supremacy Forumcited by 196
- 2021Deep Learning Through the Lens of Example Difficultycited by 139
- 2020Characterizing Structural Regularities of Labeled Data in Overparameterized Modelscited by 93
- 2021On the geometry of generalization and memorization in deep neural networkscited by 71
- 2023Can Neural Network Memorization Be Localized?cited by 66
- 2022Understanding Transformer Memorization Recall Through Idiomscited by 62
- 2023Journey to the Center of the Knowledge Neurons: Discoveries of Language-Independent Knowledge Neurons and Degenerate Knowledge Neuronscited by 56
- 2024What does the Knowledge Neuron Thesis Have to do with Knowledge?cited by 49
- 2023Exploring Memorization in Fine-tuned Language Modelscited by 44
- 2024Competition of Mechanisms: Tracing How Language Models Handle Facts and Counterfactualscited by 40
- 2024Locating and Editing Factual Associations in Mambacited by 35
- 2023Subspace Chronicles: How Linguistic Information Emerges, Shifts and Interacts during Language Model Trainingcited by 23
- 2022An Empirical Study of Memorization in NLPcited by 21
- 2018DNN or k-NN: That is the Generalize vs. Memorize Questioncited by 16
- 2023Memorisation Cartography: Mapping out the Memorisation-Generalisation Continuum in Neural Machine Translationcited by 4
Built on by
Citing papers per year: 2024: 2; 2025: 5; 2026: 2.
9 papers.
- 2024Arithmetic Without Algorithms: Language Models Solve Math With a Bag of Heuristicscited by 94
- 2024Undesirable Memorization in Large Language Models: A Surveycited by 29
- 2025Extracting alignment data in open modelscited by 7
- 2025Trustworthy Machine Learning via Memorization and the Granular Long-Tail: A Survey on Interactions, Tradeoffs, and Beyondcited by 6
- 2025ICL CIPHERS: Quantifying "Learning" in In-Context Learning via Substitution Cipherscited by 4
- 2025Agent-ScanKit: Unraveling Memory and Reasoning of Multimodal Agents via Sensitivity Perturbationscited by 3
- 2025Distributional Semantics Tracing: A Framework for Explaining Hallucinations in Large Language Modelscited by 3
- 2026Humans and transformer LMs: Abstraction drives language learningcited by 2
- 2026Don't Forget! Decomposing the Training Dynamics of Memorization in Language Modelscited by 0
- 2026Don't Forget! Decomposing the Training Dynamics of Memorization in Language Models28 Sep 2026
- 2026Humans and transformer LMs: Abstraction drives language learning18 Mar 2026
- 2025Extracting alignment data in open models21 Oct 2025
- 2025Distributional Semantics Tracing: A Framework for Explaining Hallucinations in Large Language Models7 Oct 2025
- 2025Agent-ScanKit: Unraveling Memory and Reasoning of Multimodal Agents via Sensitivity Perturbations1 Oct 2025
- 2025ICL CIPHERS: Quantifying "Learning" in In-Context Learning via Substitution Ciphers28 Apr 2025
- 2025Trustworthy Machine Learning via Memorization and the Granular Long-Tail: A Survey on Interactions, Tradeoffs, and Beyond10 Mar 2025
- 2024Arithmetic Without Algorithms: Language Models Solve Math With a Bag of Heuristics28 Oct 2024
- 2024Undesirable Memorization in Large Language Models: A Survey3 Oct 2024