Predicting Memorization Before Fine-Tuning Language Models
We can predict which sequences will be memorized during fine-tuning even before training starts. Our classifier only uses features computed from the base model.
- Explore held-out examples: pick a sequence from a separate fine-tuning run that the classifier never saw during training, and compare its predicted risk with the actual memorization outcome.
- Score your own text: paste any passage to get its predicted memorization risk.
Use the base-model selector to switch between model families.
Pick a real fine-tuning sequence and compare the classifier's risk score with what the fine-tuned model actually generated.
Dataset
Please enter an input text that is at least 100 tokens (or 75 words). Using its base-model features, our learned classifiers (one per fine-tuning dataset) predict how likely the selected base model would be to memorize it if you fine-tuned on it. The plots below show where your text's features fall relative to memorized and not-memorized examples.
Fine-tuning dataset