Skip to main content

Deep Bug Triage Model Based on Multi-head Self-attention Mechanism

  • Conference paper
  • First Online:
Computer Supported Cooperative Work and Social Computing (ChineseCSCW 2021)

Abstract

In the course of software maintenance and development, bugs are inevitable. At present, Bug tracking system uses bug reports to match bug with fixers. However, the previous bug triage model relies too much about the quality of the text of the bug report, introduces a lot of redundant information in natural language, and ignores the fixer community factor where the meta-field of the bug report, which makes the model performance worse. Aiming at the above problems, we propose a multi-head self-attention deep bug triage (MSDBT), which considers the text content of the bug report and generates a sequence of fixers with the same meta-field. The features of the input text and the fixer sequence are extracted by Bi-directional Long Short-Term Memory network. The multi-head self-attention mechanism is used to perform parallel attention calculation among the internal input elements. The model weakens the redundant information in the bug report, and further quantifies the influence of fixers with similar activities on bug triage through fixer sequence. We conducted texts on four open source software projects. We can get the MSDBT has clear strength over the previous model in recall index.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Ubrani, D.: Automatic bug triage using text categorization. In: the Sixteenth International Conference on Software Engineering & Knowledge Engineering (SEKE), Banff, Alberta, Canada, pp. 20–24 (2004)

    Google Scholar 

  2. Anvik, J., Hiew, L., Murphy, G.C.: Who should fix this bug? In: the 28th International Conference on Software Engineering (ICSE), Shanghai, China, pp. 20–28 (2006)

    Google Scholar 

  3. Tamrawi, A., Nguyen, T.T., Jafar, M.A., Nguyen, T.N.: Fuzzy set and cache-based approach for bug triaging. In: the 13th European Software Engineering Conference and the ACM SIGSOFT Symposium on the Foundations of Software Engineering(ESEC/FSE), Szeged, Hungary, pp. 365–375 (2011)

    Google Scholar 

  4. Xuan, J., Jiang, H., Ren, Z., Zou, W.: Developer prioritization in bug repositories. In: The 34th International Conference on Software Engineering (ICSE), Zurich, Switzerland, pp. 25–35 (2012)

    Google Scholar 

  5. Ye, X., Bunescu, R., Liu, C.: Learning to rank relevant files for bug reports using domain knowledge. In: The 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering (FSE), New York, NY, USA, pp. 689–699 (2014)

    Google Scholar 

  6. Tian, Y., Wijedasa, D., Lo, D., Claire, L.G.: Learning to rank for bug report assignee recommendation. In: The 24th IEEE International Conference on Program Comprehension (ICPC), May, Piscataway, NJ, pp. 1–10 (2016)

    Google Scholar 

  7. Gay, G., Haiduc, S., Marcus, A., Menzies, T.: On the use of relevance feedback in IR-based concept location. In: The 25th IEEE International Conference on Software Maintenance (ICSM), Edmonton, AB, Canada, pp. 351–360 (2009)

    Google Scholar 

  8. Xia, X., Lo, D., Ding, Y., Al-kofahi, J., Nguyen, T., Wang, X.Y.: Improving automated bug triaging with specialized topic model. IEEE Trans. Softw. Eng. 43, 272–297 (2017)

    Article  Google Scholar 

  9. Lee, S.R., Heo, M.J., Lee, C.G., Kim, M., Jeong, G.: Applying deep learning based automatic bug triager to industrial projects. In: The 11th Joint Meeting on Foundations of Software Engineering (ESEC/FSE), New York, NY, USA, pp. 926–931 (2017)

    Google Scholar 

  10. Mani, S., Sankaran, A., Aralikatte, R.: DeepTriage: exploring the effectiveness of deep learning for bug triaging. In: The ACM India Joint International Conference on Data Science and Management of Data (CoDS-COMAD), New York, NY, USA, pp. 171–179 (2019)

    Google Scholar 

  11. Xi, S.Q., Yao, Y., Xu, F., Lv, J.: Bug triage approach based on recurrent neural networks. J. Softw. 29, 2322–2335 (2018)

    Google Scholar 

  12. Wu, W., Zhang, W., Yang, Y., Wang, Q.: DREX: developer recommendation with k-nearest-neighbor search and expertise ranking. In: The 20th Asia-Pacific Software Engineering Conference (APSEC), Ho Chi Minh, Vietnam, pp. 389–396 (2011)

    Google Scholar 

  13. Jeong, G., Kim, S., Zimmermann, T.: Improving bug triage with bug tossing graphs. In: The 7th in the European Software Engineering Conference and the ACM SIGSOFT Symposium on the Foundations of Software Engineering (ESEC/FSE), New York, NY, USA, pp. 111–120 (2009)

    Google Scholar 

  14. Bhattacharya, P., Neamtiu, I.: Fine-grained incremental learning and multi-feature tossing graphs to improve bug triaging. In: The IEEE International Conference on Software Maintenance, Timisoara, Romania, pp. 1–10 (2010)

    Google Scholar 

  15. Zhang, W., Wang, S., Wang, Q.: KSAP: an approach to bug report assignment using KNN search and heterogeneous proximity. Inf. Softw. Technol. 70, 68–84 (2016)

    Article  Google Scholar 

Download references

Acknowledgments

This work is jointly sponsored by National Natural Science Foundation of China (No. 6217072142), Natural Science Foundation of Shandong Province (No. ZR2019MF014).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bin Tang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Yu, X. et al. (2022). Deep Bug Triage Model Based on Multi-head Self-attention Mechanism. In: Sun, Y., et al. Computer Supported Cooperative Work and Social Computing. ChineseCSCW 2021. Communications in Computer and Information Science, vol 1492. Springer, Singapore. https://doi.org/10.1007/978-981-19-4549-6_9

Download citation

  • DOI: https://doi.org/10.1007/978-981-19-4549-6_9

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-19-4548-9

  • Online ISBN: 978-981-19-4549-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics