通过实例级随机化提升大模型评估稳定性与公平性
Instance-level Randomization: Toward More Stable LLM Evaluations
- 对每个测试实例独立随机化影响评分的变量
- 显著降低评分波动,避免模型排名被随机因素扭曲
- 计算成本低于一半,适合大规模模型公平对比
大语言模型(LLM)评估存在不稳定性,微小的随机因素变化(如少样本示例)会导致分数剧烈波动甚至改变模型排名。不同模型对随机设置偏好各异,固定设置的评估方式可能造成不公平比较。本文从理论上分析随机因素引发方差的根源,提出实例级随机化(ILR)方法:对每个测试实例独立随机化所有影响评分的因素,多次实验后取平均分。理论与实证结果表明,ILR可有效降低由随机因素导致的方差和不公平比较,在保持相似鲁棒性的前提下,计算成本不足此前方法的一半。
原文摘要 · Abstract (English)
Evaluations of large language models (LLMs) suffer from instability, where small changes of random factors such as few-shot examples can lead to drastic fluctuations of scores and even model rankings. Moreover, different LLMs can have different preferences for a certain setting of random factors. As a result, using a fixed setting of random factors, which is often adopted as the paradigm of current evaluations, can lead to potential unfair comparisons between LLMs. To mitigate the volatility of evaluations, we first theoretically analyze the sources of variance induced by changes in random factors. Targeting these specific sources, we then propose the instance-level randomization (ILR) method to reduce variance and enhance fairness in model comparisons. Instead of using a fixed setting across the whole benchmark in a single experiment, we randomize all factors that affect evaluation scores for every single instance, run multiple experiments and report the averaged score. Theoretical analyses and empirical results demonstrate that ILR can reduce the variance and unfair comparisons caused by random factors, as well as achieve similar robustness level with less than half computational cost compared with previous methods.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。