Sarcasm Detection in Political Speeches Using Recurrent Neural Networks

被引:0
作者
Thikho, Mulaudzi [1 ]
Mokwena, Sello N. [1 ]
机构
[1] Univ Limpopo, Dept Comp Sci, Sovenga, South Africa
来源
SOUTH AFRICAN COMPUTER SCIENCE AND INFORMATION SYSTEMS RESEARCH TRENDS, SAICSIT 2024 | 2024年 / 2159卷
关键词
Sarcasm detection; sentiment analysis; deep learning; RNN's; ensemble; stacking; weighted average;
D O I
10.1007/978-3-031-64881-6_8
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This study investigated the effectiveness of recurrent neural networks (RNN) for the detection of sarcasm in the challenging domain of political speech. Given the inherent nuance of sarcasm, it can be difficult. This study compared three RNN architectures (SimpleRNN, LSTM, and GRU) and demonstrated that ensemble learning techniques (stacking andweighted averaging) further improved accuracy. Pre-trained word embeddings (GloVe) were used to capture semantic cues that signal sarcasm. These embeddings were incorporated by replacingwords with their corresponding vector representations. The model was evaluated using standard metrics (accuracy, precision, recall, F1 score). The results showed that the ensembles outperformed individual RNNs, achieving a peak accuracy of 95% and an F1 score of 95% for both sarcastic and nosarcastic classes. Individual RNNs achieved an accuracy of 91%, highlighting the clear benefit of ensemble learning. This improvement suggests that ensembles effectively combine the strengths of different models, leading to more robust and generalisable sarcasm detection in political speech. Furthermore, this research paves the way for the application of similar techniques to sentiment analysis tasks in other complex domains.
引用
收藏
页码:144 / 158
页数:15
相关论文
共 40 条
  • [1] Akula R., 2021, Interpretable multi-head self-attention architecture for sarcasm detection in social media
  • [2] Amir S., 2016, Modelling Context with User Embeddings for Sarcasm Detection in Social Media, P167
  • [3] [Anonymous], 2011, Elisabeth: Sarcasm, Pretense, and The Semantics/ Pragmatics Distinction
  • [4] Babanejad N, 2020, P 28 INT C COMP LING, P225, DOI DOI 10.18653/V1/2020.COLING-MAIN.20
  • [5] Barbieri F., 2014, Modelling Irony in Twitter, P56
  • [6] Baruah A, 2020, FIGURATIVE LANGUAGE PROCESSING, P83
  • [7] Buschmeier K., 2014, Product Reviews, P42
  • [8] Chung J., 2014, NIPS 2014 WORKSHOP D
  • [9] An Effective Sarcasm Detection Approach Based on Sentimental Context and Individual Expression Habits
    Du, Yu
    Li, Tong
    Pathan, Muhammad Salman
    Teklehaimanot, Hailay Kidu
    Yang, Zhen
    [J]. COGNITIVE COMPUTATION, 2022, 14 (01) : 78 - 90
  • [10] Context-Based Feature Technique for Sarcasm Identification in Benchmark Datasets Using Deep Learning and BERT Model
    Eke, Christopher Ifeanyi
    Norman, Azah Anir
    Shuib, Liyana
    [J]. IEEE ACCESS, 2021, 9 (09): : 48501 - 48518