Skip to content
Open access

Leveraging reformers for enhanced detection and understanding of sarcastic statements

Nov 2026 · Neuroscience Research Notes · 0 citations · 35 references

Abstract

Subtle sarcasm and contextual sarcasm are particularly important topics of research due to their nature as linguistic phenomena. Indeed, sarcasm detection is a complex NLP task because sarcasm conveys meaning beyond the literal one and depends heavily on context. Thus, it requires considering discourse-level features and long-term relations between statements. Machine learning and deep learning models often perform poorly in recognising sarcasm because they cannot effectively incorporate contextual cues and polarity shifts. To address this problem, this paper introduces an improved sarcasm detection framework based on the Reformer transformer model to improve efficiency in modelling long sequences and extracting semantic features. We evaluated the proposed model on benchmark datasets (news, social media texts, conversations), using accuracy, precision, recall, F1-score, and AUC-ROC as performance indicators. The results showed that the recommended model outperformed several other available frameworks (BiLSTM, BERT, RoBERTa, DistilBERT).

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.