Which AI Technique Is Better to Classify Requirements? An Experiment with SVM, LSTM, and ChatGPT
Not on the map. Why?
Abstract (arXiv)
Recently, Large Language Models like ChatGPT have demonstrated remarkable proficiency in various Natural Language Processing tasks. Their application in Requirements Engineering, especially in requirements classification, has gained increasing interest. This paper reports an extensive empirical evaluation of two ChatGPT models, specifically gpt-3.5-turbo, and gpt-4 in both zero-shot and few-shot settings for requirements classification. The question arises as to how these models compare to traditional classification methods, specifically Support Vector Machine and Long Short-Term Memory. Based on five different datasets, our results show that there is no single best technique for all types of requirement classes. Interestingly, the few-shot setting has been found to be beneficial primarily in scenarios where zero-shot results are significantly low.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 3 of its 19 references that are in the map. First posted on arXiv 20 Nov 2023.
Builds on
3 of 19 references.
References · 3
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023A Survey of Large Language Modelscited by 2,576
- 2016Are "Non-functional" Requirements really Non-functional?cited by 8
Built on by
Citing papers per year: 2024: 1; 2025: 4; 2026: 2.
7 papers.
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 86
- 2025The Few-shot Dilemma: Over-prompting Large Language Modelscited by 8
- 2025ReqInOne: A Large Language Model-Based Agent for Software Requirements Specification Generationcited by 2
- 2025Synthline: A Product Line Approach for Synthetic Requirements Engineering Data Generation using Large Language Modelscited by 1
- 2026Agent4RE: A Self-Refining Multi-agent Framework for End-to-End Software Requirements Engineering and Benchmarkingcited by 1
- 2025Multi-Sample Prompting and Actor-Critic Prompt Optimization for Diverse Synthetic Data Generationcited by 0
- 2026How Well Can AI Generate Backlogs from App Mockups?cited by 0
- 2026Agent4RE: A Self-Refining Multi-agent Framework for End-to-End Software Requirements Engineering and Benchmarking7 Oct 2026
- 2026How Well Can AI Generate Backlogs from App Mockups?24 Jul 2026
- 2025The Few-shot Dilemma: Over-prompting Large Language Models16 Sep 2025
- 2025ReqInOne: A Large Language Model-Based Agent for Software Requirements Specification Generation13 Aug 2025
- 2025Multi-Sample Prompting and Actor-Critic Prompt Optimization for Diverse Synthetic Data Generation26 Jun 2025
- 2025Synthline: A Product Line Approach for Synthetic Requirements Engineering Data Generation using Large Language Models6 May 2025
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Future5 Aug 2024