arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.12725cs.CL
收藏

在大语言模型中,讽刺检测是一个逐步推理的过程吗?

Is Sarcasm Detection A Step-by-Step Reasoning Process in Large Language Models?

University of Copenhagen(哥本哈根大学);The Hong Kong Polytechnic University(香港理工大学);Tianjin University(天津大学)

Ben Yao, Yazhou Zhang, Qiuchi Li, Jing Qin

AI总结:

本文提出SarcasmCue提示框架,通过CoC、GoC、BoC和ToC四种顺序与非顺序方法引导LLMs检测讽刺,在四个基准上显著提升F1分数并超越现有基线。

摘要:

详细阐述一系列中间推理步骤能显著提升大语言模型(LLMs)解决复杂问题的能力,因为这些步骤会引导LLMs进行顺序思考。然而,人类对讽刺的理解通常被认为是一种直觉且整体的认知过程,在此过程中整合了各种语言、语境和情感线索以形成全面理解,其方式不一定遵循逐步的模式。为验证该论点的有效性,我们引入了一个名为SarcasmCue的新提示框架,包含四个子方法:矛盾链(CoC)、线索图(GoC)、线索装袋法(BoC)和线索张量(ToC),通过考虑顺序和非顺序提示方法来引导LLMs检测人类讽刺。通过对四个基准的全面实证比较,我们强调了三个关键发现:(1)CoC和GoC在GPT-4和Claude 3.5等更先进的模型上表现更优,提升了3.5%。(2)在评估较小的LLMs时,ToC显著优于其他方法,F1分数比最佳基线提高了29.7%。(3)我们提出的框架在四个数据集上的F1分数分别持续推动了当前最先进水平(即ToT)4.2%、2.0%、29.7%和58.2%。这证明了所提框架的有效性和稳定性。

英文摘要:

Elaborating a series of intermediate reasoning steps significantly improves the ability of large language models (LLMs) to solve complex problems, as such steps would evoke LLMs to think sequentially. However, human sarcasm understanding is often considered an intuitive and holistic cognitive process, in which various linguistic, contextual, and emotional cues are integrated to form a comprehensive understanding, in a way that does not necessarily follow a step-by-step fashion. To verify the validity of this argument, we introduce a new prompting framework (called SarcasmCue) containing four sub-methods, viz. chain of contradiction (CoC), graph of cues (GoC), bagging of cues (BoC) and tensor of cues (ToC), which elicits LLMs to detect human sarcasm by considering sequential and non-sequential prompting methods. Through a comprehensive empirical comparison on four benchmarks, we highlight three key findings: (1) CoC and GoC show superior performance with more advanced models like GPT-4 and Claude 3.5, with an improvement of 3.5%. (2) ToC significantly outperforms other methods when smaller LLMs are evaluated, boosting the F1 score by 29.7% over the best baseline. (3) Our proposed framework consistently pushes the state-of-the-art (i.e., ToT) by 4.2%, 2.0%, 29.7%, and 58.2% in F1 scores across four datasets. This demonstrates the effectiveness and stability of the proposed framework.

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

↑