arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.20911cs.CLcs.AI
收藏

潜在个人记忆:将个人记忆表示为动态软提示

Latent Personal Memory: Represent personal memory as dynamic soft prompts

University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校);Samsung Research America(三星美国研究院)

Debrup Das, Avinash Amballa, Yashas Malur Saidutta, Vijay Srinivasan, Vivek Kulkarni, Srinivas Chappidi

AI总结:

提出潜在个人记忆(LPM)框架,通过可解释的潜在槽矩阵和交叉注意力网络生成动态软提示,在冻结大语言模型上高效编码用户历史,在PersonaMem v1和LoCoMO基准上优于LoRA和提示调优,并大幅降低KV缓存使用。

摘要:

个性化大语言模型(LLMs)需要以计算高效、可扩展且与冻结基础模型兼容的方式编码长期、用户特定的行为模式。我们提出潜在个人记忆(LPM),一个可扩展的框架,将用户特定历史表示为紧凑、持久的N个潜在槽矩阵,这些槽是可解释的。一个共享的交叉注意力投影网络将这些槽映射为动态的、输入条件的软提示,这些软提示被预置到冻结LLM的输入中。我们在Qwen3-1.7B、4B和8B骨干网络上评估了PersonaMem v1和LoCOMO基准上的LPM。结果表明,在PersonaMem v1上,LPM在整体准确率上分别比LoRA和提示调优高出高达8.8%和54.4%,同时将KV缓存使用减少超过64倍。在LoCoMO上,LPM以120倍更少的可训练参数匹配了LoRA的准确率。我们还表明,LPM的效率随上下文长度增长,并在128K上下文长度下优于全上下文方法。

英文摘要:

Personalizing large language models (LLMs) requires encoding long-term, user-specific behavioral patterns in a way that is computationally efficient, scalable, and compatible with a frozen base model. We present Latent Personal Memory (LPM), a scalable framework that represents user-specific history as a compact, persistent matrix of N latent slots, that are interpretable. A shared cross-attention projection network maps these slots into dynamic, input-conditioned soft prompts that are prepended to the input of a frozen LLM. We evaluate LPM on PersonaMem v1 and LoCOMO benchmarks across Qwen3-1.7B, 4B, and 8B backbones. Results demonstrate that LPM outperforms LoRA and Prompt Tuning by up to 8.8% and 54.4% in overall accuracy respectively on PersonaMem v1, while reducing KV-cache usage by over 64x. On LoCoMo, LPM matches LoRA accuracy with 120x fewer trainable parameters. We also show that the efficiency of LPM grows with context length and outperforms full-context at 128K context length.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑