paper-with-me

홈 › Papers

Finding Memo: Extractive Memorization in Constrained Sequence Generation Tasks

2022-10-24 · Vikas Raunak, Arul Menezes

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.

📄 PDF Abstract BibTeX arXiv:2210.12929

Code (1)

vyraun/finding-memo 공식 구현

Tasks

counterfactualMachine TranslationMemorizationNMTText Generation

Similar Papers 제목 키워드 기반

A Comparative Analysis of LLM Memorization at Statistical and Internal Levels: Cross-Model Commonalities and Model-Specific Signatures

2026-03-23 · Bowen Chen, Namgi Han, Yusuke Miyao arxiv

Memorization is a fundamental component of intelligence for both humans and LLMs. However, while LLM performance scales rapidly, our understanding of memorization lags. Due to limited access to the pre-training data of L…

Memorization in Attention-only Transformers

2024-11-15 · Léo Dana, Muni Sreenivas Pydi, Yann Chevaleyre

Recent research has explored the memorization capacity of multi-head attention, but these findings are constrained by unrealistic limitations on the context size. We present a novel proof for language-based Transformers …

Memorization

Demystifying Verbatim Memorization in Large Language Models

2024-07-25 · Jing Huang, Diyi Yang, Christopher Potts

Large Language Models (LLMs) frequently memorize long sequences verbatim, often with serious legal and privacy implications. Much prior work has studied such verbatim memorization using observational data. To complement …

Language ModelingLanguage ModellingMemorization

Uncovering Latent Memories: Assessing Data Leakage and Memorization Patterns in Frontier AI Models

2024-06-20 · Sunny Duan, Mikail Khona, Abhiram Iyer, Rylan Schaeffer 외

Frontier AI systems are making transformative impacts across society, but such benefits are not without costs: models trained on web-scale datasets containing personal and private data raise profound concerns about data …

DiagnosticMemorization

Memorization Capacity of Multi-Head Attention in Transformers

2023-06-03 · Sadegh Mahdavi, Renjie Liao, Christos Thrampoulidis

Transformers have become the go-to architecture for language and vision tasks, yet their theoretical properties, especially memorization capacity, remain elusive. This paper investigates the memorization abilities of mul…

Image ClassificationMemorizationPosition