Context vs. Human Disagreement in Sarcasm Detection
Paper · 2024 · Hyewon Jang, Moritz Jakob and Diego Frassinelli
Summary
Earlier work agrees that context helps recognise sarcasm but rarely asks how much context is actually needed. The authors built a small controlled dataset from 24 two-person scenes from Friends in MUStARD, with character names changed. Each scene appears either as its original short transcript context (SC) or as a hand-written narrative long context (LC). The narrative version restores information that the transcript omits, such as visual, episode-level, or series-level facts. Lay native English speakers who did not know the show wrote free replies. Other raters then scored these replies for sarcasm in three settings: after LC, after SC, or with no context (NC). BERT, RoBERTa and DistilBERT, fine-tuned on the rest of MUStARD, classified the same items.
Humans and models both detect more sarcasm when any context is present. Making the context longer gives humans no extra gain. For models, longer context helps only on items where the human raters disagreed. Rater agreement was low, yet the effect of context stayed stable across raters. This matters for subjective NLP tasks.
Key points
- Data collection: 32 participants wrote replies. Fourteen were dropped for familiarity with the show, leaving replies from 18 people. SC averages about 26 words and LC about 66 words.
- Ratings: each of the 1,296 stimuli (432 per condition) was rated by 3 people on a six-point scale, which was then binarised.
- Overall Fleiss' Kappa was 0.17, compared with 0.23 in the original MUStARD.
- Agreement fell as context was added: NC 0.18, SC 0.13, LC 0.10.
- Effect of context on humans: roughly 38% of replies judged non-sarcastic without context became sarcastic once context was shown.
- Mixed-effects models (lme4) found context significant.
- LC beat SC for only one of the three raters.
- Model results: models were trained over 4 seeds × 5 folds for 10 epochs. On combined labels, BERT's macro-F was LC 0.55, SC 0.54 and NC 0.34; the other models showed the same pattern.
- Agreed vs. disagreed items:
- On items where raters agreed, LC and SC both beat NC.
- On split items, LC raised BERT's majority-label choice to 0.54, versus 0.51 for SC and 0.50 for NC.
- Model choices matched each individual rater at similar rates, which explains why the overall pattern held despite low agreement.
Interesting ideas
- I1. The same utterance is presented under graded context conditions (none, transcript-only, full narrative), so the effect of context is measured directly rather than assumed.
- I2. The long context was written to recover facts the transcript lacks, on the view that sarcasm depends on shared background knowledge rather than just surrounding words.
- I3. Items are scored against each annotator separately and against the combined label. They are also split into unanimous and 2-vs-1 cases, and on split cases the model's choice counts as a better or worse option rather than simply right or wrong.
- I4. Annotators who might recognise the source material were excluded, so that prior knowledge could not shape their judgments.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (frames): run the irony detector in prag on a sentence alone, with its preceding turn, and with the full story, and log which piece of context flips the decision, so each irony call can be explained by a cited cause.
- I2 (world): treat the world-of-the-text state (expectations, prior events, holdings) as the "long context" for irony, so a flagged contradiction can point to the specific world fact being violated.
- I3 (learn): when witness parsers disagree on silver data, keep the split arcs as graded majority/minority targets and report accuracy separately on unanimous and contested items, instead of forcing one gold answer.
- I4 (answer): when testing QA on well-known fables, add negative controls with renamed or altered tales, so that correct answers reflect reading the text rather than recalling the story.
Institutions
Fields, topics and concepts
📚 Shelves 6The field of science this work belongs to (OpenAlex fields).Computer Science · 16,667 worksArtificial Intelligence · 16,194 worksArts and Humanities · 16,039 worksLanguage and Linguistics · 15,891 worksPsychology · 1,552 worksExperimental and Cognitive Psychology · 870 works
🧭 Topics 1Research subjects and languages the work is about.Sentiment & emotion · 972 works
Cite
Cite as Hyewon Jang, Moritz Jakob and Diego Frassinelli. 2024. Context vs. Human Disagreement in Sarcasm Detection. Proceedings of the 4th Workshop on Figurative Language Processing (FigLang 2024).
@inproceedings{jang2024context,
title = {{Context vs. Human Disagreement in Sarcasm Detection}},
author = {Hyewon Jang, Moritz Jakob and Diego Frassinelli},
booktitle = {Proceedings of the 4th Workshop on Figurative Language Processing (FigLang 2024)},
year = {2024},
doi = {10.18653/v1/2024.figlang-1.1},
url = {https://doi.org/10.18653/v1/2024.figlang-1.1}
}References
- Douglas Bates, Martin Mächler, Ben Bolker, and Steve Walker. 2015. Fitting linear mixed-effects models using lme4. Journal of Statistical Software, 67(1):1– 48. ↗
- Santiago Castro, Devamanyu Hazarika, Verónica Pérez-Rosas, Roger Zimmermann, Rada Mihalcea, and Soujanya Poria. 2019. Towards multimodal sarcasm detection (an _Obviously_ perfect paper). In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4619–4629, Florence, Italy. Association for Computational Linguistics. ↗
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota. Association for Computational Linguistics. ↗
- Debanjan Ghosh, Alexander R. Fabbri, and Smaranda Muresan. 2018. Sarcasm Analysis Using Conversation Context. Computational Linguistics, 44(4):755– 792. ↗
- Nikhil Jaiswal. 2020. Neural sarcasm detection using conversation context. In Proceedings of the second workshop on figurative language processing, pages 77–82.
- Hyewon Jang, Bettina Braun, and Diego Frassinelli. 2023. Intended and perceived sarcasm between close friends: What triggers sarcasm and what gets conveyed? In Proceedings of the Annual Meeting of the Cognitive Science Society, volume 45. find
- Hyewon Jang and Diego Frassinelli. 2024. Generalizable sarcasm detection is just around the corner, of course! arXiv preprint arXiv:2404.06357. ↗
- Aditya Joshi, Vaibhav Tripathi, Pushpak Bhattacharyya, and Mark J. Carman. 2016. Harnessing sequence labeling for sarcasm detection in dialogue from TV series ‘Friends’. In Proceedings of the 20th SIGNLL Conference on Computational Natural Language Learning, pages 146–155, Berlin, Germany. Association for Computational Linguistics.
- Russell V. Lenth. 2023. emmeans: Estimated Marginal Means, aka Least-Squares Means. R package version 1.8.6. find
- Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. RoBERTa: A robustly optimized BERT pretraining approach. arXiv preprint arXiv:1907.11692. ↗
- Abhijit Mishra, Diptesh Kanojia, Seema Nagar, Kuntal Dey, and Pushpak Bhattacharyya. 2016. Harnessing cognitive features for sarcasm detection. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1095–1104, Berlin, Germany. Association for Computational Linguistics. ↗
- R Core Team. 2021. R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria. find
- Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. 2019. Distilbert, a distilled version of BERT: smaller, faster, cheaper and lighter. CoRR, abs/1910.01108. ↗
- Rossano Schifanella, Paloma De Juan, Joel Tetreault, and Liangliang Cao. 2016. Detecting sarcasm in multimodal social platforms. In Proceedings of the 24th ACM international conference on Multimedia, pages 1136–1145. ↗
- Jennifer Woodland and Daniel Voyer. 2011. Context and intonation in the perception of sarcasm. Metaphor and Symbol, 26(3):227–239. ↗
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/jang-2024-context-vs-human-disagreement-sarcasm/