Which AI Technique Is Better to Classify Requirements? An Experiment with SVM, LSTM, and ChatGPT. El-Hajjami, A., Fafin, N., & Salinesi, C. April, 2024. arXiv:2311.11547
Paper doi abstract bibtex 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.
@misc{el-hajjami_which_2024,
title = {Which {AI} {Technique} {Is} {Better} to {Classify} {Requirements}? {An} {Experiment} with {SVM}, {LSTM}, and {ChatGPT}},
shorttitle = {Which {AI} {Technique} {Is} {Better} to {Classify} {Requirements}?},
url = {http://arxiv.org/abs/2311.11547},
doi = {10.48550/arXiv.2311.11547},
abstract = {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.},
urldate = {2024-11-18},
publisher = {arXiv},
author = {El-Hajjami, Abdelkarim and Fafin, Nicolas and Salinesi, Camille},
month = apr,
year = {2024},
note = {arXiv:2311.11547},
keywords = {Computer Science - Artificial Intelligence, Computer Science - Software Engineering},
}
Downloads: 0
{"_id":"tSMvDg5LsZduuGjdc","bibbaseid":"elhajjami-fafin-salinesi-whichaitechniqueisbettertoclassifyrequirementsanexperimentwithsvmlstmandchatgpt-2024","author_short":["El-Hajjami, A.","Fafin, N.","Salinesi, C."],"bibdata":{"bibtype":"misc","type":"misc","title":"Which AI Technique Is Better to Classify Requirements? An Experiment with SVM, LSTM, and ChatGPT","shorttitle":"Which AI Technique Is Better to Classify Requirements?","url":"http://arxiv.org/abs/2311.11547","doi":"10.48550/arXiv.2311.11547","abstract":"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.","urldate":"2024-11-18","publisher":"arXiv","author":[{"propositions":[],"lastnames":["El-Hajjami"],"firstnames":["Abdelkarim"],"suffixes":[]},{"propositions":[],"lastnames":["Fafin"],"firstnames":["Nicolas"],"suffixes":[]},{"propositions":[],"lastnames":["Salinesi"],"firstnames":["Camille"],"suffixes":[]}],"month":"April","year":"2024","note":"arXiv:2311.11547","keywords":"Computer Science - Artificial Intelligence, Computer Science - Software Engineering","bibtex":"@misc{el-hajjami_which_2024,\n\ttitle = {Which {AI} {Technique} {Is} {Better} to {Classify} {Requirements}? {An} {Experiment} with {SVM}, {LSTM}, and {ChatGPT}},\n\tshorttitle = {Which {AI} {Technique} {Is} {Better} to {Classify} {Requirements}?},\n\turl = {http://arxiv.org/abs/2311.11547},\n\tdoi = {10.48550/arXiv.2311.11547},\n\tabstract = {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.},\n\turldate = {2024-11-18},\n\tpublisher = {arXiv},\n\tauthor = {El-Hajjami, Abdelkarim and Fafin, Nicolas and Salinesi, Camille},\n\tmonth = apr,\n\tyear = {2024},\n\tnote = {arXiv:2311.11547},\n\tkeywords = {Computer Science - Artificial Intelligence, Computer Science - Software Engineering},\n}\n\n\n\n\n\n\n\n","author_short":["El-Hajjami, A.","Fafin, N.","Salinesi, C."],"key":"el-hajjami_which_2024","id":"el-hajjami_which_2024","bibbaseid":"elhajjami-fafin-salinesi-whichaitechniqueisbettertoclassifyrequirementsanexperimentwithsvmlstmandchatgpt-2024","role":"author","urls":{"Paper":"http://arxiv.org/abs/2311.11547"},"keyword":["Computer Science - Artificial Intelligence","Computer Science - Software Engineering"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/maraee75","dataSources":["PjpadRRabZA7FRKpn"],"keywords":["computer science - artificial intelligence","computer science - software engineering"],"search_terms":["technique","better","classify","requirements","experiment","svm","lstm","chatgpt","el-hajjami","fafin","salinesi"],"title":"Which AI Technique Is Better to Classify Requirements? An Experiment with SVM, LSTM, and ChatGPT","year":2024}