- Rating
- 6
- Clarity
- 4
- Confidence
- 2
- Originality
- 4
- Quality
- 4
- Significance
- 3
Read review
Summary
This work studies the phenomenon of memorization in transformers, such as their ability to regurgitate a book verbatim given a few words. The authors do this in a restricted setup where completely random, unstructured binary sequences are given to two types of transformer architectures, and the models must predict the n+1 bit. The lack of structure ensures that the model cannot inadvertently generalize. The authors find, consistent with prior work, that memorization scales linearly with the number of parameters. They go on to show that larger models tend to memorize rarer sequences faster as well as learn new sequences faster midway through training. The authors term this "meta-memorization" or learning how to memorize faster. In a series of ablations/experiments, the authors show that the MLPs act as memory stores for the sequences and that the attention layers provide context to the MLPs to retrieve the correct memory. They finally put this together in a simple model of transformer meta-memorization based on dense associative memories. They show that their model recapitulates the observed behavior in transformers.
Strengths and weaknesses
Quality: This work is rigorous in its experimental design and evaluations.
Clarity: The paper is extremely well-written, properly discusses prior work, and each set of experiments intuitively follows based on the text.
Significance: Understanding the ability for transformers to memorize is important for safety research. In particular, this work provides a model for understanding this phenomenon in isolation. In the future, incorporating abstraction and generalization, another ability of transformers, into this framework will be critical for safety researchers seeking to maintain performance without leaking exploitable information.
Originality: To the best of my knowledge, this work is the first to document and model the meta-memorization effect. The authors clearly discuss the prior work and how their work is positioned in the space.
Questions
- As I understand it, the DAM model explains meta-memorization as efficient coding for providing context to the key-value store. Did you examine the coding schemes learned by the model?
- Related to (1), how would you expect meta-memorization to change under a different data distribution (i.e. not binary sequence)?
Limitations
The authors discuss the limitations briefly in the conclusion, but I feel this can be done in more detail. Specifically, the limitations of the setup and the conclusions drawn from it are not sufficiently discussed.
Paper formatting concerns
None.
Final justification
As I mention in my rebuttal comments, I did not find the other reviewers' points compelling enough to lower my score. In particular, since no one noted any correctness issues at the end of the discussion period, differences in scores appear to boil down to an assessment of interestingness/novelty. I still believe this work studies an interesting phenomenon and does a good job providing a useful abstraction for it. My overall assessment remains unchanged.
We thank the reviewer for their detailed comments and their appreciation of our work. Here are our specific responses:
As I understand it, the DAM model explains meta-memorization as efficient coding for providing context to the key-value store. Did you examine the coding schemes learned by the model?
Related to (1), how would you expect meta-memorization to change under a different data distribution (i.e. not binary sequence)?
The authors discuss the limitations briefly in the conclusion, but I feel this can be done in more detail. Specifically, the limitations of the setup and the conclusions drawn from it are not sufficiently discussed.