2025-02-28 · 专家 · 机器学习 · 自然语言处理

FSPO: Few-Shot Preference Optimization of Synthetic Preference Data in LLMs Elicits Effective Personalization to Real Users

本文提出了一种名为FSPO的少量样本偏好优化方法,通过合成偏好数据在LLMs中实现有效的个性化,以适应真实用户的需求。

更新于 2025-02-28。作者:Anikait Singh、Sheryl Hsu、Kyle Hsu、Eric Mitchell、Stefano Ermon、Tatsunori Hashimoto、Archit Sharma、Chelsea Finn。

中文摘要

有效个性化大型语言模型(LLMs)对于各种用户界面应用至关重要,例如虚拟助手和内容推荐。受LLMs强大的上下文学习能力的启发,我们提出了少量样本偏好优化(FSPO),将奖励建模重新构造成一个元学习问题。在此框架下,LLM通过从用户那里获得少量标记的偏好来快速适应用户,为用户构建个性化的奖励函数。此外,由于现实世界的偏好数据稀缺且难以大规模收集,我们提出了精心设计的方案来构建用于个性化的合成偏好数据集,使用公开可用的LLMs生成超过1百万个合成个性化偏好。特别是,为了成功从合成数据迁移到真实用户,我们发现数据表现出高度多样性和连贯、自洽的结构至关重要。我们在三个领域对FSPO进行了评估:电影评论、基于教育背景的教学适应和一般性问题回答,以及一项受控的人体研究。总体而言,FSPO在生成针对合成用户的个性化回复时平均达到了87%的Alpaca Eval胜率,在开放式问题回答中,与真实人类用户相比,胜率为72%。

英文摘要

Effective personalization of LLMs is critical for a broad range of user-interfacing applications such as virtual assistants and content curation. Inspired by the strong in-context learning capabilities of LLMs, we propose Few-Shot Preference Optimization (FSPO), which reframes reward modeling as a meta-learning problem. Under this framework, an LLM learns to quickly adapt to a user via a few labeled preferences from that user, constructing a personalized reward function for them. Additionally, since real-world preference data is scarce and challenging to collect at scale, we propose careful design choices to construct synthetic preference datasets for personalization, generating over 1M synthetic personalized preferences using publicly available LLMs. In particular, to successfully transfer from synthetic data to real users, we find it crucial for the data to exhibit both high diversity and coherent, self-consistent structure. We evaluate FSPO on personalized open-ended generation for up to 1,500 synthetic users across across three domains: movie reviews, pedagogical adaptation based on educational background, and general question answering, along with a controlled human study. Overall, FSPO achieves an 87% Alpaca Eval winrate on average in generating responses that are personalized to synthetic users and a 72% winrate with real human users in open-ended question answering.

解读

一句话总结

本文提出了一种名为FSPO的少量样本偏好优化方法,通过合成偏好数据在LLMs中实现有效的个性化,以适应真实用户的需求。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源