一种基于提示学习的话题讽刺识别方法
DOI:
作者:
作者单位:

作者简介:

通讯作者:

基金项目:


A Topic-Oriented Sarcasm Detection Method Based on Prompt Learning
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
    摘要:

    目的 面向话题的讽刺识别旨在通过引入话题,将话题视作对象来判断评论是否为讽刺表达,但是现有基于 提示学习的方法存在模板依赖人工构造的问题,存在复杂性与不稳定性。 方法 针对此问题,根据提示学习的模板 工程与映射器工程提出了新的设计方法,将连续与离散相结合的混合模板与映射器进行交互,通过对模板进行预 训练减少人工选取模板引起的复杂性与不稳定性问题,再将设计好的模板与原始输入拼接输入到预训练模型 BERT-base-Chinese 中对标记的数据进行分类;在此基础上,提出面向话题讽刺识别任务的模型 MTPrompt。 结果 该模型在 ToScarcasm 数据集上的实验表明,在全批量训练数据场景下,与现有手工模板与手工映射器交互模型 TOSPrompt 相比较,准确率提升了 2. 78%、精确率提升了 1. 89%、召回率提升了 5. 26%、F1 值提升了 3. 54%,同时在 小批量训练数据场景下,准确率与 F1 值均高于其他基线模型。 结论 在话题讽刺识别应用场景中,混合模板的方法 可以有效优化人工构造模板方法的复杂性与不稳定,并且达到更佳的识别性能。

    Abstract:

    Objective Topic-oriented sarcasm detection aims to judge whether a comment is a sarcastic expression by introducing topics and regarding them as objects. Nevertheless the existing methods based on prompt learning have the problem of relying on manually constructed templates which brings complexity and instability. Methods To tackle this problem a novel design approach was put forward based on template engineering and mapper engineering of prompt learning. A hybrid template integrating continuous and discrete elements interacted with the mapper. By pre-training the template the complexity and instability resulting from manual template selection were mitigated. Subsequently the welldesigned template was concatenated with the original input and fed into the pre-trained model BERT-base-Chinese for classifying the labeled data. On this basis a model named MTPrompt for topic-oriented sarcasm detection was proposed. Results Experiments on the ToScarcasm dataset show that under the scenario of full-batch training data when compared with the existing model TOSPrompt that involves the interaction between manual templates and manual mappers the proposed model MTPrompt achieves significant improvements. Specifically its accuracy was increased by 2. 78% precision by 1. 89% recall by 5. 26% and the F1 score by 3. 54%. Meanwhile under the scenario of small-batch training data both the accuracy and F1 score of this model were higher than those of other baseline models. Conclusion In the application scenario of topic-oriented sarcasm detection the hybrid template method can effectively alleviate the complexity and instability of manually constructed templates and attain better detection performance

    参考文献
    相似文献
    引证文献
引用本文

胡松华,唐家伟,马汝虎.一种基于提示学习的话题讽刺识别方法[J].重庆工商大学学报(自然科学版),2026,43(3):108-115
HU Songhua TANG Jiawei MA Ruhu. A Topic-Oriented Sarcasm Detection Method Based on Prompt Learning[J]. Journal of Chongqing Technology and Business University(Natural Science Edition),2026,43(3):108-115

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2026-05-19
×
2025年《中国学术期刊影响因子年报》发布