PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
February 11, 2026ACM Transactions on Software Engineering and Methodology0 citations

Synergizing LLMs and Knowledge Graphs: A Novel Approach to Software Repository-Related Question Answering

View Full Paper
SASamuel AbeduSKSayedHassan KhatoonabadiESEmad Shihab

Key Points

  • The research aims to enhance LLM-based chatbots for accurate repository question answering by integrating knowledge graphs.
  • Constructed a knowledge graph from software repository data.
  • Synergized the knowledge graph with a large language model for natural language understanding.
  • Utilized few-shot chain-of-thought prompting to refine reasoning capabilities.
  • Curated 150 questions of varying complexity for evaluation.
  • Conducted a user study with 20 participants to assess task performance.
  • Achieved 84% accuracy in answering questions post-intervention.
  • Outperformed baseline models like MSRBot and GPT-4o-search-preview.
  • Users completed tasks more accurately and quickly with the new approach.
  • Feedback indicated the tool was perceived as useful for software repository interactions.

Abstract

Software repositories contain valuable information for understanding the development process. However, extracting insights from repository data is time-consuming and requires technical expertise. While software engineering chatbots support natural language interactions with repositories, chatbots struggle to understand questions beyond their trained intents and to accurately retrieve the relevant data. This study aims to improve the accuracy of LLM-based chatbots in answering repositoryrelated questions by augmenting them with knowledge graphs. We use a two-step approach: constructing a knowledge graph from repository data, and synergizing the knowledge graph with an LLM to handle natural language questions and answers. We curated 150 questions of varying complexity and evaluated the approach on five popular open-source projects. Our initial results revealed the limitations of the approach, with most errors due to the reasoning ability of the LLM. We therefore applied few-shot chain-of-thought prompting, which improved accuracy to 84%. We also compared against baselines (MSRBot and GPT-4o-search-preview), and our approach performed significantly better. In a task-based user study with 20 participants, users completed more tasks correctly and in less time with our approach, and they reported that it was useful. Our findings demonstrate that LLMs and knowledge graphs are a viable solution for making repository data accessible.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Abedu et al. (2026) studied this question.

synapsesocial.com/papers/698c1d1d267fb587c655f9dfhttps://doi.org/10.1145/3796510
Ask AI
Helpful
Bookmark
Share
View Full Paper