Zero-Shot Learning for Requirements Classification: An Exploratory Study
- URL: http://arxiv.org/abs/2302.04723v1
- Date: Thu, 9 Feb 2023 16:05:01 GMT
- Title: Zero-Shot Learning for Requirements Classification: An Exploratory Study
- Authors: Waad Alhoshan, Alessio Ferrari, Liping Zhao
- Abstract summary: Requirements Engineering (RE) researchers have been experimenting Machine Learning (ML) and Deep Learning (DL) approaches for a range of RE tasks.
Most of today's ML-DL approaches are based on supervised learning techniques, meaning that they need to be trained using annotated datasets.
This paper proposes an approach that employs the embedding-based unsupervised Zero-Shot Learning (ZSL) technique to perform requirements classification.
- Score: 6.855054517723465
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Context and motivation: Requirements Engineering (RE) researchers have been
experimenting Machine Learning (ML) and Deep Learning (DL) 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
sample items from an application domain. This constraint poses an enormous
challenge to RE researchers, as the lack of annotated datasets makes it
difficult for them to fully exploit the benefit of advanced ML-DL technologies.
Principal ideas-results: To address this challenge, this paper proposes an
approach that employs the embedding-based unsupervised Zero-Shot Learning (ZSL)
technique to perform requirements classification. We focus on the
classification task because many RE tasks can be framed as classification
problems. In this study, we demonstrate our approach for three tasks. (1)
FR-NFR: classification functional requirements vs non-functional requirements;
(2) NFR: identification of NFR classes; (3) Security: classification of
security vs non-security requirements. The study shows that the ZSL approach
achieves an F1 score of 0.66 for the FR-NFR task. For the NFR task, the
approach yields F1 ~ 0.72-0.80, considering the most frequent classes. For the
Security task, F1 ~ 0.66. All of the aforementioned F1 scores are achieved with
zero-training efforts. Contribution: This study demonstrates the potential of
ZSL for requirements classification. An important implication is that it is
possible to have very little or no training data to perform multiple tasks. The
proposed approach thus contributes to the solution of the longstanding problem
of data shortage in RE.
Related papers
- Large Language Models for Document-Level Event-Argument Data Augmentation for Challenging Role Types [1.949927790632678]
Event Argument Extraction (EAE) is an extremely difficult information extraction problem.
Existing augmentation methods are not well-suited to a variety of real-world EAE contexts.
We introduce two novel LLM-powered data augmentation frameworks for synthesizing document-level EAE samples.
arXiv Detail & Related papers (2024-03-05T20:07:42Z) - Few-shot Class-incremental Learning: A Survey [16.729567512584822]
Few-shot Class-Incremental Learning (FSCIL) presents a unique challenge in Machine Learning (ML)
This paper aims to provide a comprehensive and systematic review of FSCIL.
arXiv Detail & Related papers (2023-08-13T13:01:21Z) - Task formulation for Extracting Social Determinants of Health from
Clinical Narratives [0.0]
The 2022 n2c2 NLP Challenge posed identification of social determinants of health in clinical narratives.
We present three systems that we developed for the Challenge and discuss the distinctive task formulation used in each of the three systems.
arXiv Detail & Related papers (2023-01-26T20:00:54Z) - Task Residual for Tuning Vision-Language Models [69.22958802711017]
We propose a new efficient tuning approach for vision-language models (VLMs) named Task Residual Tuning (TaskRes)
TaskRes explicitly decouples the prior knowledge of the pre-trained models and new knowledge regarding a target task.
The proposed TaskRes is simple yet effective, which significantly outperforms previous methods on 11 benchmark datasets.
arXiv Detail & Related papers (2022-11-18T15:09:03Z) - The Role of Global Labels in Few-Shot Classification and How to Infer
Them [55.64429518100676]
Few-shot learning is a central problem in meta-learning, where learners must quickly adapt to new tasks.
We propose Meta Label Learning (MeLa), a novel algorithm that infers global labels and obtains robust few-shot models via standard classification.
arXiv Detail & Related papers (2021-08-09T14:07:46Z) - MURAL: Meta-Learning Uncertainty-Aware Rewards for Outcome-Driven
Reinforcement Learning [65.52675802289775]
We show that an uncertainty aware classifier can solve challenging reinforcement learning problems.
We propose a novel method for computing the normalized maximum likelihood (NML) distribution.
We show that the resulting algorithm has a number of intriguing connections to both count-based exploration methods and prior algorithms for learning reward functions.
arXiv Detail & Related papers (2021-07-15T08:19:57Z) - Embedding Adaptation is Still Needed for Few-Shot Learning [25.4156194645678]
ATG is a principled clustering method to defining train and test tasksets without additional human knowledge.
We empirically demonstrate the effectiveness of ATG in generating tasksets that are easier, in-between, or harder than existing benchmarks.
We leverage our generated tasksets to shed a new light on few-shot classification: gradient-based methods can outperform metric-based ones when transfer is most challenging.
arXiv Detail & Related papers (2021-04-15T06:00:04Z) - CLeaR: An Adaptive Continual Learning Framework for Regression Tasks [2.043835539102076]
Catastrophic forgetting means that a trained neural network model gradually forgets the previously learned tasks when being retrained on new tasks.
Numerous continual learning algorithms are very successful in incremental learning of classification tasks.
This article proposes a new methodological framework that can forecast targets and update itself by means of continual learning.
arXiv Detail & Related papers (2021-01-04T12:41:45Z) - Fine-grained Angular Contrastive Learning with Coarse Labels [72.80126601230447]
We introduce a novel 'Angular normalization' module that allows to effectively combine supervised and self-supervised contrastive pre-training.
This work will help to pave the way for future research on this new, challenging, and very practical topic of C2FS classification.
arXiv Detail & Related papers (2020-12-07T08:09:02Z) - Prior Guided Feature Enrichment Network for Few-Shot Segmentation [64.91560451900125]
State-of-the-art semantic segmentation methods require sufficient labeled data to achieve good results.
Few-shot segmentation is proposed to tackle this problem by learning a model that quickly adapts to new classes with a few labeled support samples.
Theses frameworks still face the challenge of generalization ability reduction on unseen classes due to inappropriate use of high-level semantic information.
arXiv Detail & Related papers (2020-08-04T10:41:32Z) - TAFSSL: Task-Adaptive Feature Sub-Space Learning for few-shot
classification [50.358839666165764]
We show that the Task-Adaptive Feature Sub-Space Learning (TAFSSL) can significantly boost the performance in Few-Shot Learning scenarios.
Specifically, we show that on the challenging miniImageNet and tieredImageNet benchmarks, TAFSSL can improve the current state-of-the-art in both transductive and semi-supervised FSL settings by more than $5%$.
arXiv Detail & Related papers (2020-03-14T16:59:17Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.