Finding Memo: Extractive Memorization in Constrained Sequence Generation Tasks
Not on the map. Why?
Abstract (arXiv)
Memorization presents a challenge for several constrained Natural Language Generation (NLG) tasks such as Neural Machine Translation (NMT), wherein the proclivity of neural models to memorize noisy and atypical samples reacts adversely with the noisy (web crawled) datasets. However, previous studies of memorization in constrained NLG tasks have only focused on counterfactual memorization, linking it to the problem of hallucinations. In this work, we propose a new, inexpensive algorithm for extractive memorization (exact training data generation under insufficient context) in constrained sequence generation tasks and use it to study extractive memorization and its effects in NMT. We demonstrate that extractive memorization poses a serious threat to NMT reliability by qualitatively and quantitatively characterizing the memorized samples as well as the model behavior in their vicinity. Based on empirical observations, we develop a simple algorithm which elicits non-memorized translations of memorized samples from the same model, for a large fraction of such samples. Finally, we show that the proposed algorithm could also be leveraged to mitigate memorization in the model through finetuning. We have released the code to reproduce our results at https://github.com/vyraun/Finding-Memo.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 27 of its 43 references that are in the map. First posted on arXiv 24 Oct 2022.
Builds on
27 of 43 references.
References · 27
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
- 2020COMET: A Neural Framework for MT Evaluationcited by 1,024
- 2017A Closer Look at Memorization in Deep Networkscited by 936
- 2022Quantifying Memorization Across Neural Language Modelscited by 755
- 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 492
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
- 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 218
15 more
- 2018Marian: Fast Neural Machine Translation in C++cited by 202
- 2021The Curious Case of Hallucinations in Neural Machine Translationcited by 161
- 2021Counterfactual Memorization in Neural Language Modelscited by 155
- 2018When and Why are Pre-trained Word Embeddings Useful for Neural Machine Translation?cited by 125
- 2021Machine Translationese: Effects of Algorithmic Bias on Linguistic Complexity in Machine Translationcited by 70
- 2022Understanding Transformer Memorization Recall Through Idiomscited by 62
- 2019Improved Zero-shot Neural Machine Translation via Ignoring Spurious Correlationscited by 61
- 2021The paradox of the compositionality of natural language: a neural machine translation case studycited by 58
- 2022GEMv2: Multilingual NLG Benchmarking in a Single Line of Codecited by 36
- 2021Memorisation versus Generalisation in Pre-trained Language Modelscited by 32
- 2021How BPE Affects Memorization in Transformerscited by 29
- 2022Can Transformer be Too Compositional? Analysing Idiom Processing in Neural Machine Translationcited by 28
- 2022SALTED: A Framework for SAlient Long-Tail Translation Error Detectioncited by 23
- 2022An Empirical Study of Memorization in NLPcited by 21
- 2019On Compositionality in Neural Machine Translationcited by 14
Built on by
Citing papers per year: 2022: 3; 2023: 6; 2024: 0; 2025: 2; 2026: 1.
12 papers.
- 2023How Good Are GPT Models at Machine Translation? A Comprehensive Evaluationcited by 344
- 2023The unreasonable effectiveness of few-shot learning for machine translationcited by 91
- 2023AutomaTikZ: Text-Guided Synthesis of Scientific Vector Graphics with TikZcited by 74
- 2023Leveraging GPT-4 for Automatic Translation Post-Editingcited by 56
- 2022ByGPT5: End-to-End Style-conditioned Poetry Generation with Token-free Language Modelscited by 25
- 2023An Evaluation on Large Language Model Outputs: Discourse and Memorizationcited by 20
- 2025Revisiting Compositional Generalization Capability of Large Language Models Considering Instruction Following Abilitycited by 10
- 2022Rank-One Editing of Encoder-Decoder Modelscited by 7
- 2023Memorisation Cartography: Mapping out the Memorisation-Generalisation Continuum in Neural Machine Translationcited by 4
- 2026When Flores Bloomz Wrong: Cross-Direction Contamination in Machine Translation Evaluationcited by 3
- 2025Memorization Inheritance in Sequence-Level Knowledge Distillation for Neural Machine Translationcited by 2
- 2022Operationalizing Specifications, In Addition to Test Sets for Evaluating Constrained Generative Modelscited by 1
- 2026When Flores Bloomz Wrong: Cross-Direction Contamination in Machine Translation Evaluation28 Jan 2026
- 2025Revisiting Compositional Generalization Capability of Large Language Models Considering Instruction Following Ability18 Jun 2025
- 2025Memorization Inheritance in Sequence-Level Knowledge Distillation for Neural Machine Translation3 Feb 2025
- 2023Memorisation Cartography: Mapping out the Memorisation-Generalisation Continuum in Neural Machine Translation9 Nov 2023
- 2023AutomaTikZ: Text-Guided Synthesis of Scientific Vector Graphics with TikZ30 Sep 2023
- 2023Leveraging GPT-4 for Automatic Translation Post-Editing24 May 2023
- 2023An Evaluation on Large Language Model Outputs: Discourse and Memorization17 Apr 2023
- 2023How Good Are GPT Models at Machine Translation? A Comprehensive Evaluation18 Feb 2023
- 2023The unreasonable effectiveness of few-shot learning for machine translation2 Feb 2023
- 2022ByGPT5: End-to-End Style-conditioned Poetry Generation with Token-free Language Models20 Dec 2022
- 2022Rank-One Editing of Encoder-Decoder Models23 Nov 2022
- 2022Operationalizing Specifications, In Addition to Test Sets for Evaluating Constrained Generative Models19 Nov 2022