arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.15537cs.CLcs.AIcs.CYcs.LG
收藏

评估ChatGPT在垃圾邮件检测中的性能

Evaluating the Performance of ChatGPT for Spam Email Detection

Shijing Si, Yuwei Wu, Le Tang, Yugui Zhang, Jedrek Wosik, Qinliang Su

AI总结:

本研究评估ChatGPT在中英文邮件数据集上的垃圾邮件识别能力,对比基准方法后发现其在低资源中文数据集表现更优,为其在资源受限语言领域的应用提供见解。

摘要:

电子邮件仍是专业和商业领域中关键且广泛使用的沟通媒介。然而,垃圾邮件的盛行给用户带来重大挑战,干扰其日常事务并降低生产力。因此,基于内容准确识别和过滤垃圾邮件对网络安全至关重要。自然语言处理的最新进展,尤其是ChatGPT等大型语言模型,在问答和文本生成等任务中表现出色,但在垃圾邮件识别方面的潜力仍未充分探索。为填补这一空白,本研究尝试评估ChatGPT在中英文电子邮件数据集上的垃圾邮件识别能力。我们利用上下文学习让ChatGPT进行垃圾邮件检测,这需要包含(或不包含)少量示例的提示指令,并研究提示中示例数量对其性能的影响。为作比较,我们还实现了五种流行的基准方法,包括朴素贝叶斯、支持向量机(SVM)、逻辑回归(LR)、前馈密集神经网络(DNN)和BERT分类器。大量实验表明,在大型英文数据集上,ChatGPT的性能显著低于深度监督学习方法;而在低资源中文数据集上,其表现更优。本研究为ChatGPT在垃圾邮件识别中的潜力与局限性提供了见解,强调其在资源受限语言领域作为可行解决方案的潜力。

英文摘要:

Email continues to be a pivotal and extensively utilized communication medium within professional and commercial domains. Nonetheless, the prevalence of spam emails poses a significant challenge for users, disrupting their daily routines and diminishing productivity. Consequently, accurately identifying and filtering spam based on content has become crucial for cybersecurity. Recent advancements in natural language processing, particularly with large language models like ChatGPT, have shown remarkable performance in tasks such as question answering and text generation. However, its potential in spam identification remains underexplored. To fill in the gap, this study attempts to evaluate ChatGPT's capabilities for spam identification in both English and Chinese email datasets. We employ ChatGPT for spam email detection using in-context learning, which requires a prompt instruction with (or without) a few demonstrations. We also investigate how the number of demonstrations in the prompt affects the performance of ChatGPT. For comparison, we also implement five popular benchmark methods, including naive Bayes, support vector machines (SVM), logistic regression (LR), feedforward dense neural networks (DNN), and BERT classifiers. Through extensive experiments, the performance of ChatGPT is significantly worse than deep supervised learning methods in the large English dataset, while it presents superior performance on the low-resourced Chinese dataset. This study provides insights into the potential and limitations of ChatGPT for spam identification, highlighting its potential as a viable solution for resource-constrained language domains.

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

↑