arXiv:2409.09510cs.CL2024-09被引 34

对比两种隐私保护个性化方法,发现数据多时用参数微调,数据少时用检索增强更优。

Comparing Retrieval-Augmentation and Parameter-Efficient Fine-Tuning for Privacy-Preserving Personalization of Large Language Models

  • 用参数高效微调学习用户专属模型参数,替代传统检索增强生成。
  • 平均提升14.92%(RAG)和1.07%(PEFT),融合后达15.98%。
  • 数据量大时微调更优,冷启动用户更适合检索增强,适合隐私敏感场景。

尽管在搜索、推荐和问答任务中影响显著,但针对大语言模型(LLM)的隐私保护个性化方法仍探索有限。主流方法为检索增强生成(RAG),通过从用户个人数据中检索信息丰富输入提示以生成个性化输出。本文首次系统研究参数高效微调(PEFT)用于LLM个性化,并在LaMP基准的七个多样化数据集上全面比较了RAG与PEFT方案。结果显示,二者平均分别比非个性化LLM提升14.92%和1.07%;结合使用可进一步提升至15.98%,表明两者集成有效。此外,发现用户数据量与PEFT效果呈正相关:对数据少的冷启动用户,RAG更优;数据多时,PEFT表现更好。

原文摘要 · Abstract (English)

Despite its substantial impact on various search, recommendation, and question answering tasks, privacy-preserving methods for personalizing large language models (LLMs) have received relatively limited exploration. There is one primary approach in this area through retrieval-augmented generation (RAG), which generates personalized outputs by enriching the input prompt with information retrieved from the user's personal data. This paper studies an orthogonal approach to RAG that involves learning user-dependent LLM parameters through parameter-efficient fine-tuning (PEFT). This paper presents the first systematic study for exploration of PEFT for LLM personalization and provides an extensive comparisons between RAG- and PEFT-based solutions, across a broad set of seven diverse datasets from the LaMP benchmark. Our results demonstrate that, on average, both RAG- and PEFT-based personalization methods yield 14.92% and 1.07% improvements over non-personalized LLMs, respectively. When combining RAG with PEFT, we observe a further improvement of 15.98%, highlighting the effectiveness of their integration in enhancing personalized text generation. Additionally, we identify a positive correlation between the amount of user data available and the effectiveness of PEFT. This finding suggests that RAG is particularly beneficial for cold-start users -- users with limited personal data -- while PEFT performs better when more user-specific data is available.

LLM个性化隐私保护RAGPEFT

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。