Sarcasm detection based on BERT and attention mechanism

被引:1
|
作者
Meng, Jiana [1 ]
Zhu, Yanlin [1 ]
Sun, Shichang [1 ]
Zhao, Dandan [1 ]
机构
[1] Dalian Minzu Universe, Comp Sci & Engn, Liaohe Rd,Jinpu New Area, Dalian 116600, Liaoning, Peoples R China
基金
中国国家自然科学基金;
关键词
Sarcasm detection; BERT; Convolutional neural network; Attention mechanism; SKIN; CLASSIFICATION; MELANOMA;
D O I
10.1007/s11042-023-16797-6
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Sarcasm detection is a challenging task in sentiment analysis and is usually used to detect sarcasm by judging inconsistencies in the individual words of an expression of sentiment; however, detection is less effective for sentences with complex semantic information, especially those with too few sentiment words. To tackle this problem, we propose a sarcasm detection model based on pretraining model and attention mechanism, which works with the context and language environment for sarcasm detection of phrase fragments for semantic feature extraction to attain higher-level semantic features, rather than limiting attention to words. Intrasentence attention mechanism was used to model the semantic information between phrase fragments within sentences, and then further strengthen the key features, which gives higher attention weights to key phrases so as to improving the ability of the model to identify expressions of sarcasm and avoids the lack of semantic incongruity of distant words in most sequential neural networks. Experimental results on a publicly available dataset indicated that the proposed approach outperforms baselines and state-of-the-art models.
引用
收藏
页码:29159 / 29178
页数:20
相关论文
共 50 条
  • [41] Event detection based on the label attention mechanism
    Qing Cheng
    Yanghui Fu
    Jincai Huang
    Guangquan Cheng
    Hang Du
    International Journal of Machine Learning and Cybernetics, 2023, 14 : 633 - 641
  • [42] ANOMALOUS SOUND DETECTION BASED ON ATTENTION MECHANISM
    Mori, Hayato
    Tamura, Satoshi
    Hayamizu, Satoru
    29TH EUROPEAN SIGNAL PROCESSING CONFERENCE (EUSIPCO 2021), 2021, : 581 - 585
  • [43] Webshell Detection Based on the Word Attention Mechanism
    Li, Tingting
    Ren, Chunhui
    Fu, Yusheng
    Xu, Jie
    Guo, Jinhong
    Chen, Xinyu
    IEEE ACCESS, 2019, 7 : 185140 - 185147
  • [44] Object detection based on an adaptive attention mechanism
    Wei Li
    Kai Liu
    Lizhe Zhang
    Fei Cheng
    Scientific Reports, 10
  • [45] Object detection based on an adaptive attention mechanism
    Li, Wei
    Liu, Kai
    Zhang, Lizhe
    Cheng, Fei
    SCIENTIFIC REPORTS, 2020, 10 (01)
  • [46] Object Detection Model Based on Attention Mechanism
    Han, Mengxue
    Tang, Xiangyan
    Yang, Yue
    Huang, Zhennan
    BIG DATA AND SECURITY, ICBDS 2023, PT I, 2024, 2099 : 74 - 88
  • [47] Lane detection based on dual attention mechanism
    Ren, Feng-lei
    Zhou, Hai-bo
    Yang, Lu
    He, Xin
    CHINESE OPTICS, 2023, 16 (03) : 645 - 653
  • [48] Video Anomaly Detection Based on Attention Mechanism
    Zhang, Qianqian
    Wei, Hongyang
    Chen, Jiaying
    Du, Xusheng
    Yu, Jiong
    SYMMETRY-BASEL, 2023, 15 (02):
  • [49] Event detection based on the label attention mechanism
    Cheng, Qing
    Fu, Yanghui
    Huang, Jincai
    Cheng, Guangquan
    Du, Hang
    INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2023, 14 (02) : 633 - 641
  • [50] BHF: BERT-based Hierarchical Attention Fusion Network for Cyberbullying Remarks Detection
    Feng Ziyang
    Su Jintao
    Cao Junkuo
    2022 5TH INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND NATURAL LANGUAGE PROCESSING, MLNLP 2022, 2022, : 1 - 7