TL;DR
This paper introduces PROPME, a framework that distinguishes between an LLM's capability to memorize data (what it can be forced to leak under adversarial attacks) and its propensity to do so (what it leaks during ordinary use). Using a new deterministic tracing tool called SIMPLETRACE, the authors demonstrate that while models can be manipulated into regurgitating training data, their actual propensity to leak data during normal, non-adversarial interactions is remarkably low.
What Problem Does This Paper Address?
Most current methods for evaluating LLM memorization focus on worst-case scenarios. Researchers use adversarial "prefix attacks" or membership inference techniques to find the upper bounds of what a model can remember. While this characterizes a model's capability to memorize, it fails to tell us its propensity—whether it will spontaneously leak copyrighted text or sensitive personal identifiers during ordinary, day-to-day use.
Understanding propensity is critical for real-world risk assessment and legal compliance (such as satisfying the risk management and data protection requirements of the GDPR and the EU AI Act). This paper addresses this gap by providing a formal framework to measure and contrast both capability and propensity.
Methods
The authors introduce two core contributions to evaluate memorization:
- PROPME Framework & Propensity Metrics: PROPME evaluates models across three prompting levels: Generic (ordinary, real-world prompts), Specific (weakly targeted prompts relevant to the dataset's domain), and Prefix (adversarial attacks using actual training data prefixes). To quantify propensity, they introduce a mathematical transformation that scales standard memorization metrics based on the ratio of propensity-elicited leakage to capability-elicited leakage. A score below 0.5 indicates that the behavior is largely suppressed during ordinary use.
- SIMPLETRACE: A lightweight, open-source pipeline built on top of
infini-gram. Instead of relying on ambiguous probabilistic detection, SIMPLETRACE uses suffix arrays to deterministically trace model generations back to the exact documents in massive training corpora through a multi-step process of span extraction, rarity filtering, and document retrieval.
Datasets
The authors indexed and evaluated two open, permissibly licensed datasets:
- Common Pile: Represented by the Comma v0.1 English training corpus (463.6B tokens).
- Danish Dynaword: A Danish dataset containing 6.83B tokens.
They evaluated two models trained on these corpora: Comma v0.1 (a monolingual English model) and DFM Decoder Open v0.3 (a model continually pre-trained from Comma on a mixture of two-thirds Dynaword and one-third Common Pile).
Key Insights and Ideas
- Capability $\neq$ Propensity: Just because an LLM can be forced to regurgitate training text under an adversarial attack does not mean it will do so under normal conditions. Prefix attacks yield significantly stronger memorization signals than generic prompts.
- The Forgetting Effect of Continual Pre-training: Continually training a model on a new dataset and language reduces both its memorization capability and propensity regarding its original pre-training data.
- Dataset-Dependent Memorization Profiles: Different corpora result in different styles of memorization. For instance, Common Pile data tended to leak as long, localized verbatim fragments, whereas Dynaword data occasionally leaked as shorter but entirely complete generation-level reproductions.
Key Results
- Low Propensity Across the Board: Propensity scores for both models were universally low (well below the neutral 0.5 threshold), demonstrating that real-world data leakage under standard prompting is rare.
- Prefix Attacks Dominate: For the Comma model on Common Pile, the Average Longest Span (ALS) of verbatim text was 50.35 tokens under a prefix attack, compared to 27.95 tokens for generic prompts.
- Mitigation via Continual Training: DFM Decoder (the continually trained model) showed a noticeable drop in memorization of the Common Pile compared to its parent model, Comma. Its prefix-attack ALS dropped from 50.35 to 40.83 tokens, confirming that introducing new data mixtures can dilute older memorized content.
Limitations and Future Work
- Corpus Access Required: SIMPLETRACE relies on direct access to the full training dataset. This limits its applicability to closed-source commercial models where training data is kept secret.
- Narrow Model Scope: The experiments were limited to a single model family (Comma/DFM Decoder) and two languages (English and Danish).
- Future Directions: The authors suggest extending this framework to broader model architectures, more diverse languages, and investigating how different data mixture strategies during training can actively mitigate memorization.
Summary updated