arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.09147cs.CLcs.AI
收藏

LLM-as-a-qualitative-judge: 自动化自然语言生成中的错误分析

LLM-as-a-qualitative-judge: automating error analysis in natural language generation

Naver Labs Europe(纳维尔实验室欧洲分公司);Insight Research Ireland Centre for Data Analytics, Data Science Institute, University of Galway(爱尔兰洞察研究数据分析中心、数据科学研究所、Galway大学);University of Amsterdam(阿姆斯特丹大学);University of Copenhagen(哥本哈根大学);STMicroelectronics(STMicroelectronics公司);Télécom Paris(巴黎电信学院);Deutsches Forschungszentrum für Künstliche Intelligenz GmbH (DFKI)(德国人工智能研究中心有限公司);Technische Universität Berlin(柏林技术大学);Univ. Grenoble Alpes, CNRS, Grenoble INP, LIG(格勒诺布尔阿尔卑斯大学、CNRS、格勒诺布尔INP、LIG)

Nadezhda Chirkova, Tunde Oluwaseyi Ajayi, Seth Aycock, Zain Muhammad Mujahid, Vladana Perlić, Ekaterina Borisova, Markarit Vartampetian

AI总结:

提出LLM-as-a-qualitative-judge方法,通过生成结构化报告帮助改进自然语言生成系统。

摘要:

提示大型语言模型(LLMs)来评估生成的文本,即LLM-as-a-judge,已成为自然语言生成(NLG)中的标准评估方法,但主要用作定量工具,即以数值评分作为主要输出。在本工作中,我们提出了LLM-as-a-qualitative-judge,一种基于LLM的评估方法,其主要输出是NLG系统输出中常见问题类型的结构化报告。我们的方法旨在为开发者提供有意义的见解,以确定给定NLG系统可以做出哪些改进,并由两个主要步骤组成,即开放性实例问题分析和使用直观累积算法对发现的问题进行聚类。我们还介绍了一种评估所提方法的策略,并结合来自12个NLG数据集的约300个问题注释。我们的结果表明,LLM-as-a-qualitative-judge输出的实例特定问题在2/3的情况下与人类注释的问题匹配,并且LLM-as-a-qualitative-judge能够产生类似于人类注释者所编写的错误类型报告。我们还通过案例研究展示了使用LLM-as-a-qualitative-judge如何显著提高NLG系统的性能。我们的代码和数据在https://github.com/tunde-ajayi/llm-as-a-qualitative-judge上公开可用。

英文摘要:

Prompting large language models (LLMs) to evaluate generated text, known as LLM-as-a-judge, has become a standard evaluation approach in natural language generation (NLG), but is primarily used as a quantitative tool, i.e. with numerical scores as main outputs. In this work, we propose LLM-as-a-qualitative-judge, an LLM-based evaluation approach with the main output being a structured report of common issue types in the NLG system outputs. Our approach is targeted at providing developers with meaningful insights on what improvements can be done to a given NLG system and consists of two main steps, namely open-ended per-instance issue analysis and clustering of the discovered issues using an intuitive cumulative algorithm. We also introduce a strategy for evaluating the proposed approach, coupled with ~300 annotations of issues in instances from 12 NLG datasets. Our results show that instance-specific issues output by LLM-as-a-qualitative-judge match those annotated by humans in 2/3 cases, and that LLM-as-a-qualitative-judge is capable of producing error type reports resembling the reports composed by human annotators. We also demonstrate in a case study how the use of LLM-as-a-qualitative-judge can substantially improve NLG systems performance. Our code and data are publicly available at https://github.com/tunde-ajayi/llm-as-a-qualitative-judge.

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

↑