Memorization or Interpolation? Detecting LLM Memorization through Input Perturbation Analysis
Djiré Albérick Euraste, Abdoul Kader KABORE, Iyiola Emmanuel Olatunji, Earl T. Barr, Jacques Klein, Tegawendé F. Bissyandé
ICLR 2026 submission
Abstract. While LLMs achieve remarkable performance through training on massive datasets, they often exhibit concerning behaviors such as verbatim reproduction of training data rather than true generalization. This memorization phenomenon raises critical concerns regarding data privacy, intellectual property rights, and the reliability of model evaluations. This paper introduces PEARL, a novel approach for detecting memorization in LLMs. PEARL assesses the sensitivity of an LLM’s performance to input perturbations, enabling detection of memorization in a black-box setting without requiring access to the model’s internal parameters or architecture. Furthermore, we investigate how input perturbations affect output consistency, allowing us to distinguish between true generalization and memorization. Extensive experiments on Pythia models demonstrate that our framework robustly identifies cases where models regurgitate learned information. Applied to GPT-4o, PEARL not only detected memorization of classic texts (e.g., the Bible) and common code snippets from HumanEval but also provided evidence suggesting that certain data sources, such as New York Times articles, were likely included in the model’s training set.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperadd · history
Loading the discussion…