arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.04642cs.CLcs.LG
收藏

基于OpenAI GPT模型的讽刺检测研究

On Sarcasm Detection with OpenAI GPT-based Models

Toronto Metropolitan University(多伦多都会大学)

Montgomery Gole, Williams-Paul Nwadiugwu, Andriy Miranskyy

AI总结:

本文探讨了GPT-3、InstructGPT、GPT-3.5和GPT-4模型在讽刺检测中的应用,在SARC 2.0数据集上测试微调与零样本模型,发现最大微调GPT-3模型准确率达0.81优于先前模型,并强调每次版本发布后需重新评估性能。

摘要:

讽刺是一种反语形式,需要读者或听众通过考虑语境和社交线索来解释其预期含义。由于讽刺的社交复杂性和矛盾性,机器学习分类模型长期以来一直难以检测讽刺。本文探讨了生成式预训练Transformer(GPT)模型在自然语言讽刺检测中的应用,包括GPT-3、InstructGPT、GPT-3.5和GPT-4。测试了不同规模和版本的微调模型与零样本模型。这些GPT模型在流行的自标注Reddit语料库(SARC 2.0)讽刺数据集的政治与平衡(pol-bal)部分进行了测试。在微调情况下,最大的微调GPT-3模型实现了0.81的准确率和$F_1$分数,优于先前的模型。在零样本情况下,其中一个GPT-4模型给出了0.70的准确率和0.75的$F_1$分数。其他模型的得分较低。此外,模型的性能可能会随着每次发布而改善或恶化,这突出了在每次发布后重新评估性能的必要性。

英文摘要:

Sarcasm is a form of irony that requires readers or listeners to interpret its intended meaning by considering context and social cues. Machine learning classification models have long had difficulty detecting sarcasm due to its social complexity and contradictory nature. This paper explores the applications of the Generative Pretrained Transformer (GPT) models, including GPT-3, InstructGPT, GPT-3.5, and GPT-4, in detecting sarcasm in natural language. It tests fine-tuned and zero-shot models of different sizes and releases. The GPT models were tested on the political and balanced (pol-bal) portion of the popular Self-Annotated Reddit Corpus (SARC 2.0) sarcasm dataset. In the fine-tuning case, the largest fine-tuned GPT-3 model achieves accuracy and $F_1$-score of 0.81, outperforming prior models. In the zero-shot case, one of GPT-4 models yields an accuracy of 0.70 and $F_1$-score of 0.75. Other models score lower. Additionally, a model's performance may improve or deteriorate with each release, highlighting the need to reassess performance after each release.

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

↑