Frozen encoder--decoder language models are stateless: the latent representation is discarded after every forward pass, so no information persists across sessions. This paper presents a \textbf{proof-of-concept pilot study} showing that persistent memory in the \emph{continuous latent space} of a frozen LLM is feasible -- even under severe resource constraints (a single frozen Flan-T5-XL backbone, small trainable adapters, a single dataset). We implement six architectural methods spanning three injection points and four write mechanisms; unlike text-level memory systems, every write and read is a differentiable operation on dense vectors. After training only the adapter, the memory bank continues to accumulate at inference time without gradients, enabling \emph{conversational learning}. Under a forgetting-curve evaluation on LoCoMo at two capacity scales (1$\times$ and 10$\times$), the stateless baseline scores exactly zero; at 10$\times$ all six trained adapters produce positive memory-recall curves; at 1$\times$ three methods collapse, revealing capacity as a critical design parameter. Because the memory bank is a compact numerical array, it can be scaled to arbitrarily large capacity without altering the backbone. We argue that full end-to-end training with larger models, larger data, and orders-of-magnitude larger memory will yield substantially stronger results; this pilot study establishes the feasibility baseline and design-space taxonomy that such efforts require.
翻译:冻结的编码器-解码器语言模型是无状态的:每次前向传播后潜在表示即被丢弃,因此信息无法跨会话持续存在。本文提出一项**概念验证性先导研究**,表明在冻结大语言模型的**连续潜在空间**中实现持久性记忆是可行的——即使在严苛的资源限制下(单一冻结的Flan-T5-XL主干网络、小型可训练适配器、单一数据集)。我们实现了六种架构方法,涵盖三个注入点和四种写入机制;与文本级记忆系统不同,每次写入和读取都是对稠密向量的可微分操作。仅训练适配器后,记忆库在无需梯度的推理阶段持续积累,实现了**对话式学习**。通过在LoCoMo数据集上以两种容量规模(1$\times$和10$\times$)进行遗忘曲线评估,无状态基线得分恰好为零;在10$\times$容量下所有六种训练适配器均产生正向记忆召回曲线;在1$\times$容量下三种方法失效,表明容量是关键设计参数。由于记忆库是紧凑的数值阵列,其容量可扩展至任意规模而无需修改主干网络。我们认为,采用更大模型、更庞大数据及数量级更大记忆库的端到端完整训练将产生显著更强的结果;本先导研究为此类研究建立了必要的可行性基线及设计空间分类体系。