Papers
arxiv:2611.38437

Predicting Memorization Before Fine-Tuning Language Models

Published on Nov 28
Authors:
,
,

Abstract

Language models are known to memorize and later regurgitate their training data, raising serious concerns when it is sensitive. Fine-tuning data is often private and proprietary, so a practitioner benefits from knowing which sequences will be memorized before training begins. Existing methods for predicting fine-tuning memorization still require partially training the target model. We show that memorization in a target model can be predicted without fine-tuning that model at all. We compute features from the pretrained base model and fit a classifier on memorization labels from a single fine-tuning run to predict the sequences future runs will memorize. This classifier reaches an ROC-AUC of at least 0.9 in most cases across six domains (FineWeb, Enron, PG-19, The Stack, OpenWebMath, WildChat) and three model families (Pythia, Qwen-2.5, Llama-3.2). Moreover, a classifier trained on a single domain, model family, & model size predicts memorization in unseen domains, families, and sizes. We further find that the learnability of a sequence shapes how it gets memorized. Finally, we study scaling laws for memorization on a Qwen-2.5 ladder from 0.5B to 14B, and find that both the memorization rate and our classifier's precision follow a power law in model size, with memorization growing as N^{0.39} to N^{0.83}.

Community

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2611.38437
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 33

Browse 33 models citing this paper

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2611.38437 in a dataset README.md to link it from this page.

Spaces citing this paper 1

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.