arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.19148cs.CLcs.LG
收藏

Amulet:面向大语言模型个性化偏好适配的测试时重对齐方法

Amulet: ReAlignment During Test Time for Personalized Preference Adaptation of LLMs

Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);State Key Laboratory of General Artificial Intelligence, BIGAI(北京通用人工智能研究院通用人工智能国家重点实验室);Shanghai Jiao Tong University(上海交通大学);Zhongguancun Academy(中关村学院)

Zhaowei Zhang, Fengshuo Bai, Qizhi Chen, Chengdong Ma, Mingzhi Wang, Haoran Sun, Zilong Zheng, Yaodong Yang

AI总结:

针对大语言模型训练偏好与用户个性化动态偏好不匹配的问题,提出免训练测试时重对齐框架Amulet,通过将token解码建模为在线学习问题并采用闭式解优化,在多场景下实现性能提升且保持高效。

摘要:

如何利用静态通用数据集让大语言模型(LLM)与用户偏好对齐,已被广泛研究。但用户偏好通常具有个性化、动态变化的特点,且会因文化、价值观或时间不同而存在差异,这导致大语言模型实际使用时,真实用户偏好往往与模型开发者训练时采用的偏好不匹配。由于我们无法针对每一种需求收集足够数据并重新训练,研究基于骨干大语言模型、在测试阶段运行的高效实时偏好适配方法具有重要意义。为此,我们提出Amulet——一种全新的免训练框架,它在用户提供的简单提示引导下,将每个token的解码过程建模为独立的在线学习问题,从而实现实时优化以满足用户的个性化偏好。为降低每个token的优化过程带来的计算开销,我们还为优化过程的每一步迭代提供了闭式解,将计算时间成本降至可忽略的水平。详细实验结果表明,Amulet在不同大语言模型、数据集与用户偏好组合的丰富场景下,均能实现显著的性能提升,同时保持可接受的计算效率。

英文摘要:

How to align large language models (LLMs) with user preferences from a static general dataset has been frequently studied. However, user preferences are usually personalized, changing, and diverse regarding culture, values, or time. This leads to the problem that the actual user preferences often do not coincide with those trained by the model developers in the practical use of LLMs. Since we cannot collect enough data and retrain for every demand, researching efficient real-time preference adaptation methods based on the backbone LLMs during test time is important. To this end, we introduce Amulet, a novel, training-free framework that formulates the decoding process of every token as a separate online learning problem with the guidance of simple user-provided prompts, thus enabling real-time optimization to satisfy users' personalized preferences. To reduce the computational cost brought by this optimization process for each token, we additionally provide a closed-form solution for each iteration step of the optimization process, thereby reducing the computational time cost to a negligible level. The detailed experimental results demonstrate that Amulet can achieve significant performance improvements in rich settings with combinations of different LLMs, datasets, and user preferences, while maintaining acceptable computational efficiency.

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

↑