NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Predicting and analyzing memorization within fine-tuned Large Language Models

Jérémie Dentan, Davide Buscaldi, Aymen Shabou, Vanier SoniaOpenReview 2025 · Submission to ICLR 2025 · Rejected

Abstract

Large Language Models have received significant attention due to their abilities to solve a wide range of complex tasks. However these models memorize a significant proportion of their training data, posing a serious threat when disclosed at inference time. To mitigate this unintended memorization, it is crucial to understand what elements are memorized and why. Most existing works provide a posteriori explanations, which has a limited interest in practice. To address this gap, we propose a new approach to detect memorized samples a priori in LLMs fine-tuned on classification tasks. This method is efficient from the early stages of training and readily adaptable to other classification settings, such as training vision models from scratch. Our method is supported by new theoretical results that we demonstrate, and requires a low computational budget. We obtain strong empirical results, paving the way for systematic inspection and protection of these vulnerable samples before memorization happens.
BibTeX
@misc{dentan2025predicting,
  author = {Jérémie Dentan and Davide Buscaldi and Aymen Shabou and Vanier Sonia},
  title = {{Predicting and analyzing memorization within fine-tuned Large Language Models}},
  year = {2025},
  url = {https://openreview.net/forum?id=XcSJ6hoc1O},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2025},
}

Loading related content...

Figure