- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes Memory Grafting, an efficient conditional memory scaling method that extracts and freezes hidden states of frequent n-grams from an offline grafting model. The recipient model retrieves these states via exact longest-match lookup and integrates them through gated residual updates, while retaining a hash-based Engram fallback to ensure full contextual coverage.
Strengths and weaknesses
Strengtjhs
- This paper completely avoids the substantial computational cost of optimizing enormous memory matrices from scratch by shifting the massive conditional memory construction to an offline phase and extracting stable hidden representations once.
- This paper strictly constrains the expected retrieval time complexity to through exact hash matching, allowing the model to significantly expand its external latent capacity while experiencing only a marginal drop in inference throughput, making it highly practical for latency-sensitive deployments.
Weakness
- The experimental results reveal that the success of this method depends heavily on the internal feature distribution of the external model. For instance, the deep-layer representations of GLM-4.7-Flash exhibit strong anisotropy, resulting in poorly discriminative memory and severely limited downstream performance gains.
- Despite the optimal time complexity, the spatial cost is significant. Extracting 3 million n-gram entries for a single layer from Qwen3.5-35B-A3B consumes approximately 12 GB of VRAM, and the dual-layer combination used in the main experiments introduces around 24 GB of additional VRAM overhead.
- As acknowledged in the limitations section, due to compute budget constraints, the paper lacks a head-to-head performance comparison with knowledge distillation under identical pre-training scales and token consumption budgets.
Questions
see in the weakness.
Limitations
yes
Paper formatting concerns
no
Final justification
After considering the authors’ rebuttal and the discussion, I am satisfied with the clarifications provided. While some minor issues remain, they do not substantially affect my overall assessment. I find the proposed approach novel and technically meaningful, and I appreciate the authors’ efforts in addressing the concerns. Therefore, I will maintain my positive score.
We thank the reviewer for the thoughtful questions. We respond to each point below.
W1 — Dependence on donor feature geometry. We agree that Memory Grafting inherits a dependence on the quality of the donor representations, as does any transfer method; distillation from a poorly calibrated teacher can likewise fail. Our contribution beyond observing this phenomenon is predictability. The geometric diagnostics in Appendix B.1, including effective rank, first-principal-component concentration, norm stability, and nearest-neighbor structure, are computed directly on the frozen memory table. They take only minutes and require no student training. These diagnostics cleanly distinguish the effective donors, Qwen3.5-35B-A3B and DeepSeek-V2-Lite, from the ineffective GLM-4.7-Flash donor. Extending the same diagnostics to extraction-layer selection is a natural next step that we will explore in the revision.
We also emphasize that the observed failure mode is mild. Even with the degraded GLM memory, Memory Grafting scores 45.83, still slightly above the MoE baseline at 45.62 and clearly above Vanilla Engram at 45.03. A poor donor removes the grafting benefit, but in this experiment it does not push the recipient below either baseline.
W2 — The 12 and 24 GB spatial cost. The paper-setting frozen memory bank occupies 24.576 GB of host RAM rather than VRAM. It has no bank-sized gradients, master-weight copy, or optimizer states, and only the rows hit by the current batch are transferred. Relative to a trainable Online Engram table resident on the accelerator, its persistent GPU-memory burden is therefore much smaller; host RAM also costs far less per GB than GPU HBM.
The host-to-GPU transfer uses the same sparse gather-and-transfer pattern as Engram's memory-offloading path: both transfer only the value rows hit by the current batch. For H hit rows with value dimension d, both have O(Hd) transfer complexity, independent of the total memory-bank capacity. This stage therefore has exactly the same asymptotic complexity and transfer-volume order as Engram and introduces no communication term that grows with bank capacity.
In an independent 4B systems-path benchmark, MG adds only 1.7–2.1 ms to the full forward pass after pipeline overlap, corresponding to 0.58–0.71%.
W3 — No head-to-head KD comparison at the same scale. We compare four 1B-scale runs trained for 50B tokens on a new mixed corpus (To address the
Reviewer 21s5concern about cross-corpus generalization): ① Vanilla Engram; ② Vanilla Engram + offline KD from Qwen3.5-35B-A3B; ③ Memory Grafting; and ④ Memory Grafting + the same offline KD. The MG runs use the paper's Qwen3.5 bank: 3M keys, values from donor layers 8 and 24, and injection at recipient layers 1 and 12. All four share the data order, seed, optimizer, training-token budget, and recipient-budget protocol.Methods ② and ④ use cached top-8 output targets from the same Qwen3.5-35B-A3B donor, aligned at exact decoded-prefix boundaries. At aligned positions, L=(1−α)LCE+αLKD with α=0.5 and T=1. The results show that Memory Grafting yields a larger gain than KD, while the two gains remain compatible: combining Memory Grafting with KD produces a further improvement. The paper's ablations provide complementary mechanism evidence: donor identity, extraction layer, and injection rule all change the result, while hit-position probes and CKA show that retrieved values alter recipient hidden states and predictions. Together, these results show that Memory Grafting is not merely generic teacher transfer.
Resources comparison between Offline KD and Memory Grafting
Top-8 offline KD stores eight
int32IDs and eightfloat16probabilities, or 48 bytes per token. Over 50B tokens, the payload is about 2.40 TB.Compared with offline KD, Memory Grafting requires substantially less additional storage and computation during pre-training, while incurring only a small overhead at inference.