potentialpaper

Memory Grafting: Scaling Language Model Pre-training via Offline Conditional Memory

Update NeurIPS 2026 submission nHzlhHtSTk: 10 notes

@openreview[bot] · 2026-11-24 15:55 UTC · 815dfeb7a8e1 ·

Evidence

reviews/openreview/nhzlhhtstk/notes/29cqx4dnng.json added

+++ b/reviews/openreview/nhzlhhtstk/notes/29cqx4dnng.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "29cQx4dNNG",
+ "replyTo": "N6XsQYIFLa",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you for the follow-up. We apologize that this was not sufficiently clear: **rows ② and ③ are exactly the direct, head-to-head comparison between KD and Memory Grafting**.\n\nMemory Grafting is built on the Vanilla Engram recipient rather than a different backbone. It retains the trainable hash-based Engram path as the fallback for memory misses and adds a frozen, donor-derived offline memory for exact n-gram hits. Therefore, row ② is **Vanilla Engram + KD, without MG**, while row ③ is **the Engram-based recipient + Memory Grafting, without KD**. Both use the same Qwen3.5-35B-A3B donor, data order, random seed, optimizer, 50B-token budget, and matched trainable and activated recipient-parameter budgets.\n\nThe direct comparison is:\n\n- **KD (row ②): 43.2** average score, a **+1.1** gain over Vanilla Engram.\n- **Memory Grafting (row ③): 45.2** average score, a **+3.1** gain over Vanilla Engram.\n\nTherefore, **Memory Grafting directly outperforms offline KD by 2.0 average points** under the controlled setting. Row ④ is included separately only to show that MG and KD can also be combined."
+ },
+ "createdAt": "2026-08-03T10:43:28.696Z",
+ "modifiedAt": "2026-11-19T16:49:19.786Z",
+ "url": "https://openreview.net/forum?id=nHzlhHtSTk&noteId=29cQx4dNNG",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nhzlhhtstk/notes/byejma3wxc.json added

+++ b/reviews/openreview/nhzlhhtstk/notes/byejma3wxc.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "ByEjma3WXC",
+ "replyTo": "oS8NnAnWBg",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Looking forward to your reply (less than 48 hours)",
+ "comment": "Dear reviewer Pjyf,\n\nWe hope our responses have adequately addressed your previous concerns. The discussion period is approaching the end in 48 hours. If you have any additional comments or questions, please feel free to share them. Your feedback is greatly appreciated.\n\nSincerely,\n\nAuthors"
+ },
+ "createdAt": "2026-08-02T15:27:29.705Z",
+ "modifiedAt": "2026-11-19T16:49:20.137Z",
+ "url": "https://openreview.net/forum?id=nHzlhHtSTk&noteId=ByEjma3WXC",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nhzlhhtstk/notes/d3xtgklqwe.json added

+++ b/reviews/openreview/nhzlhhtstk/notes/d3xtgklqwe.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "d3XTgkLQWe",
+ "replyTo": "Pj7gF1A1qb",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you again for your thoughtful follow-up and positive assessment. We sincerely appreciate the time you devoted to carefully reading our work and engaging with our response."
+ },
+ "createdAt": "2026-08-04T02:53:08.145Z",
+ "modifiedAt": "2026-11-19T16:49:19.540Z",
+ "url": "https://openreview.net/forum?id=nHzlhHtSTk&noteId=d3XTgkLQWe",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nhzlhhtstk/notes/fqg1lk1uvm.json added

+++ b/reviews/openreview/nhzlhhtstk/notes/fqg1lk1uvm.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "fQG1lK1uVM",
+ "replyTo": "Slt8Q7qRpG",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Meta Review",
+ "comment": "We sincerely thank the AC for the thoughtful and constructive questions. We appreciate the opportunity to clarify these important points and respond to each of them below.\n\n### Q1. What evidence shows that the gains are specific to Memory Grafting rather than generic teacher transfer?\n\nWe compare four 1B-scale runs trained for 50B tokens on a new mixed corpus (To address the ``Reviewer 21s5 ``concern 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.\n\n| Method | ARC-C | ARC-E | BoolQ | SIQA | RACE | LAMBADA | WinoG | PIQA | HellaS | Avg. |\n|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|\n| ① Vanilla Engram | 29.9 | 59.5 | 61.8 | 38.2 | 27.1 | 19.1 | 50.6 | 61.6 | 31.1 | 42.1 |\n| ② Vanilla Engram + KD | 30.5 | 60.2 | 61.9 | 39.3 | 28.3 | 20.7 | 50.9 | 63.2 | 33.8 | 43.2 |\n| ③ Memory Grafting | 30.8 | 63.5 | 57.7 | 39.6 | 29.7 | 29.1 | 50.7 | 69.4 | 36.4 | 45.2 |\n| ④ Memory Grafting + KD | 31.2 | 65.6 | 57.3 | 40.5 | 30.9 | 31.1 | 51.0 | 70.7 | 37.2 | **46.2** |\n\nMethods ② and ④ use cached top-8 output targets from the same Qwen3.5-35B-A3B donor, aligned at exact decoded-prefix boundaries. At aligned positions, $\\mathcal L=(1-\\alpha)\\mathcal L_{\\mathrm{CE}}+\\alpha\\mathcal L_{\\mathrm{KD}}$ with $\\alpha=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.\n\n**Resources comparison between Offline KD and Memory Grafting**\n\nTop-8 offline KD stores eight `int32` IDs and eight `float16` probabilities, or 48 bytes per token. Over 50B tokens, the payload is about 2.40 TB.\n\n| Resource | Top-8 offline KD | Paper-setting Qwen3.5 MG bank | Ratio of KD to MG |\n|---|---:|---:|---:|\n| Donor-forward position-volume proxy | about 50B corpus positions | 9M selected-key positions across 3M keys | about 5,600× |\n| Stored label or value payload | about 2.40 TB | 24.576 GB for the dual-layer value bank | about 98× |\n\nCompared with offline KD, Memory Grafting requires substantially less additional storage and computation during pre-training, while incurring only a small overhead at inference.\n\n\n### Q2. What resources are actually matched?\n\nWe further clarify the extent to which resources are matched in our experiments. The marginal resource accounting has five components:\n\n- **Training data and token budget: Matched.** All four methods use the same data order and 50B training tokens.\n- **Trainable- and activated-parameter budgets: Matched.** Under the paper's recipient-budget protocol, the 1B-scale comparisons use about 0.92B trainable parameters and 0.29B activated parameters. The frozen MG bank is not included in the trainable-parameter count and is accounted for separately below.\n- **Recipient training : Approximately matched; inference path: small overhead in an independent benchmark.** Training GPU-hours and peak GPU memory are approximately matched across the four runs. At inference, The memory bank remains in host RAM (24.576 GB) and only hit rows enter the GPU. With overlap, replacing one Online Engram layer only adds 0.58–0.71% to the full forward in a separate 4B systems benchmark.\n- **Donor precomputation: Not matched, but MG is far smaller than offline KD.** Offline KD runs Qwen3.5 over about 50B corpus positions, whereas MG extracts only 9M selected-key positions. MG therefore uses about 1/1560 of KD's donor-forward position volume, or 0.018%. \n- **Offline artifact storage: Not matched, but MG is much smaller.** The top-8 KD data is about 2.40 TB to store, whereas the dual-layer MG bank is 24.576 GB, about 1/98 as large. \n\nTherefore, relative to Vanilla Engram, Memory Grafting preserves the data, token, and trainable-parameter budgets while adding little recipient-training GPU time or GPU-memory pressure. Its **marginal** donor position volume and offline payload are also far below offline KD—about 0.018% and one ninety-eighth, respectively, under the stated configurations. These results show that Memory Grafting is an efficient pre-training approach."
+ },
+ "createdAt": "2026-07-31T02:08:57.923Z",
+ "modifiedAt": "2026-11-19T16:49:20.325Z",
+ "url": "https://openreview.net/forum?id=nHzlhHtSTk&noteId=fQG1lK1uVM",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nhzlhhtstk/notes/jilougwwuh.json added

+++ b/reviews/openreview/nhzlhhtstk/notes/jilougwwuh.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "JiLOUGWwUh",
+ "replyTo": "yrS3oguj6G",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you very much for your follow-up and for reconsidering your assessment. We sincerely appreciate your thoughtful feedback and the time you devoted to the discussion."
+ },
+ "createdAt": "2026-08-04T02:49:26.831Z",
+ "modifiedAt": "2026-11-19T16:49:19.553Z",
+ "url": "https://openreview.net/forum?id=nHzlhHtSTk&noteId=JiLOUGWwUh",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nhzlhhtstk/notes/p1rfgvwwyc.json added

+++ b/reviews/openreview/nhzlhhtstk/notes/p1rfgvwwyc.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "p1rFGvWwyC",
+ "replyTo": "I01jTymViY",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Looking forward to your reply (less than 24 hours)",
+ "comment": "Dear reviewer 21S5,\n\nWe hope our responses have adequately addressed your previous concerns. The discussion period is approaching the end in 24 hours. If you have any additional comments or questions, please feel free to share them. Your feedback is greatly appreciated.\n\nSincerely,\n\nAuthors"
+ },
+ "createdAt": "2026-08-04T02:28:28.007Z",
+ "modifiedAt": "2026-11-19T16:49:19.683Z",
+ "url": "https://openreview.net/forum?id=nHzlhHtSTk&noteId=p1rFGvWwyC",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nhzlhhtstk/notes/pj7gf1a1qb.json added

+++ b/reviews/openreview/nhzlhhtstk/notes/pj7gf1a1qb.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "Pj7gF1A1qb",
+ "replyTo": "lvo9yqDky0",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer ZQea",
+ "content": {
+ "title": "Response to authors",
+ "comment": "Thank you for your detailed response and clarification. I appreciate the authors’ efforts in addressing my concerns. The response has sufficiently clarified the issues I raised, and I will therefore maintain my positive score."
+ },
+ "createdAt": "2026-07-30T13:26:00.643Z",
+ "modifiedAt": "2026-11-19T16:49:19.857Z",
+ "url": "https://openreview.net/forum?id=nHzlhHtSTk&noteId=Pj7gF1A1qb",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nhzlhhtstk/notes/slt8q7qrpg.json modified

+++ b/reviews/openreview/nhzlhhtstk/notes/slt8q7qrpg.json
@@ -5,11 +5,12 @@
"kind": "meta_review",
"invitation": "Meta_Review",
"signature": "Area Chair tHVS",
"content": {
- "metareview": "This paper proposes Memory Grafting, which constructs a frozen n-gram memory from a pre-trained donor’s hidden states and injects retrieved representations into a smaller recipient through exact matching, adaptive gating, and an Engram fallback.\n\nThe main strengths are a clear and practically motivated idea, reasonably controlled recipient-side comparisons, consistent improvements over MoE and vanilla Engram at two model scales, and useful analyses of the retrieval mechanism, donor layers, memory capacity, and representation geometry.\n\nThe central weakness is that the experiments do not isolate the benefit of the proposed mechanism from the more general benefit of using representations from a much larger pretrained model. As noted by Pjyf, 21S5, and ZQea, there is no comparison with distillation or another teacher-transfer method using the same donor. Resource accounting is also incomplete: the methods are matched in recipient-side trainable and activated parameters, but Memory Grafting adds a large frozen memory bank that is excluded from the main parameter comparison.\n\nThe author response should prioritize the following questions:\n\n1. What evidence shows that the gains are specific to Memory Grafting rather than generic teacher transfer? Where do the gains really come from? Is it because of the Memory Grafting design, or simply because the model gets representations from a much larger teacher? Any existing small-scale comparison with offline distillation or feature transfer using the same donor would help.\n2. What resources are actually matched? Please clarify whether the reported “total parameters” exclude the frozen memory bank. Also separate trainable parameters, activated parameters, extra frozen storage, where the memory is stored, offline construction cost, and whether this cost can be shared across multiple training runs.\n\n---\n\nThe response addressed the two main weaknesses in my initial meta-review to a meaningful degree. The authors added a controlled comparison using the same donor, data order, training budget, and recipient budget. Vanilla Engram scores 42.1, offline KD scores 43.2, Memory Grafting scores 45.2, and combining MG with KD scores 46.2. This directly supports that the gain is not only generic teacher transfer. Pjyf considered this major concern addressed and increased the score from 3 to 4. ZQea also stated that the concerns were sufficiently clarified and maintained a positive score. Reviewer 21S5 did not provide a follow-up and remains at 3, so I do not interpret the silence as agreement.\n\nThe authors also clarified that the 24.576 GB frozen bank is stored in host RAM, and provided extraction-cost and systems measurements. However, the full lifecycle is still not strictly FLOP-matched, and the new cross-corpus experiment uses proprietary data without variance reporting. Donor dependence and practical deployment cost therefore remain limitations.\n\nThe method is a useful and reasonably original way to reuse pretrained representations, and the new KD comparison, together with the existing mechanism ablations, addresses the main decision-critical concern."
+ "metareview": "This paper proposes Memory Grafting, which constructs a frozen n-gram memory from a pre-trained donor’s hidden states and injects retrieved representations into a smaller recipient through exact matching, adaptive gating, and an Engram fallback.\n\nThe main strengths are a clear and practically motivated idea, reasonably controlled recipient-side comparisons, consistent improvements over MoE and vanilla Engram at two model scales, and useful analyses of the retrieval mechanism, donor layers, memory capacity, and representation geometry.\n\nThe central weakness is that the experiments do not isolate the benefit of the proposed mechanism from the more general benefit of using representations from a much larger pretrained model. As noted by Pjyf, 21S5, and ZQea, there is no comparison with distillation or another teacher-transfer method using the same donor. Resource accounting is also incomplete: the methods are matched in recipient-side trainable and activated parameters, but Memory Grafting adds a large frozen memory bank that is excluded from the main parameter comparison.\n\nThe author response should prioritize the following questions:\n\n1. What evidence shows that the gains are specific to Memory Grafting rather than generic teacher transfer? Where do the gains really come from? Is it because of the Memory Grafting design, or simply because the model gets representations from a much larger teacher? Any existing small-scale comparison with offline distillation or feature transfer using the same donor would help.\n2. What resources are actually matched? Please clarify whether the reported “total parameters” exclude the frozen memory bank. Also separate trainable parameters, activated parameters, extra frozen storage, where the memory is stored, offline construction cost, and whether this cost can be shared across multiple training runs.\n\n---\n\nThe response addressed the two main weaknesses in my initial meta-review to a meaningful degree. The authors added a controlled comparison using the same donor, data order, training budget, and recipient budget. Vanilla Engram scores 42.1, offline KD scores 43.2, Memory Grafting scores 45.2, and combining MG with KD scores 46.2. This directly supports that the gain is not only generic teacher transfer. Pjyf considered this major concern addressed and increased the score from 3 to 4. ZQea also stated that the concerns were sufficiently clarified and maintained a positive score. Reviewer 21S5 did not provide a follow-up and remains at 3, so I do not interpret the silence as agreement.\n\nThe authors also clarified that the 24.576 GB frozen bank is stored in host RAM, and provided extraction-cost and systems measurements. However, the full lifecycle is still not strictly FLOP-matched, and the new cross-corpus experiment uses proprietary data without variance reporting. Donor dependence and practical deployment cost therefore remain limitations.\n\nThe method is a useful and reasonably original way to reuse pretrained representations, and the new KD comparison, together with the existing mechanism ablations, addresses the main decision-critical concern.",
+ "final_justification": "The new same-donor comparison shows that Memory Grafting outperforms offline KD under matched recipient and training budgets, directly addressing the main concern in the initial meta-review. Pjyf increased the score from 3 to 4, and ZQea maintained a positive score after the clarification. Although 21S5 remained at 3 without follow-up, the substantive concerns about KD comparison, resource accounting, robustness, and n-gram construction were directly answered.\n\nSome limitations remain regarding full lifecycle cost, proprietary evaluation data, donor dependence, and deployment evidence, but I do not think they outweigh the paper’s contribution."
},
"createdAt": "2026-07-14T13:21:40.998Z",
- "modifiedAt": "2026-11-18T15:18:04.453Z",
+ "modifiedAt": "2026-11-19T04:58:53.972Z",
"url": "https://openreview.net/forum?id=nHzlhHtSTk&noteId=Slt8Q7qRpG",
"license": "CC-BY-4.0"
}

reviews/openreview/nhzlhhtstk/notes/yrs3oguj6g.json added

+++ b/reviews/openreview/nhzlhhtstk/notes/yrs3oguj6g.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "yrS3oguj6G",
+ "replyTo": "29cQx4dNNG",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer Pjyf",
+ "content": {
+ "comment": "Thanks for the clarification, I am happy with the rebuttal in general, I am increasing the score to 4."
+ },
+ "createdAt": "2026-08-03T13:48:37.434Z",
+ "modifiedAt": "2026-11-19T16:49:19.684Z",
+ "url": "https://openreview.net/forum?id=nHzlhHtSTk&noteId=yrS3oguj6G",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nhzlhhtstk/notes/ysi4voh1vt.json added

+++ b/reviews/openreview/nhzlhhtstk/notes/ysi4voh1vt.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "ySi4Voh1vt",
+ "replyTo": "N6XsQYIFLa",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer Pjyf",
+ "content": {
+ "comment": "Thanks for the detailed response and apologies for the late reply. From what I understand, the benefits of MG over Vanilla Engram come from the better representation of the donor model. KD is another approach that has similar effect, and the authors show that MG and KD combine. This is helpful. My remaining question is that why the authors didn't go for a direct, head-to-head comparison of MG and KD to show whether MG outperforms KD, could the authors clarify?"
+ },
+ "createdAt": "2026-08-03T10:20:19.594Z",
+ "modifiedAt": "2026-11-19T16:49:19.802Z",
+ "url": "https://openreview.net/forum?id=nHzlhHtSTk&noteId=ySi4Voh1vt",
+ "license": "CC-BY-4.0"
+}