TY - JOUR
T1 - KnowBug
T2 - Enhancing Large language models with bug report knowledge for deep learning framework bug prediction
AU - Li, Chenglong
AU - Zheng, Zheng
AU - Du, Xiaoting
AU - Ma, Xiangyue
AU - Wang, Zhengqi
AU - Li, Xinheng
N1 - Publisher Copyright:
© 2024
PY - 2024/12/3
Y1 - 2024/12/3
N2 - Understanding and predicting the bug type is crucial for developers striving to enhance testing efficiency and reduce software release problems. Bug reports, although semi-structured, contain valuable semantic information, making their comprehension critical for accurate bug prediction. Recent advances in large language models (LLMs), especially generative LLMs, have demonstrated their power in natural language processing. Many studies have utilized these models to understand various forms of textual data. However, the capability of LLMs to fully understand bug reports remains uncertain. To tackle this challenge, we propose KnowBug, a framework designed to augment LLMs with knowledge from bug reports to improve their ability to predict bug types. In this framework, we utilize bug reports from open-source deep learning frameworks, design specialized prompts, and fine-tune LLMs to assess KnowBug's proficiency in understanding bug reports and predicting different bug types.
AB - Understanding and predicting the bug type is crucial for developers striving to enhance testing efficiency and reduce software release problems. Bug reports, although semi-structured, contain valuable semantic information, making their comprehension critical for accurate bug prediction. Recent advances in large language models (LLMs), especially generative LLMs, have demonstrated their power in natural language processing. Many studies have utilized these models to understand various forms of textual data. However, the capability of LLMs to fully understand bug reports remains uncertain. To tackle this challenge, we propose KnowBug, a framework designed to augment LLMs with knowledge from bug reports to improve their ability to predict bug types. In this framework, we utilize bug reports from open-source deep learning frameworks, design specialized prompts, and fine-tune LLMs to assess KnowBug's proficiency in understanding bug reports and predicting different bug types.
KW - Bug prediction
KW - Bug report
KW - Deep learning framework
KW - Large language model
UR - https://www.scopus.com/pages/publications/85206342746
U2 - 10.1016/j.knosys.2024.112588
DO - 10.1016/j.knosys.2024.112588
M3 - 文章
AN - SCOPUS:85206342746
SN - 0950-7051
VL - 305
JO - Knowledge-Based Systems
JF - Knowledge-Based Systems
M1 - 112588
ER -