Recent breakthroughs in deep-learning (DL) approaches have resulted in the dynamic generation of trace links that are far more accurate than was previously possible. However, DL-generated links lack clear explanations, and therefore non-experts in the domain can find it difficult to understand the underlying semantics of the link, making it hard for them to evaluate the link's correctness or suitability for a specific software engineering task. In this paper we present a novel NLP pipeline for generating and visualizing trace link explanations. Our approach identifies domain-specific concepts, retrieves a corpus of concept-related sentences, mines concept definitions and usage examples, and identifies relations between cross-artifact concepts in order to explain the links. It applies a post-processing step to prioritize the most likely acronyms and definitions and to eliminate non-relevant ones. We evaluate our approach using project artifacts from three different domains of interstellar telescopes, positive train control, and electronic health-care systems, and then report coverage, correctness, and potential utility of the generated definitions. We design and utilize an explanation interface which leverages concept definitions and relations to visualize and explain trace link rationales, and we report results from a user study that was conducted to evaluate the effectiveness of the explanation interface. Results show that the explanations presented in the interface helped non-experts to understand the underlying semantics of a trace link and improved their ability to vet the correctness of the link.
翻译:近来在深层次学习方法(DL)方面的突破导致动态生成了比以前可能做到的更准确得多的跟踪链接,然而,DL产生的链接缺乏清晰的解释,因此该领域的非专家可能发现难以理解链接的基本语义,使他们难以评价链接的正确性或是否适合具体的软件工程任务。在本文件中,我们提出了一个新的NLP管道,用于生成和直观化跟踪链接解释。我们的方法确定了特定领域的概念,检索了一系列与概念相关的句子、地雷概念定义和使用实例,并确定了交叉艺术概念之间的关系,以解释这些联系。它采用后处理步骤,将最可能采用的缩略语和定义列为优先事项,并消除非相关定义。我们用三个不同领域的项目文物评估我们的方法,即:从星际望远镜、积极的火车控制和电子保健系统,然后报告生成的定义的覆盖面、正确性和潜在效用。我们设计并使用一个解释界面,利用概念定义的定义定义和关系对可视性和关联加以解释,以便解释和解释这些关联。它应用后处理步骤,将最有可能的缩略缩缩缩缩定义和解释这些链接,我们从用户对结果作出不理解。