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

Pref-CTRL: 基于偏好的大语言模型对齐方法使用表征编辑

Pref-CTRL: Preference Driven LLM Alignment using Representation Editing

University of Technology Sydney(悉尼科技大学)

Imranul Ashrafi, Inigo Jauregi Unanue, Massimo Piccardi

AI总结:

本文提出Pref-CTRL,一种基于偏好的训练框架,通过多目标价值函数改进偏好数据结构,优于RE-Control并在跨领域数据集上表现更佳。

摘要:

测试时间对齐方法通过在推理时对大语言模型(LLM)的内部表示进行轻量干预来引导输出,提供了一种有前景的替代方案。最近,RE-Control(Kong等,2024)提出利用在LLM隐藏状态上训练的外部价值函数通过梯度编辑来引导生成。虽然有效,但该方法忽略了对齐任务的一个关键特征,即通常被表述为从候选响应之间的偏好学习。为此,本文提出了一种新的基于偏好的训练框架Pref-CTRL,使用多目标价值函数更好地反映偏好数据的结构。我们的方法在两个基准数据集上优于RE-Control,并在跨领域数据集上表现出更好的泛化能力。我们的源代码可在https://github.com/UTS-nlPUG/pref-ctrl上获得。

英文摘要:

Test-time alignment methods offer a promising alternative to fine-tuning by steering the outputs of large language models (LLMs) at inference time with lightweight interventions on their internal representations. Recently, a prominent and effective approach, RE-Control (Kong et al., 2024), has proposed leveraging an external value function trained over the LLM's hidden states to guide generation via gradient-based editing. While effective, this method overlooks a key characteristic of alignment tasks, i.e. that they are typically formulated as learning from human preferences between candidate responses. To address this, in this paper we propose a novel preference-based training framework, Pref-CTRL, that uses a multi-objective value function to better reflect the structure of preference data. Our approach has outperformed RE-Control on two benchmark datasets and showed greater generalization on out-of-domain datasets. Our source code is available at https://github.com/UTS-nlPUG/pref-ctrl.

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

↑