arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.24657cs.AIcs.SE
收藏

超越纯推理部署:比较基于权重的巩固与级联压缩

Beyond Inference-Only Deployment: Comparing Weight-Based Consolidation Against Cascading Compaction

University of Melbourne(墨尔本大学)

Simon Dennis, Kevin Shabahang, Hao Guo, Rivaan Patil

AI总结:

针对大型语言模型纯推理部署中用户知识无法持久化的问题,提出通过夜间反射、合成和LoRA微调将交互知识巩固到模型权重中,实验表明该方法相比级联压缩知识保留率提升43.6个百分点。

摘要:

主流LLM平台以纯推理配置部署模型:模型服务请求但从不更新每个用户的权重。用户必须反复重新教授偏好、修正和项目上下文,基于上下文的变通方法消耗上下文窗口空间,并在级联压缩下退化。我们评估了一种替代方案:通过反射、合成和低秩适应(LoRA)微调,在单个消费级GPU上将交互知识夜间巩固到模型权重中。在十次真实的软件开发对话中(n=10,三种记忆类型共1146个测试问题),三轮级联压缩保留了36.8±3.0%的知识(介于11.8%的无上下文下限和90.1%的全上下文上限之间),而巩固保留了80.4±1.3%——提升了43.6个百分点(配对t(9)=14.8,p<0.001),是压缩保留量的两倍多,其中程序性修正(36.3%->74.6%)和情景项目事实(31.5%->78.2%)的增益最大。作为方法论上的附带说明,平均每token验证交叉熵与LLM判断的准确性呈负相关(r=-0.51),而中位数每token验证交叉熵几乎完全跟踪准确性(r=+0.99):在容忍表面形式变化的评估器下,平均值具有误导性,而重尾鲁棒统计量才是可靠的信号。持久个性化需要超越纯推理部署,转向将知识巩固到权重的架构。

英文摘要:

Major LLM platforms deploy models in an inference-only configuration: the model serves requests but never updates per-user weights. Users must repeatedly re-teach preferences, corrections, and project context, and context-based workarounds consume context-window space and degrade under cascading compaction. We evaluate an alternative: nightly consolidation of interaction knowledge into model weights via reflection, synthesis, and Low-Rank Adaptation (LoRA) fine-tuning on a single consumer GPU. Across ten realistic software development conversations (n = 10, 1,146 test questions across three memory types), three cycles of cascading compaction retain 36.8 +/- 3.0% of knowledge (between an 11.8% no-context floor and a 90.1% full-context ceiling), while consolidation retains 80.4 +/- 1.3% -- a 43.6 pp gain (paired t(9) = 14.8, p < 0.001) that more than doubles what compaction preserves, with the largest gains on procedural corrections (36.3% -> 74.6%) and episodic project facts (31.5% -> 78.2%). As a methodological aside, mean per-token validation cross-entropy is negatively correlated with LLM-judged accuracy (r = -0.51) while median per-token validation cross-entropy tracks accuracy almost exactly (r = +0.99): under evaluators that tolerate surface-form variation, the mean is misleading and a heavy-tail-robust statistic is the faithful signal. Persistent personalization requires moving beyond inference-only deployment toward architectures that consolidate knowledge into weights.

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

↑