arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.11547cs.AIcs.SE
收藏

哪种 AI 技术更适合对需求进行分类?一项使用 SVM、LSTM 和 ChatGPT 的实验

Which AI Technique Is Better to Classify Requirements? An Experiment with SVM, LSTM, and ChatGPT

Paris 1 Panthéon–Sorbonne University(巴黎第一先贤祠-索邦大学)

Abdelkarim El-Hajjami, Nicolas Fafin, Camille Salinesi

AI总结:

本文在五个数据集上实证比较 gpt-3.5-turbo、gpt-4 与 SVM、LSTM 的需求分类效果,发现没有一种技术在所有需求类别上始终最优,少样本主要在零样本表现较差时带来提升。

摘要:

近来,像 ChatGPT 这样的大型语言模型已在各类自然语言处理任务中展现出显著能力。它们在需求工程,尤其是需求分类中的应用,正受到越来越多关注。本文报告了一项广泛的实证评估,针对两个 ChatGPT 模型(具体为 gpt-3.5-turbo 和 gpt-4)在零样本与少样本设置下进行需求分类的表现。由此产生的问题是:这些模型与传统分类方法(特别是支持向量机和长短期记忆网络)相比如何。基于五个不同数据集,我们的结果表明,并不存在一种适用于所有类型需求类别的单一最佳技术。有趣的是,研究发现少样本设置主要在零样本结果显著较低的场景中才有益。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑