arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.11846cs.SEcs.SI
收藏

一种时空图神经网络软件缺陷自动分类框架

A Spatial-Temporal Graph Neural Network Framework for Automated Software Bug Triaging

Hongrun Wu, Yutao Ma, Zhenglong Xiang, Chen Yang, Keqing He

摘要:

错误分类过程是将错误报告分配给最合适的开发人员的重要过程,它与软件开发的质量和成本密切相关。由于人工错误分配是一项劳动密集型任务,特别是对于大型软件项目,许多基于机器学习的方法已经被提出来自动分类错误报告。尽管开发人员协作网络(DCN)在现实世界中是动态的和不断发展的,但大多数自动化错误分类方法都集中在单个时间片的静态抛出图上。此外,以前的研究都没有考虑开发人员之间的定期互动。针对上述问题,本文提出了一种时空动态图神经网络(ST-DGNN)框架,包括联合随机游走(JRWalk)机制和图递归卷积神经网络(GRCNN)模型。特别是,JRWalk的目标是通过考虑节点重要性和边重要性,使用两种采样策略对图中的局部拓扑结构进行采样。GRCNN有三个结构相同的组件,即,小时周期、日周期和周周期分量,以学习动态DCN的时空特征。我们评估了我们的方法的有效性,通过比较它与几个国家的最先进的图表示学习方法在两个特定领域的任务,属于节点分类。在这两项任务中,对从Eclipse和Mozilla项目中收集的两个真实世界、大规模开发人员协作网络进行的实验表明,所提出的方法优于所有基线方法。

英文摘要:

The bug triaging process, an essential process of assigning bug reports to the most appropriate developers, is related closely to the quality and costs of software development. As manual bug assignment is a labor-intensive task, especially for large-scale software projects, many machine-learning-based approaches have been proposed to automatically triage bug reports. Although developer collaboration networks (DCNs) are dynamic and evolving in the real-world, most automated bug triaging approaches focus on static tossing graphs at a single time slice. Also, none of the previous studies consider periodic interactions among developers. To address the problems mentioned above, in this article, we propose a novel spatial-temporal dynamic graph neural network (ST-DGNN) framework, including a joint random walk (JRWalk) mechanism and a graph recurrent convolutional neural network (GRCNN) model. In particular, JRWalk aims to sample local topological structures in a graph with two sampling strategies by considering both node importance and edge importance. GRCNN has three components with the same structure, i.e., hourly-periodic, daily-periodic, and weekly-periodic components, to learn the spatial-temporal features of dynamic DCNs. We evaluated our approach's effectiveness by comparing it with several state-of-the-art graph representation learning methods in two domain-specific tasks that belong to node classification. In the two tasks, experiments on two real-world, large-scale developer collaboration networks collected from the Eclipse and Mozilla projects indicate that the proposed approach outperforms all the baseline methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑