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 条
  • [1] Zero-shot learning for requirements classification: An exploratory study
    Alhoshan, Waad
    Ferrari, Alessio
    Zhao, Liping
    INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 159
  • [2] A Preliminary Study on Preprocessing the Semantic Space in Zero-Shot Learning
    Herrera Aranda, Juan Jose
    Herrera, Francisco
    Triguero, Isaac
    HYBRID ARTIFICIAL INTELLIGENT SYSTEMS, PT II, HAIS 2024, 2025, 14858 : 177 - 189
  • [3] A Unified Approach for Conventional Zero-Shot, Generalized Zero-Shot, and Few-Shot Learning
    Rahman, Shafin
    Khan, Salman
    Porikli, Fatih
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2018, 27 (11) : 5652 - 5667
  • [4] Zero-Shot Learning: An Energy based Approach
    Zhao, Tianxiang
    Liu, Guiquan
    Wu, Le
    Ma, Chao
    Chen, Enhong
    2018 IEEE INTERNATIONAL CONFERENCE ON DATA MINING (ICDM), 2018, : 797 - 806
  • [5] A study on zero-shot learning from semantic viewpoint
    P K Bhagat
    Prakash Choudhary
    Kh Manglem Singh
    The Visual Computer, 2023, 39 : 2149 - 2163
  • [6] A study on zero-shot learning from semantic viewpoint
    Bhagat, P. K.
    Choudhary, Prakash
    Singh, Kh Manglem
    VISUAL COMPUTER, 2023, 39 (05) : 2149 - 2163
  • [7] Zero-Shot Learning With Transferred Samples
    Guo, Yuchen
    Ding, Guiguang
    Han, Jungong
    Gao, Yue
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2017, 26 (07) : 3277 - 3290
  • [8] Variational Disentangle Zero-Shot Learning
    Su, Jie
    Wan, Jinhao
    Li, Taotao
    Li, Xiong
    Ye, Yuheng
    MATHEMATICS, 2023, 11 (16)
  • [9] Large-scale zero-shot learning in the wild: Classifying zoological illustrations
    Stork, Lise
    Weber, Andreas
    van den Herik, Jaap
    Plaat, Aske
    Verbeek, Fons
    Wolstencroft, Katherine
    ECOLOGICAL INFORMATICS, 2021, 62
  • [10] Rebalanced Zero-Shot Learning
    Ye, Zihan
    Yang, Guanyu
    Jin, Xiaobo
    Liu, Youfa
    Huang, Kaizhu
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2023, 32 : 4185 - 4198