Doc-to-LoRA分析:查询条件、错误事实与干扰项影响
Doc-to-LoRA Analysis: Query Conditioning, Wrong Facts, and Distractor Interference
研究评估Doc-to-LoRA(D2L)将文档编译为低秩适配器以内部化用户记忆的可行性,在Gemma-2-2B与Qwen3-4B上其准确率低于上下文学习,增加文档会带来显著干扰。
arXiv:2611.30825v1 Announce Type: new Abstract: Doc-to-LoRA (D2L) compiles documents into low-rank adapters, allowing language models to use their contents without repeatedly processing the original text. We investigate its suitability for internalizing user memories through factual question answering, controlled interventions, and a production MidBrain memory pipeline. Across Gemma-2-2B and Qwen3-4B, D2L loses accuracy relative to in-context learning, with additional documents introducing substantial interference. Single-document errors frequently match answers to other questions about the same passage, suggesting unreliable question-answer attribution. Layer-wise interventions show that interference accumulates across depth, with more concentrated early damage at larger bank sizes on Gemma. With eight documents, applying the full bank in the initial layers gives similar accuracy to withholding all document contributions there. Source membership is detectable in intermediate states, but trained readers do not reliably resolve the interference. On PersonaMem-v2, joint compilation and normalized adapter composition achieve accuracy close to consolidated text memory when retrieved episodes remain text, but the resulting token savings are modest. Measured throughput gains also depend on model and batch size despite substantial reductions in analytical compute. Together, these findings limit the practical case for D2L as a replacement for text-based memory and motivate investigating online-learning methods that acquire personalized behavior from interactions in which memory is used.
来源:arXiv (AI + Vision + Imaging) · arxiv.org