Memorization in Language Models through the Lens of Intrinsic Dimension
- PILM

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 arXiv@article{arnold2025_2506.09591, title={ Memorization in Language Models through the Lens of Intrinsic Dimension }, author={ Stefan Arnold }, journal={arXiv preprint arXiv:2506.09591}, year={ 2025 } }