arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.08808cs.LGcs.AI
收藏

构建面向领域特定评估集的LLM-as-a-judge方法

Constructing Domain-Specific Evaluation Sets for LLM-as-a-judge

SambaNova Systems(SambaNova系统公司)

Ravi Raju, Swayambhoo Jain, Bo Li, Jonathan Li, Urmish Thakker

AI总结:

本文提出一种数据管道,通过手动策展、半监督聚类和分层抽样构建领域特定评估集,提升LLM-as-a-judge基准的可分离性和人类对齐性,显著优于现有基准。

摘要:

大型语言模型(LLMs)已经彻底改变了机器学习的格局,然而当前的基准测试往往无法捕捉这些模型在现实世界应用中的多样化行为。基准测试的有用性取决于其区分不同能力模型(可分离性)以及与人类偏好紧密对齐的能力。现有的框架如Alpaca-Eval 2.0 LC \cite{dubois2024lengthcontrolledalpacaevalsimpleway} 和 Arena-Hard v0.1 \cite{li2024crowdsourced} 受限于其专注于通用查询,且在法律、医学和多语言等领域缺乏多样性。在本文中,我们通过引入一种新颖的数据管道来解决这些局限性,该管道为LLM-as-a-Judge框架定制了多样化、领域特定的评估集。我们的方法结合了手动策展、半监督学习生成聚类以及分层抽样,以确保在广泛领域和语言中的均衡代表性。生成的评估集包含14个类别中的1573个样本,在十个顶级模型中展示了高可分离性(84%),与Chatbot Arena的一致性(84%)以及Spearman相关系数(0.915)。一致性值比Arena Hard高9%,比AlpacaEval 2.0 LC高20%,而Spearman系数比次优基准高0.7,展示了基准有用性的显著提升。我们进一步提供了一个开源评估工具,能够对用户定义类别中的模型性能进行细粒度分析,为从业者提供有价值的见解。这项工作为增强LLM评估方法的透明度、多样性和有效性做出了持续努力。

英文摘要:

Large Language Models (LLMs) have revolutionized the landscape of machine learning, yet current benchmarks often fall short in capturing the diverse behavior of these models in real-world applications. A benchmark's usefulness is determined by its ability to clearly differentiate between models of varying capabilities (separability) and closely align with human preferences. Existing frameworks like Alpaca-Eval 2.0 LC \cite{dubois2024lengthcontrolledalpacaevalsimpleway} and Arena-Hard v0.1 \cite{li2024crowdsourced} are limited by their focus on general-purpose queries and lack of diversity across domains such as law, medicine, and multilingual contexts. In this paper, we address these limitations by introducing a novel data pipeline that curates diverse, domain-specific evaluation sets tailored for LLM-as-a-Judge frameworks. Our approach leverages a combination of manual curation, semi-supervised learning to generate clusters, and stratified sampling to ensure balanced representation across a wide range of domains and languages. The resulting evaluation set, which includes 1573 samples across 14 categories, demonstrates high separability (84\%) across ten top-ranked models, and agreement (84\%) with Chatbot Arena and (0.915) Spearman correlation. The agreement values are 9\% better than Arena Hard and 20\% better than AlpacaEval 2.0 LC, while the Spearman coefficient is 0.7 more than the next best benchmark, showcasing a significant improvement in the usefulness of the benchmark. We further provide an open-source evaluation tool that enables fine-grained analysis of model performance across user-defined categories, offering valuable insights for practitioners. This work contributes to the ongoing effort to enhance the transparency, diversity, and effectiveness of LLM evaluation methodologies.

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

↑