- Rating
- 5
- Clarity
- 4
- Confidence
- 4
- Originality
- 3
- Quality
- 4
- Significance
- 3
Read review
Summary
The authors introduce GEM (Geometric Embedding Mixture), which adds an extra loss term to the LM loss that aligns the final hidden state with a weighted sum of unembeddings (based on the model's own top-k predicted tokens). This approach improves language modeling perplexity for several model sizes and creates more isotropic and semantically-interpretable embedding spaces, also seeming to help with logit lens-style interpretability.
Strengths and weaknesses
Strengths:
- The fact that GEM improves language modeling perplexity so much is impressive. This seems like something worth testing in larger models and in more settings, and thus would be a helpful contribution to the community.
- The author's section on geometry of the resulting embeddings is interesting and thorough--I appreciate the measures of isotropy and neighborhood structure.
- I appreciate the balance of theoretical, quantitative, and qualitative argumentation in this paper.
Weaknesses:
- The main weakness is the fact that tuned lens is "better" at early decoding in Table 4, which is somewhat disappointing given the initial motivation of making more interpretable hidden states. However, this is not a fatal issue to me: the hope of logit lens is to reveal internal "reasoning," which is different from early exit next-token decoding. Tuned Lens is explicitly trained for this task, so it of course will have higher accuracy, but that is not necessarily desirable. Perhaps a qualitative comparison of Tuned Lens with GEM-logit lens could illustrate that GEM offers more insight into model computation.
- Nitpick for 2.3.5: this is only true for models with tied embeddings, no? Do you test GEM on any models with untied embeddings?
Questions
- Is this regularization roughly similar to completely removing the softmax step and directly calculating loss with raw logits? (I'm not sure if this is even trainable in practice.) Some intuition tells me that perhaps softmax is desirable because it allows for the hidden states and unembeddings to live in different spaces. I wonder whether we lose out on some advantage by adding this GEM term.
- Have you read/considered Park et al (2023)? Your argument on lines 113-121 seems related to Park et al.'s work on the alignment between the last hidden state and unembedding matrix. How does that relate to your work?
- It would strengthen the paper to get concrete numbers for the vector analogies in Appendix F. You could use the original word2vec dataset from Mikolov et al. (2013) and calculate accuracy based on whether the nearest neighbor is the desired word.
- The qualitative examples in Appendix F are helpful contributions from an interpretability perspective. I wonder about the framing that GEM allows us to trace the model's "thought process" with greater fidelity -- that is likely true, but it could also be the case that the baseline model actually does drift more than the GEM model. It is difficult to say for sure in this setting; do you have intuition?
Limitations
Yes
Paper formatting concerns
None
Final justification
I maintain my positive score, especially given the extra experiments and discussion.
Thank you for the detailed review. We conducted additional experiments addressing scale and interpretability. We will also clarify the EBM framing, layer aggregation, and limitations.
1. Scale beyond 760M and diminishing gains
The implemented GEM loss is normalized over embedding dimensions as it uses the MSE loss from PyTorch. It therefore does not grow as O(d) with model width. In the paper's squared-norm notation, the effective coefficient is λ/d. We will correct the equation to make this explicit.
The submitted endpoints also confound scale with training stage. The 135M, 360M, and 760M models receive 5B, 10B, and 20B tokens, corresponding to D/N=37.2,27.6,26.3. We evaluated 70 intermediate checkpoints and compared models at matched D/N. At D/N≈20, the LAMBADA GEM gains in NLL are 0.375, 0.558, and 0.460 across 135M, 360M, and 760M. The WikiText gains are 0.102, 0.092, and 0.094. Thus, neither metric decreases monotonically with model size once training stage is controlled.
The submitted endpoint trend is therefore partly explained by unequal D/N and diminishing headroom. Larger baselines already learn stronger vocabulary geometry, while bounded accuracy and decoding metrics leave less room for improvement. We interpret this as diminishing marginal benefit, not dimensional saturation. We do not fit or extrapolate a scaling law from three sizes.
Following your suggestion, we also evaluated a 1.7B model trained on 20B tokens using the same k=8 and λ=0.05, without scale-specific retuning. The table follows the organization and metric conventions of Table 1.
GEM reduces LAMBADA perplexity by 44.04% and WikiText perplexity by 15.71%. Its point estimate improves on six of seven downstream tasks, and the average increases by 2.64 points with a 95% CI of [1.96, 3.33]. Significant gains include LAMBADA +6.91, HellaSwag +5.57, ARC-e +3.62, and PIQA +2.45 points.
These results show that GEM's predictive, downstream, and representation-level benefits can persist beyond the sub-billion regime. Together with the matched-D/N analysis, they provide no evidence of a monotonic disappearance with scale. We will nevertheless limit our empirical claim to the evaluated range of 135M–1.7B and avoid extrapolating to substantially larger LLMs.
2. Interpretability beyond direct decodability
We agree that Direct decoding alone is insufficient. We therefore added three systematic tests.
First, following the suggested causal criterion, we decoded the top-8 tokens at early, middle, and late depths, suppressed their output-embedding subspace, and ran the unchanged remaining layers. Controls used equal-rank subspaces formed from ranks 9–16, frequency-and-norm-matched tokens, semantic neighbors, and random directions. Each scale uses 2,000 token positions from 500 documents, with document-bootstrap confidence intervals. Within GEM, decoded suppression causes a larger endpoint change in all 36 of 36 conditions (3 scales × 3 depths × 4 controls). The token-control result remains robust under alternative intervention matching. This shows that GEM's decoded tokens identify vocabulary content used by subsequent computation, rather than merely readable labels.
Second, we tested whether final-state regularization affects earlier representations. At each depth, we measured the hidden-state energy in the input-embedding span of the decoded top-8 tokens relative to the span of tokens ranked 9–16. GEM improves this matched-span alignment over the baseline in all 9 of 9 scale-by-depth comparisons. At the early 760M depth, it increases from 0.0277 to 0.0883, a 3.2× increase.
Third, we reconstructed each intermediate state as its full probability-weighted token mixture and substituted it into the unchanged remaining network. GEM improves preservation of the original prediction by 9.4, 13.4, and 8.3 points at 135M, 360M, and 760M. These experiments establish causal relevance, propagation across depth, and downstream usability beyond LM-head compatibility.
3. EBM framing
We agree that the EBM connection should be presented as an interpretation, not as proof of performance or interpretability. The derivation identifies the GEM residual with a free-energy-gradient form and motivates the expected-embedding target. The practical method remains a geometric alignment objective and can stand independently on its convex-mixture interpretation. We will revise the text to distinguish established identities, motivation, and empirical claims, and more clearly credit prior EBM formulations of autoregressive models.
4. Layer aggregation and limitations
In Tables 4 and 5, the four depth ranges are computed as
For 135M (n=30), these are E=0:6, M=7:14, L=15:21, and F=22:29. For 360M and 760M (n=32), they are E=0:7, M=8:15, L=16:23, and F=24:31. The submitted tables computed F but did not display it, while Avg. averages all n layers. This explains why Avg. can exceed the displayed E/M/L values. We will add F and explicitly define every range.