提出新方法精准测量大模型自偏见,避免质量混淆。
Beyond the Surface: Measuring Self-Preference in LLM Judgments
- 用真实质量标签替代模型自评,分离偏见与质量影响
- 发现模型越大、越强,自偏见越明显,但可通过训练数据缓解
- 从注意力机制角度揭示自偏见的潜在生成原理
近期研究发现,大语言模型在充当评判者时存在自偏见,即倾向于给自身生成的回答打更高分。现有方法通过比较模型对自己回答与他人回答的评分差异来衡量偏见,但此方式会将响应质量差异混入偏见评估中。为此,本文引入真实质量标签(gold judgments)作为响应质量的代理,提出DBG分数,用于衡量模型对其自身回答的评分与其对应真实质量标签之间的差距。由于金标准反映真实质量,该方法有效降低了质量对偏见测量的干扰。基于DBG分数,我们系统评估了不同版本、规模和推理能力的模型中的自偏见现象,并探究了两种影响因素:响应文本风格及判别模型的后训练数据。最后,从注意力机制视角分析了自偏见的潜在形成机制。代码与数据已公开于https://github.com/zhiyuanc2001/self-preference。
原文摘要 · Abstract (English)
Recent studies show that large language models (LLMs) exhibit self-preference bias when serving as judges, meaning they tend to favor their own responses over those generated by other models. Existing methods typically measure this bias by calculating the difference between the scores a judge model assigns to its own responses and those it assigns to responses from other models. However, this approach conflates self-preference bias with response quality, as higher-quality responses from the judge model may also lead to positive score differences, even in the absence of bias. To address this issue, we introduce gold judgments as proxies for the actual quality of responses and propose the DBG score, which measures self-preference bias as the difference between the scores assigned by the judge model to its own responses and the corresponding gold judgments. Since gold judgments reflect true response quality, the DBG score mitigates the confounding effect of response quality on bias measurement. Using the DBG score, we conduct comprehensive experiments to assess self-preference bias across LLMs of varying versions, sizes, and reasoning abilities. Additionally, we investigate two factors that influence and help alleviate self-preference bias: response text style and the post-training data of judge models. Finally, we explore potential underlying mechanisms of self-preference bias from an attention-based perspective. Our code and data are available at https://github.com/zhiyuanc2001/self-preference.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。