一句话:提出NLP流水线与解释界面,为深度学习生成的追踪链接生成概念定义和关系解释,并用用户研究验证其提升非专家理解与核验能力。
深度学习生成的追踪链接虽更准确,但缺乏清晰解释,领域非专家难以理解其语义并判断链接正确性或适用性。本文提出一个 NLP 流水线,用于生成并可视化追踪链接解释:识别领域特定概念,检索概念相关句子,挖掘概念定义与用法示例,识别跨制品概念间关系,并通过后处理保留最可能的缩写与定义、剔除无关项。作者在星际望远镜、正列车控制和电子医疗系统三个领域的项目制品上评估,报告定义覆盖率、正确性与潜在效用,并设计解释界面、开展用户研究。解释帮助非专家理解追踪链接底层语义,并提升其核验链接正确性的能力。
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 healthcare 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.