面向多层MeMo的版本感知操作与事务记忆
Towards Version-aware Operations and Transaction Memories for Multi-layer MeMo
AI总结:
提出版本感知操作层,将替换、回滚等高级操作编译为MeMo原生原语调用,通过版本CMM和事务CMM支持知识更新,减少重训练需求。
摘要:
MeMo提出了具有显式多层关联矩阵记忆(CMM)的语言模型,其中记忆、检索和遗忘是架构操作。本文探讨当知识变化时,此类记忆如何减少重训练需求。对于可表示为MeMo记忆关联的变化,可以通过编辑显式记忆而非重训练整个模型来更新模型的可访问知识。我们提出一个版本感知操作层,其中高级操作(如替换、废弃、保留历史、回滚和追踪)被编译为对序列和令牌的MeMo原生原语调用。关键观察是版本感知操作很少是单个MeMo关联,而是原始编辑的有序事务,例如遗忘一个序列-令牌链、记忆另一个、保留历史链并记录逆程序。该框架引入了两个辅助CMM:版本CMM(V-CMM)用于将版本转换映射到事务句柄,事务CMM(T-CMM)用于存储可重用的更改内容和逆程序。它支持直接的序列级编辑和结构化的差异级输入,并概述了更新成功、回滚、可追踪性、局部性和事务重用的评估路径。
英文摘要:
MeMo proposes language models with explicit multi-layer correlation matrix memories (CMMs), where memorization, retrieval, and forgetting are architectural operations. This paper asks how such memories can reduce the need for retraining when knowledge changes. For changes expressible as MeMo memory associations, the model's accessible knowledge can be updated by editing explicit memories rather than retraining the whole model. We propose a version-aware operation layer in which high-level operations such as replace, obsolete, keep-history, rollback, and trace are compiled into MeMo-native primitive calls over sequences and tokens. The key observation is that a version-aware operation is rarely a single MeMo association. It is an ordered transaction of primitive edits, for example forgetting one sequence-token chain, memorizing another, preserving a historical chain, and recording an inverse program. The framework introduces two auxiliary CMMs: a Version CMM (V-CMM) for mapping version transitions to transaction handles, and a Transaction CMM (T-CMM) for storing reusable change contents and inverse programs. It supports both direct sequence-level edits and structured diff-level inputs, and outlines an evaluation route for update success, rollback, traceability, locality, and transaction reuse.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。