IJCAI 2020poster0 citations

CooBa: Cross-project Bug Localization via Adversarial Transfer Learning

Ziye Zhu, Yun Li, Hanghang Tong, Yu Wang

Abstract

Bug localization plays an important role in software quality control. Many supervised machine learning models have been developed based on historical bug-fix information. Despite being successful, these methods often require sufficient historical data (i.e., labels), which is not always available especially for newly developed software projects. In response, cross-project bug localization techniques have recently emerged whose key idea is to transferring knowledge from label-rich source project to locate bugs in the target project. However, a major limitation of these existing techniques lies in that they fail to capture the specificity of each individual project, and are thus prone to negative transfer. To address this issue, we propose an adversarial transfer learning bug localization approach, focusing on only transferring the common characteristics (i.e., public information) across projects. Specifically, our approach (CooBa) learns the indicative public information from cross-project bug reports through a shared encoder, and extracts the private information from code files by an individual feature extractor for each project. CooBa further incorporates adversarial learning mechanism to ensure that public information shared between multiple projects could be effectively extracted. Extensive experiments on four large-scale real-world data sets demonstrate that the proposed CooBa significantly outperforms the state of the art techniques.

Multidisciplinary Topics and Applications: Knowledge-based Software EngineeringData Mining: Mining Text, Web, Social Media
BibTeX
@inproceedings{ijcai2020p493,
  title     = {CooBa: Cross-project Bug Localization via Adversarial Transfer Learning},
  author    = {Zhu, Ziye and Li, Yun and Tong, Hanghang and Wang, Yu},
  booktitle = {Proceedings of the Twenty-Ninth International Joint Conference on
               Artificial Intelligence, {IJCAI-20}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},
  editor    = {Christian Bessiere},
  pages     = {3565--3571},
  year      = {2020},
  month     = {7},
  note      = {Main track},
  doi       = {10.24963/ijcai.2020/493},
  url       = {https://doi.org/10.24963/ijcai.2020/493},
}