Can We Enhance Bug Report Quality Using LLMs?: An Empirical Study of LLM-Based Bug Report Generation
Not on the map. Why?
Abstract (arXiv)
Bug reports contain the information developers need to triage and fix software bugs. However, unclear, incomplete, or ambiguous information may lead to delays and excessive manual effort spent on bug triage and resolution. In this paper, we explore whether Instruction fine-tuned Large Language Models (LLMs) can automatically transform casual, unstructured bug reports into high-quality, structured bug reports adhering to a standard template. We evaluate three open-source instruction-tuned LLMs (Qwen 2.5, Mistral, and Llama 3.2) against ChatGPT-4o, measuring performance on established metrics such as CTQRS, ROUGE, METEOR, and SBERT. Our experiments show that fine-tuned Qwen 2.5 achieves a CTQRS score of 77%, outperforming both fine-tuned Mistral (71%), Llama 3.2 (63%) and ChatGPT in 3-shot learning (75%). Further analysis reveals that Llama 3.2 shows higher accuracy of detecting missing fields particularly Expected Behavior and Actual Behavior, while Qwen 2.5 demonstrates superior performance in capturing Steps-to-Reproduce, with an F1 score of 76%. Additional testing of the models on other popular projects (e.g., Eclipse, GCC) demonstrates that our approach generalizes well, achieving up to 70% CTQRS in unseen projects' bug reports. These findings highlight the potential of instruction fine-tuning in automating structured bug report generation, reducing manual effort for developers and streamlining the software maintenance process.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 21 of its 74 references that are in the map. First posted on arXiv 26 Apr 2025.
Builds on
21 of 74 references.
References · 21
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
- 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 405
- 2022Unnatural Instructions: Tuning Language Models with (Almost) No Human Laborcited by 395
- 2023TrueTeacher: Learning Factual Consistency Evaluation with Large Language Modelscited by 82
- 2022Help me write a poem: Instruction Tuning as a Vehicle for Collaborative Poetry Writingcited by 71
- 2023LongForm: Effective Instruction Tuning with Reverse Instructionscited by 47
9 more
- 2021On the Evaluation of Vision-and-Language Navigation Instructionscited by 45
- 2022What is it like to program with artificial intelligence?cited by 39
- 2020RecipeGPT: Generative Pre-training Based Cooking Recipe Generation and Evaluation Systemcited by 34
- 2019Assessing the Quality of the Steps to Reproduce in Bug Reportscited by 13
- 2017Auto-completing Bug Reports for Android Applicationscited by 7
- 2024ChatGPT Incorrectness Detection in Software Reviewscited by 5
- 2013Categorizing Bugs with Social Networks: A Case Study on Four Open Source Software Communitiescited by 3
- 2024Birbal: An efficient 7B instruct-model fine-tuned with curated datasetscited by 3
- 2024GIRT-Model: Automated Generation of Issue Report Templatescited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.