Context and motivation: Natural Language Processing (NLP) techniques are constantly improving their capabilities, and deep learning approaches are now used in the daily practice of several application domains. Requirements engineering (RE) research has traditionally incorporated NLP solutions to ad-dress its fundamental tasks, such as classification, tracing, and defect detection. Question/problem: However, RE research often suffers from a lack of annotated datasets, and this makes it difficult to fully exploit supervised NLP techniques in general, and deep-learning ones in the specific, thereby losing the potential advantages offered by these techniques. Principal ideas/results: To address the problem of limited annotated datasets, we propose to use zero-shot classification, and apply this learning paradigm to RE tasks that can be treated as classification problems. We experimented with the task of distinguishing between two types of NFR requirements: usability and security requirement and obtained encouraging weighted F-scores over 80% and almost perfect recall rates from a number of the tested models, without any training data and fine-tuning. Contribution: This work paves the basis for further research in the application of zero-shot learning, and towards the solution of the long-standing problem of dataset annotation in RE.

A zero-shot learning approach to classifying requirements: preliminary study

Ferrari A;
2022

Abstract

Context and motivation: Natural Language Processing (NLP) techniques are constantly improving their capabilities, and deep learning approaches are now used in the daily practice of several application domains. Requirements engineering (RE) research has traditionally incorporated NLP solutions to ad-dress its fundamental tasks, such as classification, tracing, and defect detection. Question/problem: However, RE research often suffers from a lack of annotated datasets, and this makes it difficult to fully exploit supervised NLP techniques in general, and deep-learning ones in the specific, thereby losing the potential advantages offered by these techniques. Principal ideas/results: To address the problem of limited annotated datasets, we propose to use zero-shot classification, and apply this learning paradigm to RE tasks that can be treated as classification problems. We experimented with the task of distinguishing between two types of NFR requirements: usability and security requirement and obtained encouraging weighted F-scores over 80% and almost perfect recall rates from a number of the tested models, without any training data and fine-tuning. Contribution: This work paves the basis for further research in the application of zero-shot learning, and towards the solution of the long-standing problem of dataset annotation in RE.
2022
Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" - ISTI
978-3-030-98464-9
NLP
Zero-shot learning
Requirements Engineering
Software Engineering
File in questo prodotto:
File Dimensione Formato  
prod_461512-doc_180082.pdf

Open Access dal 09/03/2023

Descrizione: Preprint - A zero-shot learning approach to classifying requirements: preliminary study
Tipologia: Versione Editoriale (PDF)
Dimensione 121.92 kB
Formato Adobe PDF
121.92 kB Adobe PDF Visualizza/Apri
prod_461512-doc_181600.pdf

Open Access dal 09/03/2023

Descrizione: Postprint - A zero-shot learning approach to classifying requirements: preliminary study
Tipologia: Versione Editoriale (PDF)
Dimensione 132.69 kB
Formato Adobe PDF
132.69 kB Adobe PDF Visualizza/Apri
prod_461512-doc_183239.pdf

Open Access dal 09/03/2023

Descrizione: A zero-shot learning approach to classifying requirements: preliminary study
Tipologia: Versione Editoriale (PDF)
Dimensione 207.35 kB
Formato Adobe PDF
207.35 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/449202
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 10
  • ???jsp.display-item.citation.isi??? ND
social impact