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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on4
- 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
- Named Entity Recognition through Deep Representation Learning and Weak SupervisionJerrod Parker, Shi YuACL Findings 2021 · 5 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
- A Scalable Framework for Learning From Implicit User Feedback to Improve Natural Language Understanding in Large-Scale Conversational AI SystemsSunghyun Park, Han Li, Ameen Patel, Sidharth Mudgal et al.EMNLP 2021 · 17 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
- Using Meta-Knowledge Mined from Identifiers to Improve Intent Recognition in Conversational SystemsClaudio S. Pinhanez, Paulo Rodrigo Cavalin, Victor Henrique Alves Ribeiro, Ana Paula Appel et al.ACL 2021
