- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
The paper studies the problem of undertraining low-frequency/rare tokens in an LLM vocabulary and proposes the TIDE architecture design modification to LLMs. TIDE comprises a collection of K embedding tables (called MemoryBlocks), each of which has trainable embeddings per LLM vocab token. Thus, for each token in the context, TIDE collects K vectors from these MemoryBlocks, does a weighted aggregation, and adds to the residual connections of an LLM decoder block. The authors provide theoretical and experimental results to showcase the benefits of TIDE in reducing cross-entropy loss (language modeling) and improving accuracy in QA tasks of Llama-based LLMs.
Strengths and weaknesses
Strengths
- The paper is clearly written and studies the problem of rare tokens being undertrained in LLMs. The presentation of theoretical results also helped in an intuitive understanding of the problem.
- The paper presents various analyses of the token embeddings in a mechanistic interpretability style approach, while the experimental results focus on the validation cross-entropy loss and the downstream QA accuracy of LLMs.
Weaknesses
- I did not understand why solving this problem is important. I read the related work, but it is written in a way that merely describes prior work, without positioning TIDE in the context of the problem, explaining its importance, or showing how previous approaches have failed. Minor comment: It is also misleading to present the K embedding lookup tables in the paper as memory modules when their role is focused on discriminating tokens.
- Fundamentally, it is known that natural language has a structure that requires few tokens to occur more frequently than the rest. So the analysis on rare embeddings having smaller norms is also not surprising/novel.
- Details about the training setup are unclear as the authors do not mention how the model was trained for evaluating its downstream QA performance. Since validation loss is specific to a dataset, it is also unclear from the results how the model would behave when trained on standard pretraining corpora like Pile, C4 etc. Furthermore, it is also unclear which series of Llama model is being used here? Is it Llama-3.1? What is the Llama-Base with 750 million params that the authors report in Table 2? Overall, I am a bit skeptical of the results due to the lack of these details. I am asking to double check because the only detail I found was in the limitations section that the training corpus in DCLM.
Questions
- Why restrict the analysis to Llama models? Curious to know the author's perspective on this, because there are better open source models available now.
- Why consider base models and not capable finetuned models? This also adds to my point above on the importance of solving this problem. What can base models provide that finetuned models can't?
- It is interesting that the K memory blocks did not collapse and retain some diversity in their subspaces. Any intuition for why this is the case, even without any diversity loss?
- What is the percentage of rare tokens in the training and val split of wikitext, pubmed, and dclm? How do rare tokens benefit downstream QA tasks?
- What are some follow-up research directions of this work?
Limitations
yes
Paper formatting concerns
N/A
Final justification
The authors have addressed my queries and also clarified the experimental results.
We would first like to thank you for the detailed reading and your appreciation for theoretical results. It appears to us that your concerns stem from some clarity and positioning gaps in our writing, which we commit to correcting in the camera-ready. We will now address each point-by-point below:
We appreciate the reviewer's directness and would respectfully like to emphasize that the rare token problem is highly relevant to training modern transformers on massive pre-training datasets, where such tokens require special handling. Rare tokens—including named entities, technical terms, medical and legal terminology, numeric tokens, and code identifiers—are precisely where LLMs tend to underperform and hallucinate most frequently. The rare token problem is critical because the embeddings for rare tokens are undertrained due to gradient starvation: the model fails to capture their true semantics and instead resorts to superficial morphological clustering, such as grouping words merely by their '-ly' suffix (Table 6, Appendix K). Furthermore, as shown in Figure 2, distinct rare tokens such as 'ibuprofen' and 'acetaminophen' are overwhelmed by surrounding context and become effectively indistinguishable (their distance converges to zero) across the majority of layers.
Given the importance of this problem, we agree that the related work section would benefit from additional background to better situate our contribution. To clarify the distinction: prior approaches share a common single-injection assumption, in which token identity is introduced only at the first layer. We argue that this is a fundamental structural limitation rather than an incidental design choice—injecting identity solely at the input cannot prevent the progressive erosion of token-identity information across deep forward passes. TIDE is designed specifically to address this failure mode by injecting token identity at every layer, thereby preserving identity information throughout the network. We will expand the related work section in the final version to make this contrast explicit, giving readers clearer context on why existing methods fall short and how TIDE overcomes their limitations. We thank the reviewer for feedback that helps us strengthen the paper's framing.
Again, across our paper results and discussion, we aim to position how TIDE architecture design can effectively benefit rare-tokens. During rebuttal we conducted additional experiments with two new architectural settings: (a) LLaMa-WideEMB with scaled embed_dim = (K + 1)V / (V + D) as suggested by cAZ7 to match TIDE-8E-1B parameters; (b) LLaMa-WideFFN with increased FFN expansion ratio across all layers to match TIDE-8E-1B. Our results are presented below:
We summarize our key findings that additionally supports our positioning of TIDE architecture to address rare-token problem:
LLaMa-WideEMB which have proportionally enlarged embedding table doesn't benefit to match TIDE-8E-1B doesn't benefit in notable capacity with overloaded embedding parameters. On the contrary, mean cross-entropy loss for rare tokens show slightly deterioration - which it was supposed to benefit.
LLaMa-WideFFN-3B design which increases the in-memory model capacity as well as FLOPs count by approx. 4x achieves relatively superior performance than TIDE-8E-1B across both Wikitext and PubMed. Some interesting observations to note:
We use "memory" in the sense of semantic memory which is a persistent, identity-indexed storage of learned per-token features in contrast to episodic memory (retrieval of prior tokens or documents, e.g., Retro https://arxiv.org/abs/2112.04426, kNN-LM https://arxiv.org/abs/1911.00172, RAG https://arxiv.org/abs/2005.11401). This is a widely adopted standard usage across multiple prior works such as MemoryLLM, STEM, and MoLE. We commit to adding a clarifying sentence in of the camera-ready tying EMBEDDINGMEMORY explicitly to semantic memory and contrasting it with retrieval-based memory to avoid confusion.
We would like to respectfully highlight that to the best of our knowledge, this work uniquely positions itself by formalizing rare-token mechanism with derived quantitative bounds, establishing contextual collapse relationship FFN with bounded Lipschitz constant with empirical results, and providing an architectural remedy with theoretical guarantees at modern-scale LLMs. We would kindly request the reviewer to provide additional missing references and we commit to appropriately cite them within our camera-ready version.
We sincerely apologize for our experimental training settings to Appendix M (please refer to that). We clarify additional details below and commit to adding an explicit paragraph with details in the camera-ready.
Architecture: LLAMA-BASE is a LLaMa-3.1-style transformer (RMSNorm, SwiGLU-gated FFN, RoPE, GQA) that we pretrained from scratch at the specified scale (750M, 1B, 3B parameters). It is NOT a publicly released Meta checkpoint but a like-for-like base architecture that we train-from-scratch and control fully so that comparisons to TIDE are clean.
Training corpus: DCLM-baseline-1.0 (https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0) which is a 4T token / 3B document pre-training dataset derived from Common Crawl. Not Pile, not C4.
Downstream tasks: evaluated zero-shot on the end-of-pretraining checkpoint via LM-Eval-Harness.
In addition, regarding your concern about validation loss being "specific to a dataset", we would like to highlight that our evaluation suite distinct held-out corpora (WikiText, PubMed, DCLM held-out) covering domain-general text, biomedical text, and web text respectively (Fig 7).
LLaMa-3.1 is the current widely-used open-source reference for transformer research and its components (RMSNorm, SwiGLU, RoPE, GQA) are architecturally representative of modern LLMs including Qwen-3, Mistral, and Gemma-3. Our proposed method TIDE is architecture-agnostic where EmbeddingMemory cab be attached to any transformer block regardless of minor attention variant, FFN gating, etc. We chose LLaMa for its wide-popularity, simplicity and comparability with the closest prior work in this line such as (MemoryLLM, STEM).
The failure modes we targeted in our work which is gradient starvation and contextual collapse, are established during pre-training. Fine-tuning cannot recover representations for tokens whose base embeddings never received sufficient gradient signal. Moreover, majority of fine-tuning datasets are very small and potentially can cover only a fraction of rare-tokens as well as in majority of modern literature on fine-tuing is performed in LoRA-fashion which is not sufficient.
This is a great point. Our intuition suggests that TIDE architecture enforces independent per-layer router weights enabling a symmetry breakage if a memory block encodes signal useful at layer L1 but not at L2. The softmax router creates competitive routing pressure where if two blocks encode the same signal, the router can down-weight one without loss, and this asymmetry amplifies over training. Our Fig. 9 (inter-block cosine distances) and Fig. 10 (per-block specialization) confirm empirically that blocks converge as overlapping but not collapsed.
We computed rare-token fractions (Bins 0–2) per evaluation corpus, and list it as
We have listed our potential future research directions in Appendix L. An additional research direction we would point out is:
Note that EmbeddingMemory is computed once per forward pass (not once per layer), and thereby building a well-designed async prefetch inference pipeline with a VRAM-resident cache holding frequently-used embeddings can notably amortize the SSD round-trip for TIDE-based architecture. Some other ideas include memory coalescing based on token-usage pattern can further improve SSD retrival cost. Developing an efficient inference framework to fully capitalize the benefits of TIDE with leveraging SSD as scaling mechanism can be significantly useful.