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 条
  • [31] Zero-Shot Transfer Learning Framework for Plant Leaf Disease Classification
    Satya Rajendra Singh, R.
    Sanodiya, Rakesh Kumar
    IEEE ACCESS, 2023, 11 : 143861 - 143880
  • [32] Detecting Errors with Zero-Shot Learning
    Wu, Xiaoyu
    Wang, Ning
    ENTROPY, 2022, 24 (07)
  • [33] Prototype rectification for zero-shot learning
    Yi, Yuanyuan
    Zeng, Guolei
    Ren, Bocheng
    Yang, Laurence T.
    Chai, Bin
    Li, Yuxin
    PATTERN RECOGNITION, 2024, 156
  • [34] A review on multimodal zero-shot learning
    Cao, Weipeng
    Wu, Yuhao
    Sun, Yixuan
    Zhang, Haigang
    Ren, Jin
    Gu, Dujuan
    Wang, Xingkai
    WILEY INTERDISCIPLINARY REVIEWS-DATA MINING AND KNOWLEDGE DISCOVERY, 2023, 13 (02)
  • [35] Attribute subspaces for zero-shot learning
    Zhou, Lei
    Liu, Yang
    Bai, Xiao
    Li, Na
    Yu, Xiaohan
    Zhou, Jun
    Hancock, Edwin R.
    PATTERN RECOGNITION, 2023, 144
  • [36] LVQ Treatment for Zero-Shot Learning
    Ismailoglu, Firat
    TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2023, 31 (01) : 216 - 237
  • [37] Zero-Shot Learning and Classification of Steel Surface Defects
    Nagy, Amr M.
    Czuni, Laszlo
    FOURTEENTH INTERNATIONAL CONFERENCE ON MACHINE VISION (ICMV 2021), 2022, 12084
  • [38] Transductive Multi-View Zero-Shot Learning
    Fu, Yanwei
    Hospedales, Timothy M.
    Xiang, Tao
    Gong, Shaogang
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2015, 37 (11) : 2332 - 2345
  • [39] Unmasking the Masked Face Using Zero-Shot Learning
    Singh, Pranjali
    Singh, Amritpal
    ADVANCED NETWORK TECHNOLOGIES AND INTELLIGENT COMPUTING, ANTIC 2021, 2022, 1534 : 563 - 585
  • [40] A transformer-based dual contrastive learning approach for zero-shot learning
    Lei, Yu
    Jing, Ran
    Li, Fangfang
    Gao, Quanxue
    Deng, Cheng
    NEUROCOMPUTING, 2025, 626