acceptodds
Published as a conference paper at NeurIPS 2026

Frozen Memory Is Not Enough: Rethinking External Memory as Extraction

Mingyuan Li, Guangsheng Yu, Xu Wang, Shaoxiong Ji

Abstract

Methods for improving knowledge use in large language models typically fall into two regimes. Non-parametric retrieval offers flexible access to external knowledge, but adds retrieval latency, context overhead, and only shallow integration with the backbone. Parametric adaptation is efficient at inference time, but entangles knowledge with model weights and can be hard to update, audit, or transfer. Engram-style hashed memory occupies a middle regime: it stores learned information in an external, addressable table, yet consumes that table through a small learned reader. This raises a basic question: when such a memory is moved across backbones, what matters more, the frozen memory itself or the target-side reader? We study this question through cross-model frozen-memory extraction, where a memory trained on a source model is frozen and attached to a different target model while only a lightweight reader is trained. Across architectures, tokenizers, and model scales, frozen memory improves every source–target pair in a transfer matrix, with up to 15.7% relative perplexity reduction. Ablations show that learned memory content and correct addressing both matter, but stronger readers account for much of the transfer gain; on OpenQA, a dual-layer 4-branch reader nearly closes the gap between same-model and cross-model transfer and reaches 38.78 average. These results position Engram as a hybrid external memory and suggest that, in this regime, progress depends as much on reader design as on storage itself. Code and reproducible setups are available at https://anonymous.4open.science/r/Engram_Extractor/README.md. .

Keywords:
Sydney

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_4eGUOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper studies whether a learned external memory can still be useful after being separated from the model that originally trained it. Using Engram-style hashed memory, the authors freeze a source-trained memory table, attach it to a different target language model, and train only a small target-side reader. Their key framing is that portable memory is not just about storing information externally but it is about whether a new model can find the right memory entries and extract useful signal from them. The paper’s main contributions are a cross-model frozen-memory transfer protocol, tokenizer-agnostic addressing so different models can retrieve the same memory entries, and a reader-based extraction mechanism that adapts frozen memory to a target model’s hidden space. Empirically, the authors show positive perplexity gains across a 3×3 source-target transfer matrix, use controls to show that the gains depend on learned memory content and correct addressing, and demonstrate on OpenQA that stronger multi-layer, multi-branch readers substantially improve transfer performance.

Strengths and weaknesses

The paper tackles an important and timely question for memory-augmented language models, when a learned external memory is detached from the model that trained it, does it remain a reusable knowledge artifact, or is it merely another model-specific parameter block? The authors study this question in the setting of Engram-style hashed memory, where text-derived addresses retrieve learned memory vectors that are then injected into a language model through a small reader. The main conceptual contribution is to recast external-memory portability as an extraction problem:

A major strength of the work is that it separates several issues that are often combined in discussions of external memory. The paper distinguishes addressing, stored memory content, and the reader/interface that consumes the memory. This decomposition makes the experimental protocol relatively clean and interesting to see. The empirical evidence is generally aligned with the paper’s thesis. The 3×3 source-target transfer matrix is a compact but informative experiment: positive perplexity improvements across all source-target pairs suggest that the frozen memory is not purely tied to the original model. The ablations are useful as well and strengthen paper which is nice to see. I especially appreciate that the authors do not only compare against a no-memory baseline, but also test whether addressing integrity and learned memory content actually matter.

The main weakness is that the scope of the claim is narrower than the framing sometimes suggests. The results are about a specific class of deterministic hashed memory, not external memory in general. The title and motivation occasionally gesture toward broader conclusions about learned memory systems, but the method depends heavily on properties that Engram already provides. It remains unclear whether similar extraction behavior would hold for other memory architectures whose addressing depends more directly on hidden states, attention patterns, or learned retrieval policies. A second concern is the accounting of cost and reuse. The paper convincingly shows that target-side adaptation can be lightweight once a source memory exists, but the source memory itself still has to be trained. The paper would be stronger if it gave a more explicit lifecycle comparison like how expensive is Phase 1, how many target models are needed before the amortized benefit becomes compelling, and how does this compare with simply training target-specific adapters or memory modules?. The tokenizer-agnostic addressing scheme relies on canonicalized decoded text and word-boundary N-grams, which is reasonable for the evaluated settings but may be fragile for multilingual data, code, noisy text, or languages without reliable whitespace-delimited words. Similarly, the downstream results are selective rather than uniformly positive. The work is especially relevant if learned memories are to become shareable artifacts across model families rather than private extensions of a single backbone.

Questions
  1. A clearer lifecycle cost analysis for the proposed transfer setting? The paper shows that Phase-2 reader adaptation is lightweight, but the source memory still has to be trained in Phase 1. It would be helpful to report the approximate compute, token budget, and parameter-update cost for source-memory training, then compare the amortized cost against training target-specific adapters or target-specific memory modules. My evaluation would increase if the authors can show that the method becomes cost-effective after a realistic number of target-model transfers, not only under a Phase-2-only comparison.

  2. How much of the reported transfer gain comes from the memory being semantically useful versus the reader learning a corpus-specific bias? The random-memory and permuted-key controls are useful, but I would like to see a sharper test of whether the frozen table contributes transferable knowledge beyond helping the reader adapt to the Phase-2 corpus. One practical experiment would be to train the reader on corpus A and evaluate on corpus B, or train readers on matched versus mismatched Phase-2 distributions using the same frozen memory. This would clarify whether extraction is genuinely memory-driven or strongly dependent on distributional alignment between source memory, reader-training data, and evaluation.

  3. Characterize failure modes of tokenizer-agnostic addressing? The canonical word-boundary hashing is well motivated, but it is not obvious how robust it is outside English-like text. A small diagnostic would be useful: report address agreement rates across tokenizers for different text types, such as normal English, code, multilingual text, noisy Unicode, or punctuation-heavy data. My confidence would increase if the authors show that their addressing scheme preserves high key agreement in realistic non-ideal cases, or clearly delimit the regimes where byte-level hashing would be required.

  4. Why does the method hurt or fail to help on some downstream tasks, especially truthfulness-style evaluation? The selective downstream behavior is one of the most interesting parts of the paper, but the explanation remains somewhat speculative. A useful analysis would compare gate activations, memory contribution norms, or retrieved-entry statistics on tasks where transfer helps versus tasks where it hurts. This could show whether failures arise from bad retrieval, over-trusting memory, corpus-induced false associations, or insufficient reader calibration. My score would increase if the authors can turn the negative TruthfulQA trend into a clearer mechanistic limitation rather than just an empirical caveat.

  5. How sensitive are the conclusions to reader capacity and placement under a fixed parameter or compute budget? The OpenQA results show that a stronger dual-layer, multi-branch reader substantially improves extraction, but this raises the question of whether the gains are due specifically to better memory extraction or simply to giving the reader more adaptation capacity at useful layers. A compact comparison against parameter-matched non-memory adapters placed at the same layers, or a reader-capacity sweep with matched trainable parameters, would make the extraction claim more convincing. My evaluation would decrease if the strongest results rely on reader capacity that also performs similarly without meaningful memory access; it would increase if matched-capacity controls still show a clear advantage for correctly addressed frozen memory.

Limitations

The authors acknowledge some boundaries of the work, but the limitations section should be made more explicit and better integrated with the main claims.The paper should more clearly delimit that the results apply to Engram-style deterministic hashed memory, not learned external memory in general. I would also encourage the authors to add a fuller discussion of lifecycle cost: although target-side reader adaptation is lightweight, the source memory still requires training, so the practical benefit depends on amortization across multiple target models. The paper should also discuss where the tokenizer-agnostic addressing scheme may fail, especially for multilingual text, code, noisy Unicode, or languages without clean word boundaries. The downstream limitations deserve more direct treatment. The observed weakness on truthfulness-style evaluation suggests that frozen memory may sometimes reinforce frequent but undesirable corpus associations, so the authors should discuss calibration and safety implications. Since the method proposes reusable learned memory artifacts, I would also expect a more concrete discussion of privacy risks, such as membership inference or semantic inversion from distributed memory tables, along with possible evaluation protocols or mitigations.

Paper formatting concerns

no concern

Final justification

The authors have addressed most of the comments. I am keeping the positive score.

1 comment

We thank the reviewer's detail comments, which significantly improves the quality of this paper.

Q1 Scope and lifecycle cost

Answer. A detached Engram-style table can be reused across compatible targets without rewriting it. One frozen Qwen3.5-0.8B table has been consumed by Qwen3.5-2B, 4B, and 9B readers, demonstrating one-to-many reuse within the evaluated family, not portability to arbitrary memory systems.

Phase 1 is a real provider cost, but its budget is protocol-dependent. In a compatible Llama-2-7B→Mistral-7B deployment, the provider artifact can be attached with zero target-side Phase-2 tokens and zero target-side updates, raising mean OpenQA from 32.12 to 38.31. Optional fitting of a Mistral reader on 20M Wikipedia-2021 tokens reaches 38.50.

For the main Llama-2-7B → Mistral-7B-v0.3 OpenQA experiment:

DeploymentTarget-side trainingMean OpenQA
No memoryNone32.12
Compatible frozen-artifact reuse0 tokens; 0 updates38.31
Optional target-reader fitting20M tokens38.50

For more compute, token budget, and parameter-update cost result:

ComponentTokens processedUpdated parametersPayload timeAllocated GPU-hoursMean OpenQA
Phase 1: source artifact4.096MProvider-side table and reader0.653 h3.154—
Compatible direct reuse000 h038.31
Phase 2: transferred Mistral reader19.968M21.01M3.798 h15.46938.50
Fresh Mistral memory and reader19.968M≈54.57M3.871 h15.76038.40
Matched Mistral FFN19.968M21.00M3.680 h14.92934.54

The recorded Phase-1 run processed only 4.096M tokens and took 0.653 hours. For NN targets, the measured costs are

$ C_{\mathrm{transfer}}(N)=0.653+3.798N, \qquad C_{\mathrm{fresh}}(N)=3.871N. $

Transfer therefore breaks even after approximately 9 targets by payload time:

$ N=\frac{0.653}{3.871-3.798}=8.95, $

and after approximately 11 targets by allocated GPU-hours:

$ N=\frac{3.154}{15.760-15.469}=10.84. $

Moreover, when the provider reader is directly compatible, the artifact can be reused with zero target-side training and already reaches 38.31 mean OpenQA. Thus, the one-time Phase-1 cost is modest in this main experiment, while optional reader fitting improves performance further to 38.50.

Q2 Transferable content versus reader bias

Answer. Both table content and distribution alignment matter. Reader/evaluation-domain matching is unnecessary for improvement, but mismatch reduces the gain.

With a fixed WikiText-trained Pythia-160M table, we train Pythia-410M readers on WikiText or C4 and evaluate on both:

Reader corpusEvaluation corpusNo-memory PPLTransfer PPLChange
WikiTextWikiText22.61622.113±0.011−0.502
WikiTextC424.72624.663±0.015−0.062
C4WikiText22.61622.538±0.008−0.078
C4C424.72624.604±0.020−0.122

All four settings improve, but the matched WikiText gain is much larger, showing distribution sensitivity rather than dependence on identical corpora.

For a sharper content test, we hold the Mistral backbone and reader fixed and change only the table. The correctly addressed table reaches 38.50 mean OpenQA; an untrained table gives 34.58, and permuting learned key–value associations gives 32.48. On 256 matched examples per task, disabling memory reduces the four-factual-task macro by 7.55 points (95% evaluation-example CI [5.78, 9.49]); random replacement reduces it by 5.31 [3.62, 7.07]. Thus, Phase-2 adaptation matters, but factual-QA behavior also depends on learned values at coherent addresses.

Q3 Tokenizer-independent addressing

Answer. Word-boundary addressing is reliable for evaluated English-like text, partially inconsistent for code and noisy Unicode, and degenerate for unsegmented Chinese and Japanese. Across Llama-2, Mistral, TinyLlama, and Qwen tokenizers:

Text typeCross-tokenizer agreementAddress validityInterpretation
English prose6/6InformativeSupported
Punctuation-heavy English6/6InformativeSupported
Chinese/Japanese6/6Uninformative single-span addressesDegenerate collapse

The apparent 100% Chinese/Japanese agreement is failure: all tokenizers collapse the input to one uninformative state. But we replacing whitespace words with NFKC-normalized, case-folded character spans gives:

CorpusTokens/phaseNo-memory PPLCharacter-span transferReduction
Chinese Wikipedia1.048M20.124819.6718±0.00332.251%
Japanese Wikipedia5.24M15.355515.1985±0.02511.023%

All three seeds improve in both languages. Thus, while the original word-boundary scheme fails for unsegmented Chinese and Japanese, character-span addressing resolves this issue in the evaluated settings.

Q4 Selective downstream behavior and TruthfulQA

Answer. We add an answer-token support analysis to determine whether transferred memory helps the correct answer, rather than merely changing the final task score. We compare transferred memory with a random table, memory-disabled inference, and an ablation that removes memory only at answer-generation positions.

TaskTrans. − RandomTrans. − DisabledTrans. − Answer-position ablation
NQ+0.035+0.032−0.013
WebQuestions+0.147+0.197−0.001
TriviaQA+0.047+0.072−0.000
TruthfulQA−0.581−0.258−0.029
HotpotQA+0.022+0.019−0.009

The result is clear: transferred memory increases gold-answer probability on all four factual-QA tasks, but decreases it on TruthfulQA. Thus, TruthfulQA is not a case where memory is simply ignored; the learned memory actively shifts probability away from the truthful answer.

The near-zero answer-position ablation effects further show that the gains do not come from directly copying answer tokens at the final decoding step. Instead, memory mainly influences the earlier answer-supporting representation. This also explains the failure mode: a memory trained with next-token prediction on Wikipedia can encode useful factual associations, but these associations are not necessarily calibrated for a truthfulness objective that often requires rejecting common or misleading answers.

Conclusion. Transferred memory provides genuine factual support rather than generic reader capacity or answer-token copying. However, when corpus-likely associations conflict with the task objective, as in TruthfulQA, the same mechanism can produce negative transfer. We therefore limit our claim to factual retrieval-style QA and identify objective-specific calibration as an important limitation.

Q5 Reader capacity and placement

Answer. At the same Mistral layers 2/10 and essentially the same parameter and training budget, the correctly addressed reader reaches 38.50 mean OpenQA better than a no-memory residual FFN. Replacing only the table to a random table while fixing the trained reader gives 34.58.

ConditionInterfaceTarget-side elementsMean OpenQA
Linear value projectionNo gate4.19M33.73
Affine stitchLinear map and bias4.20M34.27
Parameter-matched residual FFNNo memory21.00M34.54
Random-table replacementFull reader fixed21.01M34.58
Full transferred reader (R=4)Correct table; gated branches21.01M38.50

The transferred reader and FFN differ by only 0.066% in target-side elements and otherwise share the backbone, corpus, layers, 20M-token budget, optimizer, selection rule. Transfer is higher on four factual-QA tasks, while the FFN is slightly higher on TruthfulQA. Reader structure remains a sensitivity factor: one branch at layers 2/10 gives 37.58, four branches at layers 2/10 gives 38.50, and four branches at layer 2 gives 37.49. Since these variants have different parameter counts, attribution rests on the matched FFN and fixed-reader table intervention.

Shareable memory artifacts across model families

Answer. We agree that this is the central significance of our work: turning learned memory from a private extension of one backbone into a reusable artifact across compatible models.

Our design separates model-independent memory content from backbone-specific integration. Let TT be the frozen table and ϕ(x)\phi(x) the deterministic address from canonicalized text. The retrieved state is m=T[ϕ(x)]m=T[\phi(x)], while target model BB uses a lightweight reader rBr_B to map it into its hidden space. Because ϕ\phi depends on text rather than source hidden states or parameters, compatible backbones retrieve the same entries without rewriting TT. This factorization, (T,ϕ)+rB(T,\phi)+r_B, enables memory sharing.

Empirically, one frozen Qwen3.5-0.8B table is reused unchanged by Qwen3.5-2B, 4B, and 9B readers, demonstrating one-to-many reuse. We also show cross-family transfer from LLaMA-2-7B to Mistral-7B-v0.3. With a compatible provider reader, Mistral requires zero target-side training or updates and improves mean OpenQA from 32.12 to 38.31; optional reader fitting reaches 38.50 while the table remains frozen. The 7B provider run processed 4.096M tokens in 0.653 hours, so this one-time cost is amortized across consumers.

Conclusion. Deterministic text addressing gives the table a model-independent identity, while the reader isolates backbone-specific adaptation. Our evidence supports reusable Engram-style artifacts across compatible model families, not arbitrary hidden-state- or learned-retrieval-based memories.

Reviewer_nHa5OpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper studies whether an Engram-style hashed external memory trained with one language model can be frozen and reused by a different target model by training only a lightweight reader. The authors separate portability into addressing, stored memory content, and target-side extraction. Across several source-target pairs, they report consistent perplexity gains, and the OpenQA experiments suggest that reader design is a major determinant of transfer quality.

Strengths and weaknesses

Strengths

  1. The paper poses a clear and useful question: whether learned external memory remains useful after being detached from its source backbone.
  2. The method is technically well motivated. Tokenizer-agnostic addressing and reader-only target adaptation directly target key obstacles in cross-model memory reuse.
  3. The experiments are reasonably broad for this setting, including a 3×3 transfer matrix, random/permuted/scratch controls, and OpenQA reader ablations.

Weaknesses

  1. The strongest OpenQA and state-of-the-art framing seems too broad unless evaluation protocol, decoding settings, contamination checks, and baseline parity are clarified.
  2. Random-memory controls sometimes give sizable gains, so the paper should report improvements over both no-memory and random-memory baselines more systematically.
  3. The cost story is incomplete: the method uses nontrivial source-memory and target-reader training, but wall-clock time, memory footprint, inference overhead, and total compute are not fully reported.
Questions

Can the authors provide wall-clock training time, peak memory, inference latency, and total compute for the main experiments?

Limitations

yes

Paper formatting concerns

N/A

Final justification

I sincerely thank the authors for their dedicated efforts during the rebuttal period. The additional experiments and clarifications have satisfactorily addressed most of my concerns. I believe this work meets the standard for NeurIPS, and I will therefore maintain my positive score.

1 comment

We thank the reviewer for identifying three related issues: the scope and reproducibility of the OpenQA claim, attribution relative to random-memory controls, and full systems/lifecycle accounting.

Weakness 1: OpenQA protocol, baseline parity, and contamination

Evaluation protocol. Phase 1 memory training and Phase 2 reader fitting both use December-2021 English Wikipedia, matching the corpus setting of MLP Memory [1], which trains a 1B-parameter memory model. The Mistral-7B-v0.3 reader uses four branches at layers 2 and 10 and is trained for 20M tokens with next-token prediction. No downstream examples or labels are used. NQ, WebQuestions, TriviaQA, and HotpotQA use F1 with a shared prompt, greedy decoding, and a 15-token limit; TruthfulQA uses a fixed six-shot candidate-likelihood evaluation.

Baseline parity. Transfer and the matched FFN use the same backbone, corpus, insertion layers, four-branch design, training budget, optimizer, and checkpoint-selection rule. Their target-side checkpoints differ by only 0.066% in size. Transfer achieves a five-task mean of 38.50, and performs better on 4/5 tasks.

Contamination audit. We compared all 31,807 evaluation questions against the exact Phase 1 and Phase 2 training text. NQ, WebQuestions, and HotpotQA have no exact matches. The remaining matches affect four duplicated TriviaQA rows (0.013%) and one generic TruthfulQA question without its gold answer. Partial 8-gram matches reflect shared wording rather than direct question–answer leakage. Thus, the training streams use no benchmark supervision, although they are not strictly overlap-free. Because foundation-model pretraining data are unavailable, we present these results as a controlled comparison rather than a contamination-free state-of-the-art claim.

Weakness 2: improvements relative to no-memory and random-memory baselines

Answer. In Table 4, “random memory” is an inference-time table-replacement control. After Phase 1 and Phase 2 are complete, we keep the Mistral-7B backbone and transferred reader fixed and replace only the learned memory table with an untrained random table of the same shape. Transfer raises the five-task mean from 32.12 without memory and 34.58 with random-table replacement to 38.50, corresponding to gains of +2.46 and +6.38 points, respectively.

Evidence. The complete results are:

ConditionTest PPLNQWebQuestionsTriviaQATruthfulQAHotpotQAMean
No memory9.920.6329.2857.6532.0920.9632.12
Random table replacement, reader fixed8.723.0427.0765.1333.5824.0634.58
Permuted keys8.718.3034.5057.7030.6021.4032.50
Transfer (ours), R=4, layers 2/108.730.3433.6769.9430.9427.6238.50

The random-table gain shows that the trained reader pathway contributes part of the improvement, while the sharp drop after permuting the learned keys indicates that the remaining gain depends on meaningful memory content and correct key–value addressing.

Weakness 3 : end-to-end cost and systems comparison

Answer. We include the one-time Phase 1 cost. Our advantage is reuse: the frozen source memory is constructed once, while each target trains only a 21.0M-parameter reader—or performs zero target-side training when the provider reader is directly compatible. This is much lighter than MLP Memory [1], which trains an approximately 1B-parameter memory model.

Results below use the actual Llama-2-7B → Mistral-7B-v0.3 OpenQA experiment on LUMI.

ConditionTokensTraining timeGPU-hoursPeak inference memoryPrefill
No memory00013.658±0.020 GiB55.10±0.06 ms
Phase 1 source artifact4.096M0.653 h3.154——
Fresh Mistral memory19.968M3.871 h15.760——
Matched FFN19.968M3.680 h14.92913.736±0.020 GiB55.32±0.49 ms
Transfer, including Phase 1 (ours)4.096M+19.968M4.451 h18.62313.881±0.020 GiB57.69±0.40 ms

Relative to no memory, transfer adds only 0.223 GiB peak inference memory and 2.60 ms prefill latency. Our method replaces repeated training of a roughly 1B-parameter memory model compared to MLP memory[1] with a reusable source artifact and a 21.0M-parameter target reader, while achieving higher performance (38.5 vs 36.06) and modest inference overhead.

For more lifecycle cost and discussions

Answer. We want to clarify that a 50M-token Phase 1 is not a requirement of the method; it can change by the user. The intended lifecycle separates the party constructing the artifact from the party consuming it. An upstream data or model owner trains and governs a detachable memory package once. A residual-width-compatible downstream model can then attach the frozen memory and provider reader with zero target-side Phase-2 training tokens and zero target-side parameter updates. This does not require retraining the consumer tokenizer or learning a source-to-target vocabulary map, but it does require an interoperable lookup interface: the consumer must apply the provider's canonicalization, boundary-unit, and hash specifications so that decoded target text reproduces the provider's memory-address stream. If the provider can additionally share or license an adaptation stream, the consumer may optionally fit a model-specific reader for further aggregate improvement.

Evidence: the provider need not train for 50M tokens. We tested this deployment story using a Llama-2-7B provider artifact trained on Wikipedia2021 with a 10M-token Phase-1. For training token, 10M is a configured upper bound and the acutally training tokens early stop at 4.096M. The reusable artifact consists of the frozen hashed memory table and its four-branch source reader at layers 2 and 10.

Evidence: immediate consumer utility without phase-2 training. After Phase-1 training, the frozen memory and reader can be directly reused by a compatible target model without Phase-2 training or target-side parameter updates. We directly attach the frozen Llama artifact to the hidden-width-compatible Mistral-7B target. Across five OpenQA tasks, the no-memory Mistral baseline averages 32.12, while direct reuse of the frozen artifact reaches 38.31, a gain of 6.19 points (19.3% relative).

Evidence: optional adaptation when data can be provided. With the same frozen source-memory family, fitting the Mistral target reader on a Wikipedia2021 raises the OpenQA average from 38.31 to 38.50, an additional +0.19 points over direct reuse and +6.38 over no memory.

Deployment modePhase 1 trainingPhase2 data update and read memoryMean OpenQA
No memoryNoneNone32.12
Zero-shot artifact reuseFrozen memory + compatible source reader; 10M-token0 tokens; 0 parameter updates38.31
Optional target-reader adaptationSame frozen source memory20M provider-shared Wikipedia tokens38.50

[1] MLP memory: A retriever-pretrained memory for large language models. ICLR, 2025.

Reviewer_yMLiOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
2
Read review
Summary

The paper studies a question in modular AI systems that is, can an external memory (n-gram conditional memory component introduced https://arxiv.org/pdf/2601.07372) learned by one model be detached, transferred, and reused by a completely different model?

The authors propose a cross-model frozen-memory extraction pipeline that explicitly decouples the transferred memory from the source model's tokenizer and embedding geometry.The Engram memory table is jointly trained with a source model on text data, allowing it to encode structured factual associations. After training, the memory table is extracted, frozen, and attached to a different target model without modifying its contents. Since the source and target models use different tokenizers, memory lookup is performed over canonicalized text prefixes using NFKC normalization, lowercasing, and accent stripping. During transfer, both the target model and the extracted memory remain frozen. Only a lightweight Reader adapter is trained to project the retrieved memory vectors into the target model's residual stream.

The experiments demonstrate that frozen external memories transfer effectively across diverse model families, consistently improving performance and reducing perplexity by up to 15.7% without modifying the target model.

Strengths and weaknesses

Strengths:

(a) The paper addresses memory portability, a key step toward modular, plug-and-play knowledge bases that are independent of model weights. (b) Cross-model memory transfer recovers a substantial fraction of the gains obtained by same-model memory, without modifying the target backbone. (c) The canonicalization pipeline effectively overcomes tokenizer mismatches, enabling robust memory transfer across heterogeneous models. (d) For a concept/feasibility submission, the 3×33 \times 3 transfer matrix across heterogeneous tokenizers (GPT-NeoX, LLaMA, Qwen) provides convincing proof-of-concept.

Weakness: (a) The main limitation lies in the reader bottleneck. Since the transferred memory is learned in the source model's representation space, the framework relies on a lightweight linear reader to align it with the target model. As the structural gap between source and target models grows, this simple adapter becomes increasingly insufficient. Moreover, the memory is constrained to a fixed 512-dimensional representation, creating an information bottleneck that limits effective transfer to larger, higher-capacity models.

(b) The transferred memory is effective only when reader training and evaluation come from similar domains. Although tokenizer-independent, the approach relies on explicit word boundaries for memory lookup. Consequently, it may not generalize well to languages such as Chinese and Japanese, where word boundaries are not naturally defined.

(c) The paper emphasizes the efficiency of training the target-side reader (20M tokens) but overlooks the cost of constructing the transferable memory.The complete pipeline requires 50M tokens to train the source memory and an additional 20M tokens to align the target reader, resulting in a total of 70M tokens.

Questions

(a) Can you evaluate on reasoning tasks (or not so knowledge intensive tasks) and see if there exist any regression ?

(b) Given the focus on concept and feasibility, what are the primary theoretical or architectural barriers to merging multiple domain-specific frozen memories (e.g., medical + legal tables) for a single target model?

Limitations

I find the following points are main limitation of the proposed architecture:

(a) A 1.05M-parameter adapter can only do so much. If the source and target model structures are too disparate, a simple linear map cannot bridge the geometric gap. Furthermore, forcing all factual associations through a rigid 512-dimensional bottleneck severely restricts information density for larger target models

(b) It requires 70M total tokens (50M to co-train the source model + 20M to train the target reader). Unless you reuse that exact same frozen memory across multiple target models to amortize the cost, it is actually less data-efficient than just training a fresh memory layer from scratch on your target model (which only takes 50M tokens).

(c) The lookup pipeline achieves tokenizer-independence by relying on whitespace word boundaries, meaning it fundamentally fails on non-segmented languages like Chinese or Japanese.

Paper formatting concerns

No

Final justification

As the submission is under concept and feasibility, some of the empirical ask might not be immediately needed. Also based on the results provided in the rebuttal I updated my score.

1 comment

We thank the reviewer for identifying four important limitations of the current framework: reader capacity, distribution dependence, non-segmented-language addressing, and full-lifecycle cost. We added targeted diagnostics and will revise the paper to state the scope of the evidence more precisely.

Weakness(a) and Limitation(a): Reader capacity and the 512-dimensional interface

Response. We agree that a 1.05M-parameter linear reader cannot be assumed to align arbitrarily different source and target representation spaces. However, the 512-dimensional interface is a configurable design choice rather than a fixed architectural requirement. Our controlled experiments show that both memory width and reader structure materially affect transfer quality.

Evidence. We conducted a Pythia-160M transfer to Pythia-410M capacity diagnostic on WikiText-103 using 20M source tokens and 20M target-reader tokens.

Memory / reader configurationMemory parametersReader parametersTest PPL
Width 256, linear, one layer16.78M0.526M22.368
Width 512, linear, one layer33.55M1.051M22.157
Width 1024, linear, one layer67.11M2.099M21.808
Width 512, linear, layers 2/1033.55M2.101M21.522

Increasing the interface width from 256 to 1024 consistently improves PPL. Moreover, retaining width 512 while injecting readers at two layers performs better than simply widening a single-layer reader. Because width changes both table and reader parameter counts, this experiment should be interpreted as a capacity-sensitivity analysis rather than a clean causal estimate of width alone.

At 7B scale, reader structure remains important. With the frozen table, Mistral-7B target, December-2021 English Wikipedia, a 20M-token reader budget, and a fixed seed, mean OpenQA is:

Reader designMean OpenQA
One branch, layers 2/1037.58
Four branches, layers 2/1038.50
Four branches, layer 2 only37.49

We also compared the strongest transferred reader with a target-specific residual FFN under the same target model, layers, branches, corpus, token budget, optimization schedule, and seed.

Target-side moduleMean OpenQA
Transferred reader38.50
Parameter-matched FFN34.54

With a similar number of parameters, the transferred reader performs better than the FFN adapter in this experiment. However, this does not mean that a linear reader will work well for every source–target model pair.


Weakness (b1): Distribution dependence

Response. We agree that transfer is distribution-sensitive. However, the completed cross-corpus experiment shows that the reader-training and evaluation corpora do not need to be identical for transfer to remain beneficial. The gains persist under domain mismatch, although they are substantially smaller than the strongest matched-domain result.

Evidence. We fixed one WikiText-trained Pythia-160M source memory per seed, trained Pythia-410M readers for 20M tokens on either WikiText or C4, and evaluated on deterministic WikiText and C4 streams over 3 seeds.

Reader corpusEvaluation corpusNo-memory PPLTransfer PPLChange
WikiTextWikiText22.61622.113-0.502
WikiTextC424.72624.663-0.062
C4WikiText22.61622.538-0.078
C4C424.72624.604-0.122

All four conditions improve over the no-memory target, so exact reader/evaluation-domain matching is not strictly required. Nevertheless, the matched WikiText gain is much larger than either cross-corpus gain, directly demonstrating distribution sensitivity.


Weakness(b2) and Limitation(c): Chinese and Japanese word boundaries

Direct answer. We agree that the original whitespace word-boundary canonicalization fails for non-segmented Chinese and Japanese. Tokenizer independence alone cannot solve this problem: different tokenizers may agree only because they all map the entire input to the same useless address. We therefore canonicalize decoded text into NFKC-normalized, case-folded, non-whitespace Unicode character events and hash character spans rather than whitespace-delimited word spans.

Evidence: address-stream diagnosis. We tested three Chinese and three Japanese strings with Llama-2, Mistral, TinyLlama, and Qwen tokenizers. The original whitespace-based lookup fails for Chinese and Japanese because these languages do not naturally separate words with spaces. We therefore replaced word-span hashing with character-span hashing. This removes the degenerate lookup behavior and produces consistent address streams across different tokenizers.

Evidence: language-matched training. We then trained Qwen2.5-0.5B source memories and Llama-3.2-1B target readers separately on Chinese and Japanese Wikipedia, using character-span hashing, four branches at layers 2/10, fixed held-out 262K-token test splits, and seeds 42/137/2024:

Training/evaluation languageTokens per phaseNo-memory PPLCharacter-span transfer PPLRelative improvement
Chinese1.048M20.124819.6718 ± 0.00332.251%
Japanese5.24M15.355515.1985 ± 0.02511.023%

For Chinese, the three independently trained transfers are 19.6680/19.6740/19.6735, so every seed improves. For Japanese, they are 15.2035/15.2207/15.1712, and again every seed improves. These results demonstrate that a language-appropriate canonical unit plus a language-matched upstream corpus can repair the specific Chinese/Japanese whitespace failure.


Weakness (c) and limitation (b): lifecycle cost and the provider--consumer deployment model

Answer. We want to clarify that a 50M-token Phase 1 is not a requirement of the method; it can change by the user. The intended lifecycle separates the party constructing the artifact from the party consuming it. An upstream data or model owner trains and governs a detachable memory package once. A residual-width-compatible downstream model can then attach the frozen memory and provider reader with zero target-side Phase-2 training tokens and zero target-side parameter updates. This does not require retraining the consumer tokenizer or learning a source-to-target vocabulary map, but it does require an interoperable lookup interface: the consumer must apply the provider's canonicalization, boundary-unit, and hash specifications so that decoded target text reproduces the provider's memory-address stream. If the provider can additionally share or license an adaptation stream, the consumer may optionally fit a model-specific reader for further aggregate improvement.

Evidence: the provider need not train for 50M tokens. We tested this deployment story using a Llama-2-7B provider artifact trained on Wikipedia2021 with a 10M-token Phase-1. For training token, 10M is a configured upper bound and the acutally training tokens early stop at 4.096M. The reusable artifact consists of the frozen hashed memory table and its four-branch source reader at layers 2 and 10.

Evidence: immediate consumer utility without phase-2 training. After Phase-1 training, the frozen memory and reader can be directly reused by a compatible target model without Phase-2 training or target-side parameter updates. We directly attach the frozen Llama artifact to the hidden-width-compatible Mistral-7B target. Across five OpenQA tasks, the no-memory Mistral baseline averages 32.12, while direct reuse of the frozen artifact reaches 38.31, a gain of 6.19 points (19.3% relative).

Evidence: optional adaptation when data can be provided. With the same frozen source-memory family, fitting the Mistral target reader on a Wikipedia2021 raises the OpenQA average from 38.31 to 38.50, an additional +0.19 points over direct reuse and +6.38 over no memory.

Deployment modePhase 1 trainingPhase2 data update and read memoryMean OpenQA
No memoryNoneNone32.12
Zero-shot artifact reuseFrozen memory + compatible source reader; 10M-token0 tokens; 0 parameter updates38.31
Optional target-reader adaptationSame frozen source memory20M provider-shared Wikipedia tokens38.50

Question (a): regression on reasoning or less knowledge-intensive tasks

Answer. Yes.We evaluate transferred memory on RTE, BoolQ, and RACE, which test textual entailment and passage-grounded inference. The results show clear improvements in BoolQ and RTE, but also a small reduce in RACE

Evidence. HQ-DQA is an 8B-token QA-heavy STEM corpus containing question–answer and explanatory text. HQ is a larger 26B-token general web corpus, while FineWeb-Edu is a broad educational-web corpus. These corpora are used only for Phase-1 memory construction and Phase-2 reader training.

Phase-1 memory model and corpusPhase-2 target model and corpusDownstream transfer result
Qwen3.5-0.8B, HQ-DQA 8BQwen3.5-2B one branch one layer injection reader, HQ-DQABoolQ +15.3±0.3, RTE +8.9±4.7, RACE +1.4±0.4
Qwen3.5-0.8B, HQ 26B generic webQwen3.5-2B one branch one layer injection reader, HQ corpusBoolQ +3.0±0.4, RTE +1.2±2.1, RACE −0.4±0.2
Qwen3.5-0.8B, FineWeb-EduQwen3.5-2B one branch one layer injection reader, FineWeb-EduBoolQ +3.2, RTE +2.7, RACE 0.0

All values are accuracy changes relative to the same no-memory Qwen3.5-2B target. The HQ-DQA corpus improves all three reasoning-related tasks. The −0.4-point RACE result with the generic-web corpus is the only observed regression in this comparison, showing that transfer depends on corpus and reader alignment. More experiments are shown in Appendix F.


Comments on the paper

1 comment
Meta-review

Summary

In this paper authors study the problem of external memory, more precisely the setup in which memory is external (using a table) but still extracted using a smaller reader, which interpolates between the fully parametric and non-parametric regimes. In particular, they focus on Engram-style hashed memory families, and study the influence of reader, backbone, and tokenizer on the final performance. They find that aligning the reader with the backbone matters enormously to the success of these approaches. Furthermore, they introduce a cross-model frozen-memory extraction pipeline that allow the same memory to be used with different backbones, and show convincing results.

Strengths

Reviewers have praised the relevance of the work and the clarity it brings to the community:

  • "A major strength of the work is that it separates several issues that are often combined in discussions of external memory" (Reviewer 4eGU)
  • "The method is technically well motivated. " (Reviewer nHa5)
  • "The paper addresses memory portability, a key step toward modular, plug-and-play knowledge bases that are independent of model weights" (Reviewer yMLi)

Furthermore, code is public.

Weaknesses

I agree with Reviewer 4eGU regarding "The title and motivation occasionally gesture toward broader conclusions about learned memory systems, but the method depends heavily on properties that Engram already provides." so the claims/title should be tone down to something more specific. Also observed by reviewer nHa5: "The strongest OpenQA and state-of-the-art framing seems too broad"

It is important for the author to discuss the role of tokenizer on non-english languages, possibly with a small ablation:

  • " it may not generalize well to languages such as Chinese and Japanese" (Reviewer yMLi)
  • " it is not obvious how robust it is outside English-like text" (Reviewer 4Egu)

The biggest methodological issue is its motivation compared to the baseline of "simply training target-specific adapters or memory modules":

  • "The paper would be stronger if it gave a more explicit lifecycle comparison like how expensive is Phase 1" (Reviewer 4eGU)
  • "The paper emphasizes the efficiency of training the target-side reader but overlooks the cost of constructing the transferable memory" (Reviewer yMLi)

Reviewer 4eGU hints at the slam dunk answer: "The work is especially relevant if learned memories are to become shareable artifacts across model families rather than private extensions of a single backbone" - assuming strong theoretical/empirical evidence can be provided for this at rebuttal time.

Finally, some simple baselines are missing (linked to the motivation mentioned before):

  • "Random-memory controls sometimes give sizable gains, so the paper should report improvements over both no-memory and random-memory baselines more systematically." (Reviewer nHa5)
  • "My evaluation would decrease if the strongest results rely on reader capacity that also performs similarly without meaningful memory access" (Reviewer 4eGU)

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.