arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.08972cs.CLcs.AI
收藏

基于试错-解释上下文学习的免调参个性化对齐

Tuning-Free Personalized Alignment via Trial-Error-Explain In-Context Learning

University of Southern California(南加州大学);Information Sciences Institute(信息科学研究所);Amazon AGI(亚马逊AGI)

Hyundong Cho, Karishma Sharma, Nicolaas Jedema, Leonardo F. R. Ribeiro, Alessandro Moschitti, Ravi Krishnan, Jonathan May

AI总结:

本文提出免调参的试错-解释上下文学习(TICL),通过迭代加入负样本和解释构建用户专属提示,在少于10个示例的条件下实现文本生成个性化,并在多个写作任务上超越现有基线。

摘要:

语言模型通常对齐于多数人的集体偏好,导致生成结果较为泛化,难以符合特定用户的风格。本文提出试错-解释上下文学习(TICL),这是一种免调参方法,可在每位用户少于10个示例的条件下,为文本生成任务实现语言模型个性化。TICL通过试错-解释过程迭代扩展上下文学习提示,加入模型生成的负样本和解释,从而针对特定用户风格提供细粒度引导。在以LLM作为评判器的成对比较中,TICL相对此前最优方法取得了最高91.5%的胜率,并在撰写电子邮件、论文和新闻文章等个性化对齐任务上优于具有竞争力的免调参基线。词汇分析和定性分析均表明,负样本和解释使语言模型能够更有效地学习风格上下文,并克服其零样本输出中偏向结构化短语和正式表达的问题。TICL通过前置推理计算来构建用户专属的上下文学习提示,在测试时无需额外生成步骤,为个性化对齐提供了一种新颖而简洁的方法。

英文摘要:

Language models are aligned to the collective voice of many, resulting in generic outputs that do not align with specific users' styles. In this work, we present Trial-Error-Explain In-Context Learning (TICL), a tuning-free method that personalizes language models for text generation tasks with fewer than 10 examples per user. TICL iteratively expands an in-context learning prompt via a trial-error-explain process, adding model-generated negative samples and explanations that provide fine-grained guidance towards a specific user's style. TICL achieves favorable win rates on pairwise comparisons with LLM-as-a-judge up to 91.5% against the previous state-of-the-art and outperforms competitive tuning-free baselines for personalized alignment tasks of writing emails, essays and news articles. Both lexical and qualitative analyses show that the negative samples and explanations enable language models to learn stylistic context more effectively and overcome the bias towards structural and formal phrases observed in their zero-shot outputs. By front-loading inference compute to create a user-specific in-context learning prompt that does not require extra generation steps at test time, TICL presents a novel yet simple approach for personalized alignment.

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

↑