Towards Refining Developer Questions using LLM-Based Named Entity Recognition for Developer Chatroom Conversations

Pouya Fathollahzadeh, Mariam El Mezouar, Hao Li, Ying Zou, Ahmed E. Hassan
3/2/2025
cs.SEcs.LG

No official code found. Best implementation: Software-Evolution-Analytics-Lab-SEAL/TSE2025-SENIR (0 stars, last commit 2025-10-16).

Abstract

In software engineering chatrooms, communication is often hindered by imprecise questions that cannot be answered. Recognizing key entities can be essential for improving question clarity and facilitating better exchange. However, existing research using natural language processing techniques often overlooks these software-specific nuances. In this paper, we introduce Software-specific Named Entity Recognition, Intent Detection, and Resolution Classification (SENIR), a labeling approach that leverages a Large Language Model to annotate entities, intents, and resolution status in developer chatroom conversations. To offer quantitative guidance for improving question clarity and resolvability, we build a resolution prediction model that leverages SENIR's entity and intent labels along with additional predictive features. We evaluate SENIR on the DISCO dataset using a subset of annotated chatroom dialogues. SENIR achieves an 86% F-score for entity recognition, a 71% F-score for intent detection, and an 89% F-score for resolution status classification. Furthermore, our resolution prediction model, tested with various sampling strategies (random undersampling and oversampling with SMOTE) and evaluation methods (5-fold cross-validation, 10-fold cross-validation, and bootstrapping), demonstrates AUC values ranging from 0.7 to 0.8. Key factors influencing resolution include positive sentiment and entities such as Programming Language and User Variable across multiple intents, while diagnostic entities are more relevant in error-related questions. Moreover, resolution rates vary significantly by intent: questions about API Usage and API Change achieve higher resolution rates, whereas Discrepancy and Review have lower resolution rates. A Chi-Square analysis confirms the statistical significance of these differences.

View on arXivView PDF

Code Implementations(1)

Replication package for "Towards Refining Developer Questions using LLM-Based Named Entity Recognition for Developer Chatroom Conversations""

00PythonFeb 24, 20251 years ago

Similar Papers

Cite this paper

@article{fathollahzadeh2025towards,
  title  = {Towards Refining Developer Questions using LLM-Based Named Entity Recognition for Developer Chatroom Conversations},
  author = {Pouya Fathollahzadeh and Mariam El Mezouar and Hao Li and Ying Zou and Ahmed E. Hassan},
  year   = {2025},
  eprint = {2503.00673},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.00673v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.00673.svg)](https://codeofpaper.com/paper/2503.00673)

Discussion