Memorization in Language Models through the Lens of Intrinsic Dimension

Stefan Arnold
6/11/2025
cs.CL

No confident code implementation found for this paper.

Abstract

Language Models (LMs) are prone to memorizing parts of their data during training and unintentionally emitting them at generation time, raising concerns about privacy leakage and disclosure of intellectual property. While previous research has identified properties such as context length, parameter size, and duplication frequency, as key drivers of unintended memorization, little is known about how the latent structure modulates this rate of memorization. We investigate the role of Intrinsic Dimension (ID), a geometric proxy for the structural complexity of a sequence in latent space, in modulating memorization. Our findings suggest that ID acts as a suppressive signal for memorization: compared to low-ID sequences, high-ID sequences are less likely to be memorized, particularly in overparameterized models and under sparse exposure. These findings highlight the interaction between scale, exposure, and complexity in shaping memorization.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{arnold2025memorization,
  title  = {Memorization in Language Models through the Lens of Intrinsic Dimension},
  author = {Stefan Arnold},
  year   = {2025},
  eprint = {2506.09591},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.09591v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.09591.svg)](https://codeofpaper.com/paper/2506.09591)

Discussion