利用基于 Transformer 的语言模型自动化需求满足度评估
Leveraging Transformer-based Language Models to Automate Requirements Satisfaction Assessment
AI总结:
本文提出 Sat-BERT、DSat-BERT 及其多任务学习变体,以解决传统片段式 IR 方法丢失跨句关键概念的问题,并在五个 RSA 数据集上显著提升评估准确率。
摘要:
需求满足度评估(Requirements Satisfaction Assessment,RSA)用于评估与单个需求相关联的一组设计元素是否对该需求提供了充分覆盖——通常意味着需求中的所有概念至少由一个设计元素加以处理。对于具有任何形式层次分解的系统,尤其是安全关键或任务关键系统,RSA 是一项重要的软件工程活动。在以往研究中,研究人员使用基础的信息检索(Information Retrieval,IR)模型将需求和设计元素分解为若干片段,然后评估设计元素片段覆盖需求中所有片段的程度。然而,由于当句子被解析为独立片段时,许多贯穿整个句子的关键概念无法得到良好表示,因此结果准确率较低。本文利用自然语言处理的最新进展来提供显著更准确的结果。我们提出两种主要架构:Satisfaction BERT(Sat-BERT)和 Dual-Satisfaction BERT(DSat-BERT),以及用于改进满足度评估的多任务学习变体。我们在五个不同数据集上执行 RSA,并将各变体的结果与基于片段的传统方法进行比较。所有基于 BERT 的模型都显著优于传统基线,其中 Sat-BERT 给出最佳结果,在平均精度均值(Mean Average Precision)上实现了 124.75% 的平均提升。
英文摘要:
Requirements Satisfaction Assessment (RSA) evaluates whether the set of design elements linked to a single requirement provide sufficient coverage of that requirement -- typically meaning that all concepts in the requirement are addressed by at least one of the design elements. RSA is an important software engineering activity for systems with any form of hierarchical decomposition -- especially safety or mission critical ones. In previous studies, researchers used basic Information Retrieval (IR) models to decompose requirements and design elements into chunks, and then evaluated the extent to which chunks of design elements covered all chunks in the requirement. However, results had low accuracy because many critical concepts that extend across the entirety of the sentence were not well represented when the sentence was parsed into independent chunks. In this paper we leverage recent advances in natural language processing to deliver significantly more accurate results. We propose two major architectures: Satisfaction BERT (Sat-BERT), and Dual-Satisfaction BERT (DSat-BERT), along with their multitask learning variants to improve satisfaction assessments. We perform RSA on five different datasets and compare results from our variants against the chunk-based legacy approach. All BERT-based models significantly outperformed the legacy baseline, and Sat-BERT delivered the best results returning an average improvement of 124.75% in Mean Average Precision.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。