EUVIMEDEUVIMED entdecken
Crossref

Evaluating Diverse Large Language Models for Automatic and General Bug Reproduction

Sungmin Kang, Juyeon Yoon, Nargiz Askarbekkyzy, Shin Yoo

IEEE Transactions on Software Engineering · 2024-10 · 50 (10) · 2677-2694

DOI: 10.1109/tse.2024.3450837 ↗

Kurz gefasst

Fachartikel in der Zeitschrift IEEE Transactions on Software Engineering, 2024-10. Verfasst von Sungmin Kang und 3 weiteren Autor:innen. Die Arbeit wurde bisher 33-mal zitiert (Crossref) und nennt 58 Literaturangaben. Gefördert von: National Research Foundation of Korea, Engineering Research Center Program, Institute for Information and Communications Technology Promotion.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Bug reproduction is a critical developer activity that is also challenging to automate, as bug reports are often in natural language and thus can be difficult to transform to test cases consistently. As a result, existing techniques mostly focused on crash bugs, which are easier to automatically detect and verify. In this work, we overcome this limitation by using large language models (LLMs), which have been demonstrated to be adept at natural language processing and code generation. By prompting LLMs to generate bug-reproducing tests, and via a post-processing pipeline to automatically identify promising generated tests, our proposed technique Libro could successfully reproduce about one-third of all bugs in the widely used Defects4J benchmark. Furthermore, our extensive evaluation on 15 LLMs, including 11 open-source LLMs, suggests that open-source LLMs also demonstrate substantial potential, with the StarCoder LLM achieving 70% of the reproduction performance of the closed-source OpenAI LLM code-davinci-002 on the large Defects4J benchmark, and 90% of performance on a held-out bug dataset likely not part of any LLM's training data. In addition, our experiments on LLMs of different sizes show that bug reproduction using Libro improves as LLM size increases, providing information as to which LLMs can be used with the Libro pipeline.

Förderung

  • National Research Foundation of Korea
  • Engineering Research Center Program
  • Institute for Information and Communications Technology Promotion

Zitieren

APA

Kang, S., Yoon, J., Askarbekkyzy, N., & Yoo, S. (2024). Evaluating Diverse Large Language Models for Automatic and General Bug Reproduction. IEEE Transactions on Software Engineering, 50(10), 2677-2694. https://doi.org/10.1109/tse.2024.3450837

Vancouver

Kang S, Yoon J, Askarbekkyzy N, Yoo S. Evaluating Diverse Large Language Models for Automatic and General Bug Reproduction. IEEE Transactions on Software Engineering. 2024;50(10):2677-2694. doi:10.1109/tse.2024.3450837

BibTeX
@article{Kang2024,
  author = {Kang, Sungmin and Yoon, Juyeon and Askarbekkyzy, Nargiz and Yoo, Shin},
  title = {Evaluating Diverse Large Language Models for Automatic and General Bug Reproduction},
  journal = {IEEE Transactions on Software Engineering},
  year = {2024},
  volume = {50},
  number = {10},
  pages = {2677--2694},
  doi = {10.1109/tse.2024.3450837}
}
Kostenlos starten →