The Classification of Software Requirements using Large Language Models: Emerging Results and Future Directions

In recent years, large language models (LLMs) have demonstrated exceptional capabilities across various tasks. However, the effectiveness of LLMs in software requirement classification has yet to be thoroughly explored. This paper aims to bridge this gap by evaluating the performance of multiple LLMs (including GPT-3.5, GPT-4, GPT-4o, HuggingChat, Gemini, and DeepSeek) under different task prompts, focusing specifically on the binary classification of functional requirements (FR) versus non-functional requirements (NFR), as well as the multi-class classification of non-functional requirements. Experimental results show that HuggingChat achieved the highest accuracy and F1 score in the binary classification task, outperforming other models; meanwhile, GPT-4 performed relatively well in the multi-class classification task. Through the analysis of these results, this paper provides important references for future research and applications in software requirement classification and explores potential directions for LLM-based software requirement classification.

Authors

Institutions

Publication Details

Published
2024-10-11
DOI
https://doi.org/10.1109/cbase64041.2024.10824444
Citations
1
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.78
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The Classification of Software Requirements using Large Language Models: Emerging Results and Future Directions

Yizhuo Zhang, Yanhui Li
1 citations
Software Engineering Research
0.78
article

The Classification of Software Requirements using Large Language Models: Emerging Results and Future Directions

Yizhuo Zhang, Yanhui Li
article en
1 citations

Abstract

In recent years, large language models (LLMs) have demonstrated exceptional capabilities across various tasks. However, the effectiveness of LLMs in software requirement classification has yet to be thoroughly explored. This paper aims to bridge this gap by evaluating the performance of multiple LLMs (including GPT-3.5, GPT-4, GPT-4o, HuggingChat, Gemini, and DeepSeek) under different task prompts, focusing specifically on the binary classification of functional requirements (FR) versus non-functional requirements (NFR), as well as the multi-class classification of non-functional requirements. Experimental results show that HuggingChat achieved the highest accuracy and F1 score in the binary classification task, outperforming other models; meanwhile, GPT-4 performed relatively well in the multi-class classification task. Through the analysis of these results, this paper provides important references for future research and applications in software requirement classification and explores potential directions for LLM-based software requirement classification.

Wuhan University of Technology (CN)
Openalex Percentile: Top 18%
Software Engineering Research
0.78
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

The Classification of Software Requirements using Large Language Models: Emerging Results and Future Directions — Yizhuo Zhang, Yanhui Li · (2024) | TGRS Research Map | TGRS