|国家预印本平台
首页|Memorization or Interpolation ? Detecting LLM Memorization through Input Perturbation Analysis

Memorization or Interpolation ? Detecting LLM Memorization through Input Perturbation Analysis

Memorization or Interpolation ? Detecting LLM Memorization through Input Perturbation Analysis

来源:Arxiv_logoArxiv
英文摘要

While Large Language Models (LLMs) achieve remarkable performance through training on massive datasets, they can exhibit concerning behaviors such as verbatim reproduction of training data rather than true generalization. This memorization phenomenon raises significant concerns about 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 how sensitive an LLM's performance is to input perturbations, enabling memorization detection without requiring access to the model's internals. We investigate how input perturbations affect the consistency of outputs, enabling us to distinguish between true generalization and memorization. Our findings, following extensive experiments on the Pythia open model, provide a robust framework for identifying when the model simply regurgitates learned information. Applied on the GPT 4o models, the PEARL framework not only identified cases of memorization of classic texts from the Bible or common code from HumanEval but also demonstrated that it can provide supporting evidence that some data, such as from the New York Times news articles, were likely part of the training data of a given model.

Albérick Euraste Djiré、Abdoul Kader Kaboré、Earl T. Barr、Jacques Klein、Tegawendé F. Bissyandé

计算技术、计算机技术

Albérick Euraste Djiré,Abdoul Kader Kaboré,Earl T. Barr,Jacques Klein,Tegawendé F. Bissyandé.Memorization or Interpolation ? Detecting LLM Memorization through Input Perturbation Analysis[EB/OL].(2025-05-05)[2025-06-05].https://arxiv.org/abs/2505.03019.点此复制

评论