Shared Memorization Structures in Transformers Revealed by Loss Curvature
Abstract
We characterize how memorization is represented in Transformer networks. We find that supervised memorization-removal models trained on a targeted set also suppress untargeted memorization, implying a shared representational structure for memorized data. Building on links between memorization and loss curvature, we show this structure is disentangled in weight space when expressed in the eigenbasis of the (K-FAC) Fisher information. Using this decomposition, we propose an unsupervised parameter-ablation method that outperforms a supervised method in suppression of memorization, yields more natural generations in LMs, and improves generalization in label-noisy ViTs. Our work expands the understanding of verbatim memorization in neural networks, and points to practical mitigation methods for suppressing it in trained models.
BibTeX
@inproceedings{merullo2025shared,
author = {Jack Merullo and Srihita Vatsavaya and Owen Lewis},
title = {{Shared Memorization Structures in Transformers Revealed by Loss Curvature}},
booktitle = {MechInterp @ NeurIPS},
year = {2025},
url = {https://openreview.net/forum?id=dqebPZUo2K},
}Ask Althea to put this paper to the test.
Loading related content...