高级检索

基于情感对比与深度语义融合表示的讽刺检测方法

A Sarcasm Detection Method Based on the Fusion Representation of Sentiment Contrast and Deep Semantic

  • 摘要: 讽刺是一种具有强烈感情色彩的修辞形式,经常出现在社交媒体的评论和观点文本中。该文针对现有方法不能充分利用句子中的情感信息和深层语义信息问题,提出了一种基于情感对比与深度语义融合表示的讽刺检测方法。首先,针对讽刺表达的特性,设计两种情境下的情感强度度量,建立句子中多个子句的句内情感对比表示以及句子与其上文之间的句间情感对比表示。其次,微调大语言模型,进一步设计压缩-激励模块以及残差连接,建立句子的深度语义表示。最后,利用Transformer和交叉注意力机制,建立子句间情感对比、句间情感对比以及句子的深度语义的多视角融合表示,实现讽刺句检测。实验结果表明,所提方法在多个数据集上的性能优于基线方法。

     

    Abstract: Sarcasm is a rhetorical form with strong emotional connotations, frequently appearing in comments and opinion texts on social media. This paper proposes a novel sarcasm detection method based on the sentiment contrast and deep semantic representation fusion. Firstly, to capture the affective signature of sarcasm, we design two context-based measures for sentiment intensity to establish 1) intra-sentential sentiment contrast representations among multiple clauses within a sentence, and 2) inter-sentential sentiment contrast representations between a sentence and its preceding context. Next, we fine-tune a large language model to get the sentence representations and design a squeeze-and-excitation module along with residual connections to achieve deep semantic representations of sentences. Finally, we build a multi-perspective fusion representation that integrates the inter-clausal sentiment contrast representation, the inter-sentential sentiment contrast representation and the deep semantic representation of the sentence to achieve effective sarcasm detection. Experimental results indicate that the proposed method achieves best performance compared with the existing baseline methods on multiple datasets.

     

/

返回文章
返回