Skip to main navigation Skip to search Skip to main content

KnowBug: Enhancing Large language models with bug report knowledge for deep learning framework bug prediction

  • Chenglong Li
  • , Zheng Zheng
  • , Xiaoting Du*
  • , Xiangyue Ma
  • , Zhengqi Wang
  • , Xinheng Li
  • *Corresponding author for this work
  • Beihang University
  • East China Normal University
  • Beijing University of Posts and Telecommunications

Research output: Contribution to journalArticlepeer-review

Abstract

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.

Original languageEnglish
Article number112588
JournalKnowledge-Based Systems
Volume305
DOIs
StatePublished - 3 Dec 2024
Externally publishedYes

Keywords

  • Bug prediction
  • Bug report
  • Deep learning framework
  • Large language model

Fingerprint

Dive into the research topics of 'KnowBug: Enhancing Large language models with bug report knowledge for deep learning framework bug prediction'. Together they form a unique fingerprint.

Cite this