Synthline:一种利用大语言模型进行合成需求工程数据生成的产品线方法
Synthline: A Product Line Approach for Synthetic Requirements Engineering Data Generation using Large Language Models
AI总结:
本文提出Synthline产品线方法,利用大语言模型生成合成需求工程数据,实验证明合成数据与真实数据结合可显著提升缺陷识别模型的精确率和召回率,有效缓解数据稀缺问题。
摘要:
尽管现代需求工程(RE)高度依赖自然语言处理和机器学习(ML)技术,但其有效性受到高质量数据集稀缺的限制。本文介绍了Synthline,一种产品线(PL)方法,利用大语言模型系统地为基于分类的用例生成合成RE数据。通过在利用ML识别需求规格缺陷的背景下进行的实证评估,我们研究了生成数据的多样性及其用于训练下游模型的效用。我们的分析表明,虽然合成数据集表现出的多样性低于真实数据,但它们足以作为可行的训练资源。此外,我们的评估显示,将合成数据与真实数据相结合可带来显著的性能提升。具体而言,与仅在真实数据上训练的模型相比,混合方法在精确率上实现了高达85%的提升,召回率提高了2倍。这些发现证明了基于PL的合成数据生成在解决RE中数据稀缺问题方面的潜力。我们公开了实现代码和生成的数据集,以支持该领域的可复现性和进一步发展。
英文摘要:
While modern Requirements Engineering (RE) heavily relies on natural language processing and Machine Learning (ML) techniques, their effectiveness is limited by the scarcity of high-quality datasets. This paper introduces Synthline, a Product Line (PL) approach that leverages Large Language Models to systematically generate synthetic RE data for classification-based use cases. Through an empirical evaluation conducted in the context of using ML for the identification of requirements specification defects, we investigated both the diversity of the generated data and its utility for training downstream models. Our analysis reveals that while synthetic datasets exhibit less diversity than real data, they are good enough to serve as viable training resources. Moreover, our evaluation shows that combining synthetic and real data leads to substantial performance improvements. Specifically, hybrid approaches achieve up to 85% improvement in precision and a 2x increase in recall compared to models trained exclusively on real data. These findings demonstrate the potential of PL-based synthetic data generation to address data scarcity in RE. We make both our implementation and generated datasets publicly available to support reproducibility and advancement in the field.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。