Memory Grafting: Scaling Language Model Pre-training via Offline Conditional Memory
Import NeurIPS 2026 submission nHzlhHtSTk: 8 notes
@openreview[bot] · 2026-11-22 17:59 UTC · 93b6036b2721
.gitattributes added
+++ b/.gitattributes@@ -0,0 +1,10 @@+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text+/thumbnail.png filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text
.potentialpaper/metadata.json added
+++ b/.potentialpaper/metadata.json@@ -0,0 +1,30 @@+{+ "layout": 5,+ "identifiers": [+ {+ "scheme": "openreview",+ "value": "nHzlhHtSTk"+ }+ ],+ "title": "Memory Grafting: Scaling Language Model Pre-training via Offline Conditional Memory",+ "authors": [+ "Runxi Cheng",+ "Yuchen Guan",+ "Yongxian Wei",+ "Qianpu Sun",+ "Qixiu Li",+ "SiNan Du",+ "Feng Xiong",+ "Chun Yuan",+ "Yan Lu",+ "Yeyun Gong"+ ],+ "abstract": "Large language models acquire rich internal knowledge during pre-training, yet compact models are still typically forced to relearn such knowledge from raw data or imitate it indirectly through distillation. We investigate a different route: can pretrained knowledge itself be directly reused during pre-training? To this end, we propose Memory Grafting, a representation-level transfer paradigm that extracts structured memories from a large frozen donor model and injects them into a compact student throughout training. Unlike knowledge distillation, which transfers behavior through output alignment, or retrieval-based methods, which expose external knowledge only at inference time, Memory Grafting makes pretrained knowledge part of the student’s optimization process itself. This suggests that knowledge in large language models can be modular, transplantable, and reusable across scales, pointing to a new path toward more efficient language model pre-training.",+ "year": 2026,+ "venue": "NeurIPS 2026",+ "source": "openreview",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}
community/10-tl-dr.md added
+++ b/community/10-tl-dr.md
community/20-summary.md added
+++ b/community/20-summary.md
community/30-why-it-matters.md added
+++ b/community/30-why-it-matters.md
community/40-critique.md added
+++ b/community/40-critique.md
community/50-errata.md added
+++ b/community/50-errata.md
community/60-reproductions.md added
+++ b/community/60-reproductions.md
community/70-follow-ups.md added
+++ b/community/70-follow-ups.md
owners/10-tl-dr.md added
+++ b/owners/10-tl-dr.md
owners/20-overview.md added
+++ b/owners/20-overview.md
owners/30-results.md added
+++ b/owners/30-results.md
owners/40-demos.md added
+++ b/owners/40-demos.md
owners/50-code-and-data.md added
+++ b/owners/50-code-and-data.md
owners/60-talks.md added
+++ b/owners/60-talks.md
prek.toml added
+++ b/prek.toml@@ -0,0 +1,36 @@+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.+# The site checks every push again; these catch mistakes before you commit. The same on every page.++[[repos]]+repo = "builtin"+hooks = [+ { id = "check-json" },+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },+ { id = "end-of-file-fixer", exclude = '^demos/' },+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },+ { id = "check-case-conflict" },+ { id = "check-illegal-windows-names" },+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },+]++# Each JSON file against its schema (https://papers.potentialhedge.com/schemas/).+[[repos]]+repo = "https://github.com/python-jsonschema/check-jsonschema"+rev = "0.39.0"+hooks = [+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/authorPlugins.json"] },+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/venue.json"] },+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/topic.json"] },+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/org.json"] },+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/link.json"] },+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/version.json"] },+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/thumbnail.json"] },+]++# Sections formatted the way the web editor formats them.+[[repos]]+repo = "https://github.com/rbubley/mirrors-prettier"+rev = "v3.9.9"+hooks = [+ { id = "prettier", files = '^(owners|community)/.*\.md$' },+]
reviews/openreview/nhzlhhtstk/forms.json added
+++ b/reviews/openreview/nhzlhhtstk/forms.json@@ -0,0 +1,227 @@+{+ "schema": "forms/1",+ "forms": {+ "Meta_Review": {+ "label": "Meta-review",+ "fields": [+ {+ "key": "metareview",+ "label": "Meta-review",+ "type": "text"+ }+ ]+ },+ "Decision": {+ "label": "Decision",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "hidden": true+ },+ {+ "key": "decision",+ "label": "Decision",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ },+ {+ "key": "metareview",+ "label": "Meta-review",+ "type": "text"+ },+ {+ "key": "final_justification",+ "label": "Final justification",+ "type": "text"+ }+ ]+ },+ "Official_Comment": {+ "label": "Comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Public_Comment": {+ "label": "Public comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Withdrawal": {+ "label": "Withdrawal",+ "fields": [+ {+ "key": "withdrawal_confirmation",+ "label": "Confirmation",+ "hidden": true+ }+ ]+ },+ "Desk_Rejection": {+ "label": "Desk rejection",+ "fields": [+ {+ "key": "desk_reject_comments",+ "label": "Reason",+ "type": "text"+ }+ ]+ },+ "Official_Review": {+ "label": "Official review",+ "summary": [+ "rating",+ "confidence",+ "quality",+ "clarity",+ "significance",+ "originality"+ ],+ "fields": [+ {+ "key": "rating",+ "label": "Rating",+ "type": "score",+ "min": 1,+ "max": 6+ },+ {+ "key": "confidence",+ "label": "Confidence",+ "type": "score",+ "min": 1,+ "max": 5+ },+ {+ "key": "quality",+ "label": "Quality",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "clarity",+ "label": "Clarity",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "significance",+ "label": "Significance",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "originality",+ "label": "Originality",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "contribution_type",+ "label": "Contribution type",+ "type": "choice"+ },+ {+ "key": "summary",+ "label": "Summary",+ "type": "text"+ },+ {+ "key": "strengths_and_weaknesses",+ "label": "Strengths and weaknesses",+ "type": "text"+ },+ {+ "key": "questions",+ "label": "Questions",+ "type": "text"+ },+ {+ "key": "limitations",+ "label": "Limitations",+ "type": "text"+ },+ {+ "key": "final_justification",+ "label": "Final justification",+ "type": "text"+ },+ {+ "key": "paper_formatting_concerns",+ "label": "Formatting concerns",+ "type": "text"+ },+ {+ "key": "ethical_concerns",+ "label": "Ethical concerns",+ "type": "choice"+ },+ {+ "key": "code_of_conduct_acknowledgement",+ "label": "Code of conduct",+ "hidden": true+ },+ {+ "key": "responsible_reviewing_acknowledgement",+ "label": "Responsible reviewing",+ "hidden": true+ }+ ]+ },+ "Rebuttal": {+ "label": "Rebuttal",+ "fields": [+ {+ "key": "rebuttal",+ "label": "Rebuttal",+ "type": "text"+ }+ ]+ },+ "Ethics_Review": {+ "label": "Ethics review",+ "fields": [+ {+ "key": "scope_of_ethics_concerns",+ "label": "Scope",+ "type": "choice"+ },+ {+ "key": "ethics_review",+ "label": "Ethics review",+ "type": "text"+ }+ ]+ }+ },+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference",+ "license": "CC-BY-4.0"+}
reviews/openreview/nhzlhhtstk/notes/i01jtymviy.json added
+++ b/reviews/openreview/nhzlhhtstk/notes/i01jtymviy.json@@ -0,0 +1,31 @@+{+ "schema": "review/1",+ "id": "I01jTymViY",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer 21S5",+ "content": {+ "summary": "The work introduces memory grafting, a conditional-memory scaling method for language-model pretraining. The proposed method constructs an offline frozen memory bank from hidden states of a larger pretrained “grafting model.” Frequent local n-grams are selected, passed through the grafting model offline, and the resulting final-token hidden states are stored as memory values. The main results show that Memory Grafting improves average benchmark performance in both 2.8B and 0.9B settings. Additional analyses examines memory capacity, CKA alignment, and ablations of the gating/fallback mechanism.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "The proposed method preserves the appealing property of deterministic n-gram lookup while adding a representation-transfer component through frozen grafted memory. The paper includes useful ablations and analyses. The gating-mechanism ablation supports the design choice of longest-match gated memory with Engram fallback.\n\n1. The reported improvements are encouraging, but it remains unclear how robust the method is across different pretraining corpora, tokenizer choices, and model families. \n\n2. There is no direct comparison with knowledge distillation or other teacher-based transfer baselines. The absence leaves it unclear whether the observed gains come specifically from the proposed memory mechanism, or more generally from using large-model representations.\n\n3. The efficiency analysis would benefit from more systems details, Expected constant-time lookup is algorithmically plausible, but real deployment costs depend on memory bandwidth, distributed lookup implementation, and batch size etc. A more detailed latency and memory breakdown would better support the claim that the method scales efficiently.",+ "quality": 3,+ "clarity": 2,+ "significance": 3,+ "originality": 3,+ "questions": "The paper should explain more clearly how frequent n-grams are selected, with details include the corpus used for mining, whether n-grams are selected before or after filtering, how ties are handled etc.",+ "limitations": "Yes",+ "rating": 3,+ "confidence": 3,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "NA",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes"+ },+ "createdAt": "2026-06-25T15:23:21.378Z",+ "modifiedAt": "2026-11-18T13:34:42.101Z",+ "url": "https://openreview.net/forum?id=nHzlhHtSTk¬eId=I01jTymViY",+ "license": "CC-BY-4.0"+}
reviews/openreview/nhzlhhtstk/notes/iuoh11k3cy.json added
+++ b/reviews/openreview/nhzlhhtstk/notes/iuoh11k3cy.json@@ -0,0 +1,19 @@+{+ "schema": "review/1",+ "id": "Iuoh11K3cy",+ "replyTo": null,+ "kind": "decision",+ "invitation": "Decision",+ "signature": "Program Chairs",+ "content": {+ "title": "Paper Decision",+ "decision": "Accept (poster)",+ "comment": "",+ "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-09-24T11:15:50.744Z",+ "modifiedAt": "2026-11-18T14:52:05.238Z",+ "url": "https://openreview.net/forum?id=nHzlhHtSTk¬eId=Iuoh11K3cy",+ "license": "CC-BY-4.0"+}
reviews/openreview/nhzlhhtstk/notes/lvo9yqdky0.json added
+++ b/reviews/openreview/nhzlhhtstk/notes/lvo9yqdky0.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "lvo9yqDky0",+ "replyTo": "mvEOyleuDB",+ "kind": "comment",+ "invitation": "Rebuttal",+ "signature": "Authors",+ "content": {+ "rebuttal": "We thank the reviewer for the thoughtful questions. We respond to each point below.\n\n**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.\n\nWe 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.\n\n**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.\n\nThe 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.\n\nIn 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%.\n\n**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 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."+ },+ "createdAt": "2026-07-28T11:44:33.509Z",+ "modifiedAt": "2026-11-18T17:10:25.639Z",+ "url": "https://openreview.net/forum?id=nHzlhHtSTk¬eId=lvo9yqDky0",+ "license": "CC-BY-4.0"+}
reviews/openreview/nhzlhhtstk/notes/mveoyleudb.json added
+++ b/reviews/openreview/nhzlhhtstk/notes/mveoyleudb.json@@ -0,0 +1,32 @@+{+ "schema": "review/1",+ "id": "mvEOyleuDB",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer ZQea",+ "content": {+ "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.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "Strengtjhs\n1. 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.\n2. This paper strictly constrains the expected retrieval time complexity to $\\mathcal{O}(1)$ 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.\n\nWeakness\n1. 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.\n2. 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.\n3. 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.",+ "quality": 3,+ "clarity": 3,+ "significance": 3,+ "originality": 2,+ "questions": "see in the weakness.",+ "limitations": "yes",+ "rating": 4,+ "confidence": 4,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "no",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes",+ "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."+ },+ "createdAt": "2026-06-18T13:14:59.843Z",+ "modifiedAt": "2026-11-18T13:34:43.570Z",+ "url": "https://openreview.net/forum?id=nHzlhHtSTk¬eId=mvEOyleuDB",+ "license": "CC-BY-4.0"+}
reviews/openreview/nhzlhhtstk/notes/n6xsqyifla.json added
+++ b/reviews/openreview/nhzlhhtstk/notes/n6xsqyifla.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "N6XsQYIFLa",+ "replyTo": "oS8NnAnWBg",+ "kind": "comment",+ "invitation": "Rebuttal",+ "signature": "Authors",+ "content": {+ "rebuttal": "We sincerely thank the reviewer for the thoughtful and constructive questions. We respond to each point below.\n\n**W1 — The comparison is not FLOP-matched once the donor and frozen bank are included.** We agree that the full lifecycle is not FLOP-matched. However, the marginal cost of constructing and using the frozen bank is small. The current dual-layer, 3M-key bank occupies 24.576 GB and requires about 3 A100 GPU-hours for donor-representation extraction, far less than the time required for pre-training. MG processes only 9M selected-key positions, versus about 50B corpus positions for offline KD—approximately one five-thousand-six-hundredth, or 0.018%, of the donor-forward position volume. This is a compute-scale proxy, not a measured FLOP or wall-clock ratio. The top-8 KD cache occupies about 2.40 TB, so the MG bank is approximately one ninety-eighth as large. The 3 GPU-hours exclude CPU mining and indexing, and historical donor pre-training remains unmatched.\n\nRelative to Vanilla Engram, MG adds almost no recipient-training GPU-hours or peak GPU-memory consumption. The bank is frozen and kept in host RAM, so it has no bank-sized gradients, master weights, or optimizer states; only current-batch hit rows enter the GPU. Thus, although the lifecycle comparison is not strictly matched, MG's additional pre-training compute, accelerator memory, and storage costs are small, especially relative to offline KD.\n\n**W2 — Importance and the proposed synergy are insufficiently established.** Memory Grafting encodes short-range patterns and memorization-intensive knowledge offline as frozen conditional memory. The recipient therefore does not need to relearn all such patterns from scratch during pre-training and can devote more trainable capacity to contextual composition and reasoning. The grafted path adds an extra representation pathway that expands effective model capacity without increasing the recipient's trainable parameter count, playing a role analogous to increasing representation depth. CKA, donor-layer ablations, and the accompanying analyses further support this interpretation.\n\nMemory Grafting therefore presents another route for scaling pre-training: lightweight offline computation can effectively expand model capacity.\n\n**W3 — Why is offline distillation not compared?**\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**Q1 — How is the “70% of total parameters” figure obtained?** The 70% figure is taken directly from the U-shaped parameter-allocation curve in Engram [1, Fig. 3], rather than calculated from our configurations. Because MoE parameters account for more than 95% of the model, this curve covers the dominant parameter-allocation regime. We will revise Line 38 to cite Fig. 3 directly.\n\n**Q2 and Q3 — What is $P$, and where does Engram use $\\mathbf H$?** $P$ is deterministic tokenizer-level canonicalization before hashing, not a learned semantic compressor. It normalizes Unicode, case, accents, and whitespace so surface-equivalent forms share a key. Discrete token keys determine retrieval; $\\mathbf H$ is used only after retrieval as the contextual input to the gate in Eq. (5), which controls value injection. We will make this distinction explicit in the revision.\n\n**Related work.** Pouransari et al. [2] jointly train hierarchical parametric memory and retrieve memory blocks through context- or cluster-level routing. Memory Grafting instead extracts hidden states offline from an existing donor, freezes the bank, and uses deterministic exact lookup over frequent recipient-token n-grams followed by gated injection. Thus the methods differ in both how memory is constructed and how it is addressed. We will further clarify these differences in the revision.\n\n[1] *Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models.* \n[2] *Pretraining with Hierarchical Memories: Separating Long-Tail and Common Knowledge.*"+ },+ "createdAt": "2026-07-28T10:55:52.202Z",+ "modifiedAt": "2026-11-18T17:10:25.939Z",+ "url": "https://openreview.net/forum?id=nHzlhHtSTk¬eId=N6XsQYIFLa",+ "license": "CC-BY-4.0"+}
reviews/openreview/nhzlhhtstk/notes/os8nnanwbg.json added
+++ b/reviews/openreview/nhzlhhtstk/notes/os8nnanwbg.json@@ -0,0 +1,32 @@+{+ "schema": "review/1",+ "id": "oS8NnAnWBg",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer Pjyf",+ "content": {+ "summary": "This paper proposes memory grafting which uses the frozen hidden state of another LLM as the conditional memory, compared to prior approaches (such as Engram) that train the memory from scratch. The approach works as first build frequent n-grams and do forward passes with the grafting model to obtain hidden states as the embedding for the n-gram. Then the retrieval tries to use the longest n-gram's embedding. If retrieval is not successful, the approach falls back to Engram approach. \nThe authors show that memory grafting improves over both MoE and vanilla Engram baselines, and also conduct ablations on the effect of layers where hidden states are obtained and the similarity of resulting representations when using different grafting models.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "### Strengths\n- The paper is well-written and easy to understand, with a clear algorithm shown.\n- The topic of equiping models with external memory is important and timely, the experiments is comprehensive to my view.\n- The finding of middle layer grapting model to be optimal is intriguing.\n\n### Weaknesses\n- The comparison is on data-matched and recepient model size-matched setting, but not in the FLOPs-matched setting. With external model (which use much more compute to train), it is not very surprising that their hidden states are better representations for n-grams than training from scratch. \n- Based on the above, can the author clarify why their results are important? I can see a potential synergy being the grafting model and recepient model encode complementary inductive biases and this combinataion of inductive biases helps training, but I am not sure if this is shown in the paper.\n- Additionally, the approach closely relates to distillation approaches, can the author clarify why a comparison is not needed with distillation where the grafting model is not used for memory but for knowledge distillation on logits? I see the point in Appendix C why an online distillation is not comparable, but how about an offline distillation?",+ "quality": 3,+ "clarity": 3,+ "significance": 3,+ "originality": 3,+ "questions": "- how is \"70% of total parameters\" calculated at Line 38?\n- I find the description in Section 3.1 on Engram is not very clear: \n - What is precisely the compression function P mentioned at Line 109?\n - Where does Engram use hidden states H as mentioned at Line 106?\n- Maybe also relevant but not discussed in the related work: Pouransari et al., 2025. Pretraining with hierarchical memories: separating long-tail and common knowledge",+ "limitations": "yes",+ "rating": 4,+ "confidence": 3,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "The reference style in the main text does not follow \"LastName et al., Year\" and instead uses \"[number]\". This is different than other papers in my batch. Additionally, the text for reference is a bit cramped. The style the author uses would give extra space to the main text, not sure if this is a problem or not, but I thought I would just flag this.",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes",+ "final_justification": "The comparison with KD addresses my major concern, so I am adjusting the score from 3 to 4."+ },+ "createdAt": "2026-06-26T11:50:29.608Z",+ "modifiedAt": "2026-11-18T13:34:40.671Z",+ "url": "https://openreview.net/forum?id=nHzlhHtSTk¬eId=oS8NnAnWBg",+ "license": "CC-BY-4.0"+}
reviews/openreview/nhzlhhtstk/notes/slt8q7qrpg.json added
+++ b/reviews/openreview/nhzlhhtstk/notes/slt8q7qrpg.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "Slt8Q7qRpG",+ "replyTo": null,+ "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."+ },+ "createdAt": "2026-07-14T13:21:40.998Z",+ "modifiedAt": "2026-11-18T15:18:04.453Z",+ "url": "https://openreview.net/forum?id=nHzlhHtSTk¬eId=Slt8Q7qRpG",+ "license": "CC-BY-4.0"+}
reviews/openreview/nhzlhhtstk/notes/zyfsqnz9yp.json added
+++ b/reviews/openreview/nhzlhhtstk/notes/zyfsqnz9yp.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "ZyfSQNz9YP",+ "replyTo": "I01jTymViY",+ "kind": "comment",+ "invitation": "Rebuttal",+ "signature": "Authors",+ "content": {+ "rebuttal": "We thank the reviewer for the thoughtful questions. We respond to each point below.\n\n**W1 — Robustness across corpora, tokenizers, and model families.** The paper tests Qwen3.5, DeepSeek-V2-Lite, and GLM-4.7-Flash as donors with different tokenizers. Lookup keys always remain in the recipient token space, while the donor tokenizer is used only to encode surface text during offline value construction. The paper therefore establishes compatibility across donor families and donor tokenizers.\n\nIn our new experiment, we additionally change both the recipient tokenizer and the pre-training corpus. We use the GLM-5.2 tokenizer to define the recipient token and key space. All four models in Table 1 are then pretrained from scratch for 50B tokens on an entirely new high-quality proprietary mixed corpus. Thus, key mining and recipient pre-training use different corpus distributions, while the recipient tokenizer also differs from the original setting.\n\nAs shown in Table 1, Memory Grafting improves Vanilla Engram from 42.1 to 45.2, a gain of 3.1 points, and improves Vanilla Engram + KD from 43.2 to 46.2, a gain of 3.0 points. The result provide further evidence of cross-corpus and cross-tokenizer generalization.\n\n**W2 — The gain may be generic large-model transfer, and there is no KD control.**\n\n*Table 1. Comparison of Vanilla Engram, offline KD, Memory Grafting, and their combination. Frequent Engram keys were mined from an approximately 10B-token subset of Nemotron using the GLM-5.2 recipient tokenizer. All four models were pretrained from scratch for 50B tokens on an entirely new high-quality proprietary mixed corpus.*\n\n| Method | ARC-C | ARC-E | BoolQ | SIQA | RACE | LAMBADA | WinoG | PIQA | HellaS | Macro 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\nWe compare four settings: ① 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 MG configuration: 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\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.** Top-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**W3 — Missing efficiency breakdown.** The paper-setting frozen 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 current-batch hit rows are transferred. Relative to a trainable Online Engram table resident on the accelerator, the persistent GPU-memory burden is therefore much smaller; host RAM is also far cheaper per GB than GPU HBM.\n\nThe host-to-GPU stage uses the same sparse gather-and-transfer pattern as Engram's offloaded memory path: both transfer only the matched value rows for the current batch. For $H$ hit rows of width $d$, both have $O(Hd)$ transfer complexity, independent of the total bank size. This stage therefore has exactly the same asymptotic complexity and transfer-volume order as Engram and introduces no bank-size-dependent communication term.\n\nIn 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%.\n\n**Q1 — How are frequent n-grams selected?** The n-grams are counted on an approximately 10B-token subset of Nemotron tokenized with the recipient tokenizer. We count keys using within-document sliding windows; n-grams never cross document boundaries and exclude tokens unrelated to n-gram semantics, including BOS, EOS, and padding. For each order $n\\in\\{2,3,4\\}$, we retain the top 1M keys by frequency with deterministic tie-breaking."+ },+ "createdAt": "2026-07-28T11:41:24.917Z",+ "modifiedAt": "2026-11-18T17:10:26.138Z",+ "url": "https://openreview.net/forum?id=nHzlhHtSTk¬eId=ZyfSQNz9YP",+ "license": "CC-BY-4.0"+}
reviews/openreview/nhzlhhtstk/submission.json added
+++ b/reviews/openreview/nhzlhhtstk/submission.json@@ -0,0 +1,12 @@+{+ "schema": "submission/1",+ "id": "nHzlhHtSTk",+ "venue": {+ "id": "NeurIPS.cc/2026/Conference",+ "name": "NeurIPS 2026",+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference"+ },+ "number": 189,+ "url": "https://openreview.net/forum?id=nHzlhHtSTk",+ "license": "CC-BY-4.0"+}
versions/v_3njzkgrz.json added
+++ b/versions/v_3njzkgrz.json@@ -0,0 +1,22 @@+{+ "date": "2026-04-15",+ "kind": "submitted",+ "label": "NeurIPS 2026",+ "submissions": [+ {+ "venue": "NeurIPS 2026",+ "status": "accepted",+ "decision": "Accept (poster)",+ "number": 189,+ "url": "https://openreview.net/forum?id=nHzlhHtSTk",+ "reviews": "openreview/nhzlhhtstk",+ "evidence": [+ "https://openreview.net/forum?id=nHzlhHtSTk"+ ]+ }+ ],+ "url": "https://openreview.net/forum?id=nHzlhHtSTk",+ "evidence": [+ "https://openreview.net/forum?id=nHzlhHtSTk"+ ]+}