一句话:提出 DEMAR 深度多任务学习方法,联合进行开放论坛中的需求发现与需求语句标注。
针对现有需求分析依赖人工规则或训练数据不足的问题,论文提出深度多任务学习方法 DEMAR。方法包含三个阶段:数据增强,使数据可跨任务共享;模型构建,为需求发现和需求标注构建多任务模型;模型训练,通过共享损失函数让两个相关任务相互监督。在八个开源项目上评估,需求发现精确率达 91%、召回率达 83%,需求标注总体准确率达 83%,优于 CNC、FRA 两种现有方法和六种常见机器学习算法。该工作为联合学习相关需求分析任务提供了有效途径,并为多任务学习解决其他软件工程问题提供启示。
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.
DOI 原文 ·
@inproceedings{paperbot5944,
title = {A deep multitask learning approach for requirements discovery and annotation from open forum},
author = {Mingyang Li and Lin Shi and Ye Yang and Qing Wang},
booktitle = {ASE},
year = {2020},
doi = {10.1145/3324884.3416627}
}