- Rating
- 5
- Clarity
- 2
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper studies how ambiguity of the target distribution affects the memorization capacity and training dynamics of LLM. The authors first study the memorization capacity of a Hebbian-like constructed model and the target distribution is uniform across a size-k support set (the larger k, the more ambiguious) for every input prompt. The main message derived from theory is that the capacity is proportional to the model size and inversely proportional to k. Another message is that to memorize all possible size-k target distributions the embedding dimension must be at least 2k. Then the authors study the gradient flow (GF) dynamics and stochastic gradient descent (SGD) of a minimal logistic regression (directly optimize w.r.t. the logits) for a single input. For GF, large k would slow down the initial training. For SGD, large k would increase the expected KL-divergence gap from the deterministic GF. The authors also conduct experiments on a synthectic 3-gram dataset and partially verify the theory. They also evaluate how ambiguity affects OLMo-2 1B model on Dolma v1.7 corpus, using a OLMo-2 13B model to approximately output the target distribution.
Strengths and weaknesses
Strength:
- I appreciate the authors for trying to be comprehensive on the theoretical analysis -- they try to cover both the memorization capacity scaling law of a construction and the training dynamics of a logit model.
- The technical observation used in the proof is interesting: a Hebbian model memorizing all possible size-k distribution is equivalent to a convex polytope being k-neighborly.
- The authors also try to verify their theory in a real LLM.
Weakness:
- Some explainations on the theory is not clear/confusing.
- The simplifying assumptions (e.g., simplfied model architecture, single input for training dynamics) made in theory, but I understand that some of them are hard to avoid.
- The experimental verification for the theory is not complete enough.
See questions for details.
Questions
- In line 126, what are the "modes" of a target distribution? The word "mode" is confusing and it could be mis-interpreted as there are in total modes of the target distribution. Similarly in line 109, is the embedding dimension but it is not defined in section 3.1. Also in line 124, "We show that h must grow at least linearly with the ambiguity level k". The statement feels incomplete and confusing, and it might be better to rephrased as "to represent all possible target distributions, h must grow at least linearly with the ambiguity level k".
- Is there an experiment-based version of Figure 1? The capacity inverse proportional to k can be justified by Figure 6, but I cannot find any figure justifying that the capacity is the proportional to model size (I'm aware that this is empirically verified in some non-ambiguous settings).
- From the proof in appendix, seems like the gradient flow and stochastic gradient descent in section 4 is w.r.t. the logits instead of the model parameters. If so, it would be good to make this clear in the beginning of section 4.
- In line 241, the effective support size is not defined/explained in the main paper.
- In Figure 4, are all lines in a panel corresponding to the same loss value or each corresponding to a different one?
Limitations
Yes.
Paper formatting concerns
The format looks fine.
Final justification
The authors promise to add experiments showing the model capacity w.r.t. the number of parameters, which address my major concern. The authors also promise to polish writing for better clarity. Therefore, I increased my score to 5.
We thank the reviewer for their time and for their positive review. They highlighted the comprehensiveness of the theoretical analysis and some of its technical observations, as well as the fact that we confront the theory with actual LLMs. They also raised concerns regarding clarity, the assumptions needed by the theory (while acknowledging that these are hard to avoid for such theoretical work), and the completeness of the experimental verification. We address these below, along with the requested clarifications.
Completeness of the empirical validation
The reviewer identified a gap in our experimental validation: we have not validated the parameter dependency of our capacity theorem. As the reviewer notes, this was demonstrated in previous work without ambiguity, but the interaction between the two warrants retesting. We will add the equivalent of Figure 6, showing capacity as a function of the number of parameters for k = 4 and k = 16. This also answers the question of whether there is an experiment-based version of Figure 1: the new panels cover its left panel, while the right one corresponds to Root 2, an expressivity result that we can only test indirectly, through the embedding-dimension ablation of Figure 4. On the simplifying assumptions, we would also note that the single-context reduction of Section 4 is relaxed empirically in Appendices C.2 and D.6, where a shared head is trained on many contexts of mixed ambiguity: the per-k predictions still hold below the capacity threshold, and the capacity picture takes over above it.
On the broader concern, we would gently note that testing our hypotheses is a hard empirical question, as it requires access to properties of the data that are not observable for natural language, and we have tried to get as close as the setting allows. This is why we combine two settings: the synthetic experiments give direct access to ambiguity levels and allow extensive ablation, while the real-world experiments test actual LLMs at the price of proxies for the quantities of interest. If the reviewer has suggestions for further validation, we would be glad to hear them and to run what we can during the discussion period.
Questions and suggestions
We hope these clarifications address the concerns of the reviewer, and in particular the clarity ones. If anything remains unclear or unconvincing, we would genuinely value knowing what it is, so that we can improve the paper. If instead the reviewer feels the concerns are now resolved, we would be grateful if they would consider revising their score accordingly.