用随机数检测并校正大模型评分偏见,提升评估公平性
Mitigating Scoring Bias in LLM-as-a-Judge via Random Number Generation

- 让大模型生成随机数,通过分布偏离度识别其内在数值偏好
- 在四类任务中,新方法显著优于无校正和传统校准方法
- 适用于需要可靠自动评分的场景,如模型对齐、摘要评价
大语言模型作为文本质量评估器(LLM-as-a-Judge)虽超越传统依赖参考文本的指标,但常因评分偏见而产生固定化打分。本文提出一种新方法:让模型生成随机数,通过观测数值分布与均匀分布的偏差来识别其潜在数值偏见;在具体评估任务中,将任务定义加入随机数生成提示,以测量任务特定的隐含偏见,并据此校正输入对应的词元生成概率。在模型对齐、摘要评价、语义文本相似度和相关性四个任务上的实验表明,该方法优于无去偏和以往校准方法。结果还显示评分偏见随模型、任务及分数范围变化,强调需针对具体情况测量隐含偏见。
原文摘要 · Abstract (English)
Large Language Models (LLMs) are often used as evaluators of text quality, known as LLM-as-a-Judge, which can outperform conventional automatic evaluation metrics that rely on reference texts. However, LLM evaluators tend to generate particular scores regardless of the context of the evaluated text, which is known as scoring bias. This study proposes a novel method to mitigate this scoring bias. An LLM is instructed to randomly generate number tokens, and the latent numerical bias of the LLM is identified by measuring the deviation of the observed distribution of numbers from the uniform distribution. A definition of a downstream task, for which an LLM evaluator is used, is added to the prompts for random number generation to measure task-specific latent number bias. In the evaluation by an LLM, the token generation probabilities for a given input are rectified considering the LLM's latent number bias. Results of the experiment on four different tasks, evaluation of LLM alignment, evaluation of summarization, Semantic Textual Similarity, and Semantic Textual Relatedness, demonstrate that our proposed method outperforms the baselines, including an LLM without debiasing and previous calibration methods. In addition, it is confirmed that scoring bias varies across LLMs, tasks, and score ranges, indicating the importance of measuring latent number bias as the case may be.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。