arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.02854cs.CLcs.AI
收藏

确保通用用例生成式AI系统的可复现性:一个面向回归测试与开放数据集的框架

Ensuring Reproducibility in Generative AI Systems for General Use Cases: A Framework for Regression Testing and Open Datasets

Galirage Inc.(加利拉格公司)

Masumi Morishige, Ryo Koshihara

AI总结:

本文提出轻量级可扩展基准GPR-bench,通过英日双语开放数据集和LLM-as-a-Judge自动评估实现通用生成式AI的回归测试,并实验表明简洁提示能显著提升简洁性而几乎不损失准确率。

摘要:

对于行为可能随着每次模型更新或提示修订而发生漂移的生成式AI系统而言,可复现性和可靠性仍然是紧迫的挑战。我们引入了GPR-bench,这是一个轻量级、可扩展的基准,用于将回归测试落地到通用用例中。GPR-bench将一个开放的、双语的(英语和日语)数据集与自动化评估流水线相结合,该数据集涵盖八个任务类别(例如文本生成、代码生成和信息检索),每个任务类别包含10个场景(每种语言共80个测试用例);自动化评估流水线采用“LLM-as-a-Judge”对正确性和简洁性进行评分。在三个近期模型版本——gpt-4o-mini、o3-mini和o4-mini——以及两种提示配置(默认配置与简洁写作指令)上的实验揭示了异质的质量表现。我们的结果表明,较新的模型通常会提高正确性,但差异不大且在统计上不显著,这表明GPR-bench可能不足以区分近期模型版本之间的差异。相比之下,简洁写作指令显著提升了简洁性(+12.37个百分点,Mann-Whitney U检验:p < 0.001,效应量r = 0.2995),同时对准确率的损害极小(-1.7个百分点),证明了提示工程的有效性。GPR-bench以MIT许可证发布,降低了启动可复现性监控的门槛,并为社区驱动的扩展提供了基础,同时也对面向快速演进语言模型的基准设计提出了重要考量。

英文摘要:

Reproducibility and reliability remain pressing challenges for generative AI systems whose behavior can drift with each model update or prompt revision. We introduce GPR-bench, a lightweight, extensible benchmark that operationalizes regression testing for general purpose use cases. GPR-bench couples an open, bilingual (English and Japanese) dataset covering eight task categories (e.g., text generation, code generation, and information retrieval) and 10 scenarios in each task categories (80 total test cases for each language) with an automated evaluation pipeline that employs "LLM-as-a-Judge" scoring of correctness and conciseness. Experiments across three recent model versions - gpt-4o-mini, o3-mini, and o4-mini - and two prompt configurations (default versus concise-writing instruction) reveal heterogeneous quality. Our results show that newer models generally improve correctness, but the differences are modest and not statistically significant, suggesting that GPR-bench may not be sufficiently challenging to differentiate between recent model versions. In contrast, the concise-writing instruction significantly enhances conciseness (+12.37 pp, Mann-Whitney U test: p < 0.001, effect size r = 0.2995) with minimal degradations on accuracy (-1.7 pp), demonstrating the effectiveness of prompt engineering. Released under the MIT License, GPR- bench lowers the barrier to initiating reproducibility monitoring and provides a foundation for community-driven extensions, while also raising important considerations about benchmark design for rapidly evolving language models.

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

↑