A Zero-Shot Learning Approach to Classifying Requirements: A Preliminary Study

被引:10
|
作者
Alhoshan, Waad [1 ]
Zhao, Liping [2 ]
Ferrari, Alessio [3 ]
Letsholo, Keletso J. [4 ]
机构
[1] Al Imam Mohammad Ibn Saud Islamic Univ, Riyadh, Saudi Arabia
[2] Univ Manchester, Manchester, Lancs, England
[3] CNR ISTI, Pisa, Italy
[4] Higher Coll Technol, Abu Dhabi, U Arab Emirates
来源
REQUIREMENTS ENGINEERING: FOUNDATION FOR SOFTWARE QUALITY, REFSQ 2022 | 2022年 / 13216卷
关键词
Requirements Engineering; Zero-Shot Learning; Machine Learning; Deep Learning; Transfer Learning; Language models; Natural Language Processing;
D O I
10.1007/978-3-030-98464-9_5
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Context and motivation: Advances in Machine Learning (ML) and Deep Learning (DL) technologies have transformed the field of Natural Language Processing (NLP), making NLP more practical and accessible. Motivated by these exciting developments, Requirements Engineering (RE) researchers have been experimenting ML/DL based approaches for a range of RE tasks, such as requirements classification, requirements tracing, ambiguity detection, and modelling. Question/problem: Most of today's ML/DL approaches are based on supervised learning techniques, meaning that they need to be trained using annotated datasets to learn how to assign a class label to examples from an application domain. This requirement poses an enormous challenge to RE researchers, as the lack of requirements datasets in general and annotated datasets in particular, makes it difficult for them to fully exploit the benefit of the advanced ML/DL technologies. Principal ideas/results: To address this challenge, this paper proposes a novel approach that employs the Zero-Shot Learning (ZSL) technique to perform requirements classification. We build several classification models using ZSL. We focus on the classification task because many RE tasks can be solved as classification problems by a large number of available ML/DL methods. In this preliminary study, we demonstrate our approach by classifying non-functional requirements (NFRs) into two categories: Usability and Security. ZSL supports learning without domain-specific training data, thus solving the lack of annotated datasets typical of RE. The study shows that our approach achieves an average of 82% recall and F-score. Contribution: This study demonstrates the potential of ZSL for requirements classification. The promising results of this study pave the way for further investigations and large-scale studies. An important implication is that it is possible to have very little or no training data to perform requirements classification. The proposed approach thus contributes to the solution of the long-standing problem of data shortage in RE.
引用
收藏
页码:52 / 59
页数:8
相关论文
共 50 条
  • [41] Region Semantically Aligned Network for Zero-Shot Learning
    Wang, Ziyang
    Gou, Yunhao
    Li, Jingjing
    Zhang, Yu
    Yang, Yang
    PROCEEDINGS OF THE 30TH ACM INTERNATIONAL CONFERENCE ON INFORMATION & KNOWLEDGE MANAGEMENT, CIKM 2021, 2021, : 2080 - 2090
  • [42] A zero-shot connector anomaly detection approach based on similarity-contrast learning
    Wang Y.
    Yin X.
    Zheng S.
    Liu Y.
    Wang P.
    Yi Qi Yi Biao Xue Bao/Chinese Journal of Scientific Instrument, 2023, 44 (10): : 201 - 209
  • [43] Graph-based zero-shot learning for classifying natural and computer-generated image
    Prasad, K. Vara
    Abdul, Ashu
    Srikanth, B.
    Paleti, Lakshmikanth
    Kumar, K. Kranthi
    Pachala, Sunitha
    MULTIMEDIA TOOLS AND APPLICATIONS, 2024, 83 (25) : 65987 - 66011
  • [44] Learning MLatent Representations for Generalized Zero-Shot Learning
    Ye, Yalan
    Pan, Tongjie
    Luo, Tonghoujun
    Li, Jingjing
    Shen, Heng Tao
    IEEE TRANSACTIONS ON MULTIMEDIA, 2023, 25 : 2252 - 2265
  • [45] From zero-shot machine learning to zero-day attack detection
    Sarhan, Mohanad
    Layeghy, Siamak
    Gallagher, Marcus
    Portmann, Marius
    INTERNATIONAL JOURNAL OF INFORMATION SECURITY, 2023, 22 (04) : 947 - 959
  • [46] From zero-shot machine learning to zero-day attack detection
    Mohanad Sarhan
    Siamak Layeghy
    Marcus Gallagher
    Marius Portmann
    International Journal of Information Security, 2023, 22 : 947 - 959
  • [47] Integrative zero-shot learning for fruit recognition
    Tran-Anh, Dat
    Huu, Quynh Nguyen
    Bui-Quoc, Bao
    Hoang, Ngan Dao
    Quoc, Tao Ngo
    MULTIMEDIA TOOLS AND APPLICATIONS, 2024, 83 (29) : 73191 - 73213
  • [48] Bidirectional generative transductive zero-shot learning
    Li, Xinpeng
    Zhang, Dan
    Ye, Mao
    Li, Xue
    Dou, Qiang
    Lv, Qiao
    NEURAL COMPUTING & APPLICATIONS, 2021, 33 (10) : 5313 - 5326
  • [49] Kernelized distance learning for zero-shot recognition
    Zarei, Mohammad Reza
    Taheri, Mohammad
    Long, Yang
    INFORMATION SCIENCES, 2021, 580 : 801 - 818
  • [50] Rethinking attribute localization for zero-shot learning
    Chen, Shuhuang
    Chen, Shiming
    Xie, Guo-Sen
    Shu, Xiangbo
    You, Xinge
    Li, Xuelong
    SCIENCE CHINA-INFORMATION SCIENCES, 2024, 67 (07)