A Deep Multitask Learning Approach for Requirements Discovery and Annotation from Open Forum
Mingyang Li, Lin Shi, Ye Yang, Qing Wang
Abstract
The ability in rapidly learning and adapting to evolving user needs is key to modern business successes. Existing methods are based on text mining and machine learning techniques to analyze user comments and feedback, and often constrained by heavy reliance on manually codified rules or insufficient training data. Multitask learning (MTL) is an effective approach with many successful applications, with the potential to address these limitations associated with requirements analysis tasks. In this paper, we propose a deep MTL-based approach, DEMAR, to address these limitations when discovering requirements from massive issue reports and annotating the sentences in support of automated requirements analysis. DEMAR consists of three main phases: (1) data augmentation phase, for data preparation and allowing data sharing beyond single task learning; (2) model construction phase, for constructing the MTL-based model for requirements discovery and requirements annotation tasks; and (3) model training phase, enabling eavesdropping by shared loss function between the two related tasks. Evaluation results from eight open-source projects show that, the proposed multitask learning approach outperforms two state-of-the-art approaches (CNC and FRA) and six common machine learning algorithms, with the precision of 91% and the recall of 83% for requirements discovery task, and the overall accuracy of 83% for requirements annotation task. The proposed approach provides a novel and effective way to jointly learn two related requirements analysis tasks. We believe that it also sheds light on further directions of exploring multitask learning in solving other software engineering problems.
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 6a8e477d-64b4-47dc-8725-77fc3d0577f1Cited by top-tier papers3
- BugListener: Identifying and Synthesizing Bug Reports from Collaborative Live ChatsLin Shi, Fangwen Mu, Yumin Zhang, Ye Yang et al.ICSE 2022 · 6 citations
- DeepAnalyze: Learning to Localize Crashes at ScaleManish Shetty, Chetan Bansal, Suman Nath, Sean Bowles et al.ICSE 2022 · 2 citations
- PatUntrack: Automated Generating Patch Examples for Issue Reports without Tracked Insecure CodeZiyou Jiang, Lin Shi, Guowei Yang, Qing WangASE 2024
Related papers
- RepresentThemAll: A Universal Learning Representation of Bug ReportsSen Fang, Tao Zhang, Youshuai Tan, He Jiang et al.ICSE 2023 · 14 citations
- Detection of hidden feature requests from massive chat messages via deep siamese networkLin Shi, Mingzhe Xing, Mingyang Li, Yawen Wang et al.ICSE 2020 · 31 citations
- Automatically Matching Bug Reports With Related App ReviewsMarlo Haering, Christoph Stanik, Walid MaalejICSE 2021 · 52 citations
- Sentiment Classification in Customer Service Dialogue with Topic-Aware Multi-Task LearningJiancheng Wang, Jingjing Wang, Changlong Sun, Shoushan Li et al.AAAI 2020 · 41 citations
- A Gradually Soft Multi-Task and Data-Augmented Approach to Medical Question UnderstandingKhalil Mrini, Franck Dernoncourt, Seunghyun Yoon, Trung Bui et al.ACL 2021
