An Approach for Auto Generation of Labeling Functions for Software Engineering Chatbots

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Alor, Ebube, Abdellatif, Ahmad, Khatoonabadi, SayedHassan, Shihab, Emad
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915397011243008
author Alor, Ebube
Abdellatif, Ahmad
Khatoonabadi, SayedHassan
Shihab, Emad
author_facet Alor, Ebube
Abdellatif, Ahmad
Khatoonabadi, SayedHassan
Shihab, Emad
contents Software engineering (SE) chatbots are increasingly gaining attention for their role in enhancing development processes. At the core of chatbots are Natural Language Understanding platforms (NLUs), which enable them to comprehend user queries but require labeled data for training. However, acquiring such labeled data for SE chatbots is challenging due to the scarcity of high-quality datasets, as training requires specialized vocabulary and phrases not found in typical language datasets. Consequently, developers often resort to manually annotating user queries -- a time-consuming and resource-intensive process. Previous approaches require human intervention to generate rules, called labeling functions (LFs), that categorize queries based on specific patterns. To address this issue, we propose an approach to automatically generate LFs by extracting patterns from labeled user queries. We evaluate our approach on four SE datasets and measure performance improvement from training NLUs on queries labeled by the generated LFs. The generated LFs effectively label data with AUC scores up to 85.3% and NLU performance improvements up to 27.2%. Furthermore, our results show that the number of LFs affects labeling performance. We believe that our approach can save time and resources in labeling users' queries, allowing practitioners to focus on core chatbot functionalities rather than manually labeling queries.
format Preprint
id arxiv_https___arxiv_org_abs_2410_07094
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle An Approach for Auto Generation of Labeling Functions for Software Engineering Chatbots
Alor, Ebube
Abdellatif, Ahmad
Khatoonabadi, SayedHassan
Shihab, Emad
Software Engineering
Artificial Intelligence
Computation and Language
Machine Learning
Software engineering (SE) chatbots are increasingly gaining attention for their role in enhancing development processes. At the core of chatbots are Natural Language Understanding platforms (NLUs), which enable them to comprehend user queries but require labeled data for training. However, acquiring such labeled data for SE chatbots is challenging due to the scarcity of high-quality datasets, as training requires specialized vocabulary and phrases not found in typical language datasets. Consequently, developers often resort to manually annotating user queries -- a time-consuming and resource-intensive process. Previous approaches require human intervention to generate rules, called labeling functions (LFs), that categorize queries based on specific patterns. To address this issue, we propose an approach to automatically generate LFs by extracting patterns from labeled user queries. We evaluate our approach on four SE datasets and measure performance improvement from training NLUs on queries labeled by the generated LFs. The generated LFs effectively label data with AUC scores up to 85.3% and NLU performance improvements up to 27.2%. Furthermore, our results show that the number of LFs affects labeling performance. We believe that our approach can save time and resources in labeling users' queries, allowing practitioners to focus on core chatbot functionalities rather than manually labeling queries.
title An Approach for Auto Generation of Labeling Functions for Software Engineering Chatbots
topic Software Engineering
Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2410.07094