LatentPort:超越KV缓存——混合语言模型中循环记忆的跨模型迁移:无需目标前缀的4B到9B混合状态交接……
研究论文 · 2026/09/23
本文展示了一种跨模型传递持久循环推理状态的方法,无需目标模型重读上下文。在一个架构匹配的 Qwen3.5 4B 到 9B 兄弟模型对上,仅传递注意力 KV 缓存会留下较大差距;加入 Gated DeltaNet (GDN) 持久状态包后,教师强制负对数似然 (NLL) 平均降低 0.747 nats/token(95% 配对文档 bootstrap 置信区间 [0.6921, 0.8047]),并在全部 64 篇 PG19 文档上均有改善。直接复用循环和卷积状态优于所测试的学习式 GDN 映射,表明持久状态坐标具有部分功能兼容性。一个全新的组件因子分析选择了翻译后的 KV 与直接循环和卷积状态。额外 434,176 参数的校正模块在 64 篇新网络文档上进一步提升了该基础:续写损失比原生 9B 高 0.076 nats/token(超额 NLL),Jensen-Shannon (JS) 散度为 0.022,原生上下文恢复 (NCR) 为 0.918。校正后的 9B 在处理零历史前缀 token 的情况下显著优于继续推理的 4B。证据仅覆盖一个方向、一个几何匹配的 Base 模型对和 4K 教师强制续写;近原生门控失败,16K 分支未运行,自由生成等价性和通用状态接口尚未得到证明。
该研究首次实现了不同规模混合语言模型间持久循环推理状态的跨模型传递,无需目标模型重读上下文,为高效模型协作和内存迁移提供了新思路,并公开了详细的实验数据与局限。
Can one language model hand its live memory to another without the receiver rereading the context? We demonstrate useful persistent hybrid-state transfer across one architecture-matched Qwen3.5 4B-to-9B sibling pair. To our knowledge, this is the first demonstrated cross-model handoff of persistent recurrent inference state between differently sized hybrid language models without target prefix replay. Translated attention KV alone leaves a large gap; adding the Gated DeltaNet (GDN) persistent-state package lowers teacher-forced negative log-likelihood (NLL), the average next-token log-loss, by 0.747 nats/token (95% paired document bootstrap CI [0.6921, 0.8047]), improving all 64 PG19 documents. Direct recurrent and convolution reuse outperforms the tested learned GDN maps, consistent with partial functional compatibility of persistent-state coordinates. A fresh component factorial selects translated KV with direct recurrent and convolution state. An additional 434,176-parameter correction improves that base on 64 fresh web documents: continuation loss is 0.076 nats/token above native 9B (excess NLL), Jensen-Shannon (JS) divergence is 0.022, and native context recovery (NCR) is 0.918. Corrected 9B significantly beats continued 4B inference while processing zero historical prefix tokens. Evidence covers one direction, one geometry-matched Base-model pair, and 4K teacher-forced continuation; the near-native gate failed, the 16K branch was not run, and free-generation equivalence and a general state interface remain unproven.