A Transformer and Prototype-based Interpretable Model for Contextual Sarcasm Detection
Not on the map. Why?
Abstract (arXiv)
Sarcasm detection, with its figurative nature, poses unique challenges for affective systems designed to perform sentiment analysis. While these systems typically perform well at identifying direct expressions of emotion, they struggle with sarcasm's inherent contradiction between literal and intended sentiment. Since transformer-based language models (LMs) are known for their efficient ability to capture contextual meanings, we propose a method that leverages LMs and prototype-based networks, enhanced by sentiment embeddings to conduct interpretable sarcasm detection. Our approach is intrinsically interpretable without extra post-hoc interpretability techniques. We test our model on three public benchmark datasets and show that our model outperforms the current state-of-the-art. At the same time, the prototypical layer enhances the model's inherent interpretability by generating explanations through similar examples in the reference time. Furthermore, we demonstrate the effectiveness of incongruity loss in the ablation study, which we construct using sentiment prototypes.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 17 of its 52 references that are in the map. First posted on arXiv 14 Mar 2025.
Builds on
17 of 52 references.
References · 17
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2018This Looks Like That: Deep Learning for Interpretable Image Recognitioncited by 737
- 2017Deep Learning for Case-Based Reasoning through Prototypes: A Neural Network that Explains Its Predictionscited by 234
- 2015The Bayesian Case Model: A Generative Approach for Case-Based Reasoning and Prototype Classificationcited by 76
- 2017A Large Self-Annotated Corpus for Sarcasmcited by 64
- 2017Creating and Characterizing a Diverse Corpus of Sarcasm in Dialoguecited by 43
- 2018Reasoning with Sarcasm by Reading In-betweencited by 38
- 2021Multi-modal Sarcasm Detection and Humor Classification in Code-mixed Conversationscited by 33
- 2018CASCADE: Contextual Sarcasm Detection in Online Discussion Forumscited by 26
- 2020An Analysis of LIME for Text Datacited by 25
5 more
- 2019Sarcasm Detection using Hybrid Neural Networkcited by 23
- 2022ProtoTEx: Explaining Model Decisions with Prototype Tensorscited by 21
- 2018Deep contextualized word representations for detecting sarcasm and ironycited by 18
- 2024Language Model Meets Prototypes: Towards Interpretable Text Classification Models through Prototypical Networkscited by 5
- 2022Sarcasm Detection Framework Using Context, Emotion and Sentiment Featurescited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.