用压缩合并技术让大模型高效个性化,节省算力还保持效果
ComMer: a Framework for Compressing and Merging User Data for Personalization
- 将用户文档压缩成紧凑表示,再合并输入冻结的大模型
- 在有限计算资源下,技能类任务表现优于传统方法
- 适合资源受限场景下的个性化应用,如聊天机器人、推荐系统
大型语言模型(LLMs)在众多任务中表现出色,但在个性化应用中适应新数据面临资源与计算限制。现有方法要么依赖提示中暴露新数据(受上下文长度限制且推理成本高),要么采用微调(训练和更新成本大)。本文提出 ComMer(Compress and Merge)框架,通过将用户文档压缩为紧凑表征并合并后输入冻结的 LLM,实现高效个性化。我们在两类个性化任务上评估:基于 LaMP 基准的微博改写与个性化新闻标题生成(技能类),以及 PerLTQA 数据集上的知识密集型任务。实验表明,在推理预算受限时,ComMer 在技能类任务中表现更优;但在知识密集型任务中因信息丢失而存在局限。结果揭示了多文档压缩在个性化中的权衡与优化方向。
原文摘要 · Abstract (English)
Large Language Models (LLMs) excel at a wide range of tasks, but adapting them to new data, particularly for personalized applications, poses significant challenges due to resource and computational constraints. Existing methods either rely on exposing fresh data to the model through the prompt, which is limited by context size and computationally expensive at inference time, or fine-tuning, which incurs substantial training and update costs. In this paper, we introduce ComMer - Compress and Merge - a novel framework that efficiently personalizes LLMs by compressing users' documents into compact representations, which are then merged and fed into a frozen LLM. We evaluate ComMer on two types of personalization tasks - personalized skill learning, using the tweet paraphrasing dataset and the personalized news headline generation dataset from the LaMP benchmark, and knowledge-intensive, using the PerLTQA dataset. Our experiments demonstrate that in constrained inference budget scenarios ComMer achieves superior quality in skill learning tasks, while highlighting limitations in knowledge-intensive settings due to the loss of detailed information. These results offer insights into trade-offs and potential optimizations in multi-document compression for personalization.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。