Predicting Memorization Before Fine-Tuning Language Models

Jaydeep Borkar, Niloofar Mireshghallah, David A. Smith
11/28/2026
cs.CL

No confident code implementation found for this paper.

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.

Show full abstract

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}$.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{borkar2026predicting,
  title  = {Predicting Memorization Before Fine-Tuning Language Models},
  author = {Jaydeep Borkar and Niloofar Mireshghallah and David A. Smith},
  year   = {2026},
  eprint = {2611.38437},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.38437v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.38437.svg)](https://codeofpaper.com/paper/2611.38437)

Discussion