mlsanityData to 7 Oct 2026

Zero-Shot Learning for Requirements Classification: An Exploratory Study

arXiv 2302.04723 ↗First posted 9 Feb 2023cs.SE cs.AIcited by 9

Not on the map. Why?

Abstract (arXiv)

Context: Requirements engineering researchers have been experimenting with machine learning and deep learning approaches for a range of RE tasks, such as requirements classification, requirements tracing, ambiguity detection, and modelling. However, most of today's ML/DL approaches are based on supervised learning techniques, meaning that they need to be trained using a large amount of task-specific labelled training data. This constraint poses an enormous challenge to RE researchers, as the lack of labelled data makes it difficult for them to fully exploit the benefit of advanced ML/DL technologies. Objective: This paper addresses this problem by showing how a zero-shot learning approach can be used for requirements classification without using any labelled training data. We focus on the classification task because many RE tasks can be framed as classification problems. Method: The ZSL approach used in our study employs contextual word-embeddings and transformer-based language models. We demonstrate this approach through a series of experiments to perform three classification 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. Results: 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. Conclusion: 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 classification tasks. The proposed approach thus contributes to the solution of the long-standing problem of data shortage in RE.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 29 of its 88 references that are in the map. First posted on arXiv 9 Feb 2023.

Builds on

29 of 88 references.

References · 29

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  6. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  7. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  8. 2018Deep contextualized word representationscited by 2,285
  9. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
  10. 2016Enriching Word Vectors with Subword Informationcited by 1,578
  11. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  12. 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
17 more
  1. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  2. 2019A Comprehensive Survey on Transfer Learningcited by 1,154
  3. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  4. 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 425
  5. 2019Revealing the Dark Secrets of BERTcited by 300
  6. 2019Benchmarking Zero-shot Text Classification: Datasets, Evaluation and Entailment Approachcited by 299
  7. 2013Zero-Shot Learning Through Cross-Modal Transfercited by 237
  8. 2019To Tune or Not to Tune? Adapting Pretrained Representations to Diverse Taskscited by 167
  9. 2020Deep Learning Based Text Classification: A Comprehensive Reviewcited by 140
  10. 2020LEGAL-BERT: The Muppets straight out of Law Schoolcited by 111
  11. 2016Unsupervised Pretraining for Sequence to Sequence Learningcited by 47
  12. 2019An Embarrassingly Simple Approach for Transfer Learning from Pretrained Language Modelscited by 39
  13. 2020Code and Named Entity Recognition in StackOverflowcited by 39
  14. 2017Train Once, Test Anywhere: Zero-Shot Learning for Text Classificationcited by 22
  15. 2016Are "Non-functional" Requirements really Non-functional?cited by 8
  16. 2022ZeroBERTo: Leveraging Zero-Shot Text Classification by Topic Modelingcited by 7
  17. 2018Automatic Traceability Maintenance via Machine Learning Classificationcited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 1; 2025: 4; 2026: 2.

9 papers.