Pith. sign in

REVIEW 3 cited by

Localizing Paragraph Memorization in Language Models

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2403.19851 v1 pith:MAXWKVK4 submitted 2024-03-28 cs.CL cs.CRcs.LGstat.ML

classification cs.CLcs.CRcs.LGstat.ML
keywords memorizationtokensmemorizedmodelacrossattentioncorruptdistinctive
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Can we localize the weights and mechanisms used by a language model to memorize and recite entire paragraphs of its training data? In this paper, we show that while memorization is spread across multiple layers and model components, gradients of memorized paragraphs have a distinguishable spatial pattern, being larger in lower model layers than gradients of non-memorized examples. Moreover, the memorized examples can be unlearned by fine-tuning only the high-gradient weights. We localize a low-layer attention head that appears to be especially involved in paragraph memorization. This head is predominantly focusing its attention on distinctive, rare tokens that are least frequent in a corpus-level unigram distribution. Next, we study how localized memorization is across the tokens in the prefix by perturbing tokens and measuring the caused change in the decoding. A few distinctive tokens early in a prefix can often corrupt the entire continuation. Overall, memorized continuations are not only harder to unlearn, but also to corrupt than non-memorized ones.

Discussion (0). Sign in to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Localizing and Mitigating Memorization in Image Autoregressive Models

    cs.LG 2025-08 conditional novelty 6.0 of 10

    Memorization in image autoregressive models sits in early blocks at coarse scales for VAR models and in middle/late blocks for RAR models; halving the flagged neurons' weights cuts extractable images by 65 to 84 percent.

  2. The Pluralistic Moral Gap: Understanding Judgment and Value Differences between Humans and Large Language Models

    cs.CL 2025-07 conditional novelty 6.0 of 10

    LLMs align with human moral judgments only under high consensus, concentrate on a narrow set of moral values, and the profile-based prompting method's reported improvement is evaluated in-sample.

  3. Beyond Frequency: The Role of Redundancy in Large Language Model Memorization

    cs.LG 2025-06 reject novelty 4.0 of 10

    LLM memorization is concentrated in low-redundancy (high-entropy) samples, which are roughly twice as fragile under prefix perturbation as high-redundancy samples, according to the paper's measurements on Pythia models.

Pith tools