arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.18679cs.CL
收藏

无需奖励模型和人类偏好数据的生成式大语言模型判别式微调

Discriminative Finetuning of Generative Large Language Models without Reward Models and Human Preference Data

Siqi Guo, Ilgee Hong, Vicente Balmaseda, Changlong Yu, Liang Qiu, Xin Liu, Haoming Jiang, Tuo Zhao, Tianbao Yang

AI总结:

本文提出判别式微调 DFT,通过显式建模答案级判别似然并区分正负输出,在无需奖励模型或人类偏好数据的情况下提升 LLM 对齐效果。

摘要:

监督微调(SFT)已成为利用输入-输出对的监督数据集来对齐预训练大语言模型(LLM)的关键步骤。然而,尽管处于监督之下,SFT 本质上仍受限于其生成式训练目标。为解决这些局限,现有常见策略是在 SFT 之后进行单独的偏好优化(PO)阶段,该阶段依赖人工标注的偏好数据或强大的奖励模型来指导学习过程。本文通过探索传统监督学习中最成功的技术之一——判别式学习,来解决 SFT 的局限。我们提出判别式微调(DFT),这是 SFT 的一种改进变体,可减轻收集人工标注偏好数据或训练强大奖励模型的负担。与采用生成式方法并忽视负样本数据的 SFT 不同,DFT 采用判别式范式,在提高正确答案概率的同时抑制潜在错误答案,目标是数据预测而非 token 预测。我们的贡献包括:(i)一个用于微调 LLM 的判别式概率框架,通过在给定输入时显式建模某一答案在所有可能输出中的判别似然;(ii)优化该判别似然的高效算法;以及(iii)大量实验证明 DFT 的有效性,其性能优于 SFT,并且即使不优于 SFT→PO,也与之相当。代码可在 https://github.com/Optimization-AI/DFT 获取。

英文摘要:

Supervised fine-tuning (SFT) has become a crucial step for aligning pretrained large language models (LLMs) using supervised datasets of input-output pairs. However, despite being supervised, SFT is inherently limited by its generative training objective. To address its limitations, the existing common strategy is to follow SFT with a separate phase of preference optimization (PO), which relies on either human-labeled preference data or a strong reward model to guide the learning process. In this paper, we address the limitations of SFT by exploring one of the most successful techniques in conventional supervised learning: discriminative learning. We introduce Discriminative Fine-Tuning (DFT), an improved variant of SFT, which mitigates the burden of collecting human-labeled preference data or training strong reward models. Unlike SFT that employs a generative approach and overlooks negative data, DFT adopts a discriminative paradigm that increases the probability of positive answers while suppressing potentially negative ones, aiming for data prediction instead of token prediction. Our contributions include: (i) a discriminative probabilistic framework for fine-tuning LLMs by explicitly modeling the discriminative likelihood of an answer among all possible outputs given an input; (ii) efficient algorithms to optimize this discriminative likelihood; and (iii) extensive experiments demonstrating DFT's effectiveness, achieving performance better than SFT and comparable to if not better than SFT$\rightarrow$PO. The code can be found at https://github.com/Optimization-AI/DFT.

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

↑