期刊文献+

基于混合神经网络和注意力机制的软件缺陷自动分派方法 被引量:16

An Automatic Method Using Hybrid Neural Networks and Attention Mechanism for Software Bug Triaging
在线阅读 下载PDF
导出
摘要 软件缺陷修复是软件质量保证的一个重要环节.在互联网上开源、开放的群智化软件开发环境中,提升缺陷分派的效率和效果,有助于提高缺陷修复率并降低维护成本.目前,基于机器学习的缺陷自动分派方法已成为主流技术,但也存在特征人工构建、文本表示能力不足等问题.近年来,鉴于深度学习在自然语言处理领域的成功应用,研究者尝试将深度学习技术引入缺陷分派任务中,使得缺陷修复者的预测效果有了显著提高.然而,不同类型的神经网络亦存在各自的局限性.针对上述问题,将缺陷自动分派任务视为文本分类问题,结合卷积神经网络、循环神经网络和注意力机制各自的优势,提出了一种基于混合神经网络和注意力机制的缺陷自动分派方法Atten-CRNN,能更有效地捕获缺陷报告的重要文本特征和序列特征,从而提供更精准的缺陷修复者推荐服务.在Eclipse和Mozilla两个大型的知名软件开源项目中进行了实证研究,在20万量级的缺陷报告上的实验结果表明:无论是否考虑注意力机制,Atten-CRNN的预测准确率要高于基于卷积神经网络和基于循环神经网络的基准模型. Software defect repair(also known as software bug fixing)is a necessary part of software quality assurance.In the collective-intelligence-based software development environment on the Internet,improving the efficiency and effectiveness of software bug triaging can help raise bug fixing rates and reduce maintenance costs.Nowadays,automatic bug triaging approaches based on machine learning have become mainstream,but they also have some specific problems,such as hand-crafted features and an insufficient ability to represent texts.Considering successful applications of deep learning in the field of natural language processing,researchers have recently tried to introduce deep learning into the field of automatic bug triaging,to improve the performance of predicting the right bug fixer significantly.However,different types of neural networks have their limitations.To address the problems mentioned above,in this study,we regard bug triaging as a text classification problem and propose an automatic bug triaging approach based on hybrid neural networks and an attention mechanism,called Atten-CRNN.Because Atten-CRNN combines the advantages of a convolutional neural network,a recurrent neural network,and an attention mechanism,it can capture essential text features and sequence features of bug reports more effectively and then provide more accurate fixer recommendation services for software development and maintenance.An empirical study was conducted on two popular large-scale open-source software projects,namely Eclipse and Mozilla.The experimental results obtained from over 200000 bug reports indicate that Atten-CRNN achieves higher prediction accuracy than convolutional neural networks and recurrent neural networks,regardless of the attention mechanism.
作者 刘烨 黄金筱 马于涛 Liu Ye;Huang Jinxiao;and Ma Yutao(School of Computer Science,Wuhan University,Wuhan 430072)
出处 《计算机研究与发展》 EI CSCD 北大核心 2020年第3期461-473,共13页 Journal of Computer Research and Development
基金 国家重点研发计划项目(2018YFB1003801) 国家自然科学基金项目(61832014,61672387,61572371) 湖北省自然科学基金项目(2018CFB511)~~
关键词 缺陷分派 文本分类 卷积神经网络 循环神经网络 注意力 bug triaging text classification convolutional neural network recurrent neural network attention
  • 相关文献

参考文献6

二级参考文献30

  • 1Doan A, Ramakrishnan R, Halevy A Y. Crowdsourcing systems on the World-Wide Web. Communications of the ACM, 2011, 54(4): 86- 96.
  • 2Lakhani K, Garvin D, Lonstein E. Topcoder (a): developing software through crowdsourcing. Harvard Business School Gen- eral Management Unit Case, 2010. Available at SSRN: http://ssrn. com/abstract=2002884.
  • 3uTest, https://www.utest.com/.
  • 4Bosch J. From software product lines to software ecosystems. In: Pro- ceedings of the 13th International Software Product Line Conference. 2009, 111-119.
  • 5Jansen S, Finkelstein A, Brinkkemper S. A sense of community: a research agenda for software ecosystems. In: Proceedings of the 31st International Conference on Software Engineering-Companion Vol- ume. 2009, 187-190.
  • 6Apple Store Metrics. http://148apps.biz/app-store-metrics/, 2012.
  • 7AppStori. http://appstori.com/, 2012.
  • 8Kittur A. Crowdsourcing, collaboration and creativity. XRDS, 2010, 17(2): 22-26.
  • 9Constantinescu R, Iacob I M. Capability maturity model integration. Journal of Applied Quantitative Methods, 2007, 2(1): 187.
  • 10Atwood M. Military standard: defense system software development. Department of Defense, USA, 1988.

共引文献73

同被引文献140

引证文献16

二级引证文献36

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部