arXiv:2410.05495cs.CL2024-10被引 26

让大模型自己优化评价理由,提升细粒度评分准确性。

Self-rationalization improves LLM as a fine-grained judge

  • 让模型多次自评并基于自身判断生成偏好数据,迭代优化评价逻辑。
  • 仅两轮迭代后,评价理由质量显著提升,人类评估胜率62%。
  • 适合需要高精度、可定制评分标准的场景,如内容质量评估。

将大模型作为评判者已广泛用于评估人类与AI生成内容,通过打分和提供理由实现。理由不仅增强透明度,还能帮助模型校准判断。提升理由质量可增强模型的校准能力,进而提高评分效果。本文提出自理性(Self-Rationalization)机制:模型对同一输入生成多个带理由的判断,从中构建偏好对数据集,并通过直接偏好优化(DPO)迭代微调。该方法使模型能从自身输出中学习改进,提升对齐度与评估准确性。仅经过两轮迭代,不依赖额外标注数据,人类评估显示其理由质量优于仅经SFT训练的模型,平均胜率达62%。在BigGen Bench和Reward Bench上,该模型表现超越更大规模的SFT、自一致性或best-of-N采样训练模型,准确率领先3%至9%。

原文摘要 · Abstract (English)

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\%$.

大模型评估自我修正评分精度

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。