A Weak Supervision-Based Approach to Improve Chatbots for Code Repositories
Farbod Farhour, Ahmad Abdellatif, Essam Mansour, Emad Shihab
Abstract
Software chatbots are growing in popularity and have been increasingly used in software projects due to their benefits in saving time, cost, and effort. At the core of every chatbot is a Natural Language Understanding (NLU) component that enables chatbots to comprehend the users' queries. Prior work shows that chatbot practitioners face challenges in training the NLUs because the labeled training data is scarce. Consequently, practitioners resort to user queries to enhance chatbot performance. They annotate these queries and use them for NLU training. However, such training is done manually and prohibitively expensive. Therefore, we propose AlphaBot to automate the query annotation process for SE chatbots. Specifically, we leverage weak supervision to label users' queries posted to a software repository-based chatbot. To evaluate the impact of using AlphaBot on the NLU's performance, we conducted a case study using a dataset that comprises 749 queries and 52 intents. The results show that using AlphaBot improves the NLU's performance in terms of F1-score, with improvements ranging from 0.96% to 35%. Furthermore, our results show that applying more labeling functions improves the NLU's classification of users' queries. Our work enables practitioners to focus on their chatbots' core functionalities rather than annotating users' queries.
CCS Concepts: • Software and its engineering → Software libraries and repositories; Software notations and tools.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext c4c5b085-97ff-49c0-8a87-465a3e7cbbc2Builds on3
- Understanding Medical Conversations with Scattered Keyword Attention and Weak Supervision from ResponsesXiaoming Shi, Haifeng Hu, Wanxiang Che, Zhongqian Sun et al.AAAI 2020 · 36 citations
- Learning with Weak Supervision for Email Intent DetectionKai Shu, Subhabrata Mukherjee, Guoqing Zheng, Ahmed Hassan Awadallah et al.SIGIR 2020 · 26 citations
- Data Augmentation for Improving Emotion Recognition in Software Engineering CommunicationMia Mohammad Imran, Yashasvi Jain, Preetha Chatterjee, Kostadin DamevskiASE 2022 · 22 citations
Related papers
- An empirical study of bots in software development: characteristics and challenges from a practitioner's perspectiveLinda Erlenhov, Francisco Gomes de Oliveira Neto, Philipp LeitnerFSE 2020 · 47 citations
- Discovering Dialogue Slots with Weak SupervisionVojtech Hudecek, Ondrej Dusek, Zhou YuACL 2021
- Don't Disturb Me: Challenges of Interacting with Software Bots on Open Source Software ProjectsMairieli Santos Wessel, Igor Wiese, Igor Steinmacher, Marco Aurélio GerosaCSCW 2021 · 5 citations
- APT-Pipe: A Prompt-Tuning Tool for Social Data Annotation using ChatGPTYiming Zhu, Zhizhuo Yin, Gareth Tyson, Ehsan ul Haq et al.WWW 2024 · 16 citations
- Spot The Bot: A Robust and Efficient Framework for the Evaluation of Conversational Dialogue SystemsJan Deriu, Don Tuggener, Pius von Däniken, Jon Ander Campos et al.EMNLP 2020 · 12 citations
