Ensuring Reproducibility in Generative AI Systems for General Use Cases: A Framework for Regression Testing and Open Datasets
Masumi Morishige, Ryo Koshihara
TL;DR
The paper addresses reproducibility and regression risks in rapidly evolving generative AI by introducing GPR-bench, a regression-testing framework that pairs a bilingual, task-diverse dataset with an automated LLM-as-Judge evaluation pipeline. It formalizes a regression-testing methodology and provides an open-source toolkit for running, recording, and comparing outputs across model versions and prompt configurations. Empirically, it shows that prompt engineering can yield substantial conciseness gains with only modest accuracy costs, while newer model versions provide limited, often non-significant improvements in correctness on the benchmark. The framework emphasizes lightweight extensibility, multilingual coverage, and model-agnostic scoring, offering a practical pathway for continuous, community-driven evaluation and highlighting design considerations for benchmarks in fast-moving language-model landscapes.
Abstract
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.
