Cross-Model Memory Transfer via Target-Side Reader Adaptation

Authors Mingyuan Li, Guangsheng Yu, Xu Wang, Shaoxiong Ji
Venue Preprint
Date August 2026
Read Paper arXiv Code Models

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. Ablations show that learned memory content and correct addressing both matter, but the transferred table becomes useful only through a reader aligned to the target model. On downstream tasks, a target-side dual-layer 4-branch reader on question answering nearly closes the gap between same-model and cross-model transfer, reaching a 38.8 average score, a strong controlled result. These results suggest that Engram can serve as a reusable external knowledge artifact, provided that a target-specific reader is trained to align and integrate the retrieved representations.

Cross-Model Memory Transfer Framework Source Model A e.g., Pythia-1B Trains Memory Table Addressable Key-Value Frozen Space ❄️ Target Model B e.g., Qwen-1.5B Query Canonicalization Tokenizer-Agnostic Map Address Value Target-Side Reader Adaptation Layer TRAINED Integrate Aligned Representations

Methods

We study the portability of external memory structures through the lens of cross-model frozen-memory extraction. Given an Engram-style hashed memory table trained with a source model A, we attach it to a different target model B to evaluate if the knowledge can be extracted outside its source backbone. Relative to the native Engram architecture, our framework introduces three key methodological components:

Overview of the cross-model memory transfer framework.
Figure 1: Overview of the cross-model memory transfer framework. A memory table trained with source model A is frozen and attached to target model B. Tokenizer-agnostic canonicalization keeps the address space fixed across tokenizers, and only the target-side reader (including multi-branch and multi-layer variants) is trained. This setup operationalizes whether external memory remains reusable outside its source backbone. [Download vector graphics]

Research Questions

By separating memory storage from model-specific readers, we seek to evaluate the true reusability of the artifact:

Key Findings

Resources

Paper

arXiv Preprint

Read the full paper on cross-model frozen-memory transfer and target-side reader adaptation.

Open Paper
Code

GitHub Repository

Access the implementation, training configuration, and evaluation scripts for XMemTransfer.

View Code
Models

Hugging Face Collection

Explore the released model artifacts and resources for cross-model memory transfer.

View Models

BibTeX

@article{li2026cross,
  title   = {Cross-Model Memory Transfer via Target-Side Reader Adaptation},
  author  = {Li, Mingyuan and Yu, Guangsheng and Wang, Xu and Ji, Shaoxiong},
  journal = {arXiv preprint arXiv:2608.17050},
  eprint  = {2608.17050},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CL},
  url     = {https://arxiv.org/abs/2608.17050},
  year    = {2026}
}