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

自理性化提升作为细粒度评判器的大语言模型

Self-rationalization improves LLM as a fine-grained judge

Collinear AI(科林尼尔人工智能公司)
Prapti Trivedi, Aditya Gulati, Oliver Molenschot, Meghana Arakkal Rajeev, Rajkumar Ramamurthy, Keith Stevens, Tanveesh Singh Chaudhery, Jahnavi Jambholkar, Jame… 展开作者

Prapti Trivedi, Aditya Gulati, Oliver Molenschot, Meghana Arakkal Rajeev, Rajkumar Ramamurthy, Keith Stevens, Tanveesh Singh Chaudhery, Jahnavi Jambholkar, James Zou, Nazneen Rajani

AI总结:

本研究提出Self-Rationalization自理性化迭代方法,通过让大语言模型评判器生成多组带理由的判断、构建偏好对数据集并经DPO迭代微调,提升细粒度打分的理由质量与准确率,超越多种更大规模的基线模型。

摘要:

LLM-as-a-judge(大语言模型作为评判器)模型已被用于评估人类和AI生成的内容,具体方式是给出分数和评判理由。评判理由除了提升透明度外,还能帮助模型学习校准其判断。因此,增强模型的评判理由可以提升其校准能力,并最终提升内容打分能力。我们提出了Self-Rationalization(自理性化)方法,这是一个迭代优化评判模型理由的过程,进而提升细粒度可定制打分标准(即带有任意评估标准的李克特量表打分)的打分效果。自理性化的工作机制是:让模型针对同一输入生成多个带有理由的判断,从自身的判断中整理出偏好对数据集,再通过DPO(直接偏好优化)迭代微调评判模型。直观来看,该方法让评判模型通过学习自身的理由实现自我提升,从而获得更好的对齐效果和评估准确率。仅经过两轮迭代——且仅依赖训练集中的样本——人工评估显示,我们的评判模型学会了生成更高质量的理由,与仅通过带理由的监督微调(SFT)训练的模型相比,平均胜率达62%。该评判模型还在BigGen Bench和Reward Bench上取得了很高的打分准确率,性能甚至超过了规模更大的、采用带理由SFT、自一致性或best-of-N采样训练的模型3%到9%。

英文摘要:

LLM-as-a-judge models have been used for evaluating both human and AI generated content, specifically by providing scores and rationales. Rationales, in addition to increasing transparency, help models learn to calibrate its judgments. Enhancing a model's rationale can therefore improve its calibration abilities and ultimately the ability to score content. We introduce Self-Rationalization, an iterative process of improving the rationales for the judge models, which consequently improves the score for fine-grained customizable scoring criteria (i.e., likert-scale scoring with arbitrary evaluation criteria). Self-rationalization works by having the model generate multiple judgments with rationales for the same input, curating a preference pair dataset from its own judgements, and iteratively fine-tuning the judge via DPO. Intuitively, this approach allows the judge model to self-improve by learning from its own rationales, leading to better alignment and evaluation accuracy. After just two iterations -- while only relying on examples in the training set -- human evaluation shows that our judge model learns to produce higher quality rationales, with a win rate of $62\%$ on average compared to models just trained via SFT on rationale . This judge model also achieves high scoring accuracy on BigGen Bench and Reward Bench, outperforming even bigger sized models trained using SFT with rationale, self-consistency or best-of-$N$ sampling by $3\%$ to $9\%$.

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

↑