---
title: "Magnets for Sarcasm — Ghosh 2017"
description: "Sarcasm on Twitter often cannot be recognized from the tweet text alone, because the reader needs context and some sense of the author's attitude."
authors: ["Aniruddha Ghosh", "Tony Veale"]
year: 2017
venue: "Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing"
source: "https://aclanthology.org/D17-1050/"
doi: "10.18653/v1/d17-1050"
licence: "CC BY 4.0 (ACL Anthology)"
licence_url: "https://creativecommons.org/licenses/by/4.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/papers/ghosh-2017-magnets-sarcasm-making-sarcasm-detection/"
---
[Elamur Research](https://md.research.elamur.ai/) · [this page in HTML](https://research.elamur.ai/free/papers/ghosh-2017-magnets-sarcasm-making-sarcasm-detection/)

[home](https://md.research.elamur.ai/) / [papers](https://md.research.elamur.ai/free/papers/) / [2017](https://md.research.elamur.ai/free/papers/2017/page/2/) / Magnets for Sarcasm: Making Sarcasm Detection Timely, Contextual and Very Personal

# Magnets for Sarcasm: Making Sarcasm Detection Timely, Contextual and Very Personal

**Authors:** [Aniruddha Ghosh](https://md.research.elamur.ai/free/authors/aniruddha-ghosh/), [Tony Veale](https://md.research.elamur.ai/free/authors/tony-veale/) · **Year:** 2017 · **Venue:** Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

**Links:** [Publisher's page](https://aclanthology.org/D17-1050/) · [PDF](https://aclanthology.org/D17-1050.pdf) · [DOI 10.18653/v1/d17-1050](https://doi.org/10.18653/v1/d17-1050) · [OpenAlex](https://openalex.org/W2758985501)

**Citations:** 147 citations (openalex-snapshot · 2026-10-14) · [27](#cited-by) in our library, of the 140673 papers whose bibliographies we read

## Summary
Sarcasm on Twitter often cannot be recognized from the tweet text alone, because the reader needs context and some sense of the author's attitude. Ghosh and Veale examine three questions: whether a speaker's mood helps detection, how the conversational context can be added to a neural model, and how the model can keep pace with shifting public opinion. They estimate the author's current mood from the 50 tweets posted just before the target tweet, scored on the 11 AnalyzeWords/LIWC dimensions. For context, they use the tweet to which the target is a reply. The model combines CNN, LSTM and DNN components. Training labels come from a feedback scheme in which the authors of the tweets themselves confirm whether they were being sarcastic, rather than relying on outside annotators.

Adding either the author's mood or the context tweet gives similarly large gains over text alone, but using both together adds little beyond either one. Retraining each week during the 2016 US campaign further improved results. The released dataset, Sarcasm Magnet, pairs each tweet with its context and a snapshot of its author's psychological profile.

## Key points
- **Mood features:** Each author is profiled on 11 AnalyzeWords dimensions, scored 0–100, including Angry, Analytic, Upbeat and Arrogant. The profiles were analysed with KNN clustering (k=30) and Spearman correlations against sarcastic behaviour.
- **Sarcasm magnets:** In a set of 18K sarcastic tweets, the most frequent targets were @hillaryClinton, @realDonaldTrump, @bernieSanders, @AP and @megynKelly. Tweets aimed at @realDonaldTrump had the highest mean anger, yet 63% of their affective words were positive.
- **Model inputs:** Configurations combine the target tweet, with or without the addressee (TTIA/TTEA), the context tweet (CT) and the psychological dimensions (PD).
- **Incremental retraining:** In August 2016, four weekly batches of feedback-annotated tweets were added. On a fixed test set of 1,200 tweets (550 sarcastic, 650 non-sarcastic), F-score rose from 0.752 to 0.85.
- **Labelling approach:** Labels come directly from the authors, so the model learns what the writer intended rather than how an outside annotator interpreted the tweet.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

Fields: [Linguistics & languages](https://md.research.elamur.ai/free/shelves/linguistics/)

## Cited by

Cited by

27 papers of our library cite it (of the 140673 whose bibliographies we read); 12 of them have a page here, 15 not yet.

- [R^3: Reverse, Retrieve, and Rank for Sarcasm Generation with Commonsense Knowledge](https://md.research.elamur.ai/free/papers/chakrabarty-2020-r-textasciicircum3-reverse-retrieve-rank/)
- [Transformer-based Context-aware Sarcasm Detection in Conversation Threads from Social Media](https://md.research.elamur.ai/free/papers/dong-2020-transformer-based-context-aware-sarcasm/)
- [Linguistic Features in Automatic Sarcasm Detection](https://md.research.elamur.ai/free/papers/ducret-2020-linguistic-features-automatic-sarcasm-detection/)
- [Sarcasm Analysis Using Conversation Context](https://md.research.elamur.ai/free/papers/ghosh-2018-sarcasm-analysis-conversation-context/)
- [Interpreting Verbal Irony: Linguistic Strategies and the Connection to the Type of Semantic Incongruity](https://md.research.elamur.ai/free/papers/ghosh-2020-interpreting-verbal-irony-linguistic-strategies/)
- [A Report on the 2020 Sarcasm Detection Shared Task](https://md.research.elamur.ai/free/papers/ghosh-2020-report-2020-sarcasm-detection-shared/)
- [Generalizable Sarcasm Detection is Just Around the Corner, of Course!](https://md.research.elamur.ai/free/papers/jang-2024-generalizable-sarcasm-detection-is-just/)
- [Representing Social Media Users for Sarcasm Detection](https://md.research.elamur.ai/free/papers/kolchinski-2018-representing-social-media-users-sarcasm/)
- [Towards Multi-Modal Sarcasm Detection via Hierarchical Congruity Modeling with Knowledge Enhancement](https://md.research.elamur.ai/free/papers/liu-2022-multi-modal-sarcasm-detection-hierarchical/)
- [Reasoning with Sarcasm by Reading In-Between](https://md.research.elamur.ai/free/papers/tay-2018-reasoning-sarcasm-reading-between/)
- [Building a Bridge: A Method for Image-Text Sarcasm Detection Without Pretraining on Image-Text Data](https://md.research.elamur.ai/free/papers/wang-2020-building-bridge-method-image-text/)
- [Reasoning with Multimodal Sarcastic Tweets via Modeling Cross-Modality Contrast and Semantic Association](https://md.research.elamur.ai/free/papers/xu-2020-reasoning-multimodal-sarcastic-tweets-modeling/)

## Cite

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{ghosh2017magnets,
  title = {{Magnets for Sarcasm: Making Sarcasm Detection Timely, Contextual and Very Personal}},
  author = {Ghosh, Aniruddha and Veale, Tony},
  booktitle = {Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  doi = {10.18653/v1/d17-1050},
  url = {https://doi.org/10.18653/v1/d17-1050}
}
```

- [← previous Linguistic realisation as machine translation: Comparing different MT models for AMR-to-text generation](https://md.research.elamur.ai/free/papers/ferreira-2017-linguistic-realisation-as-machine-translation/)
- [next → Mastering chess and shogi by self-play with a general reinforcement learning algorithm](https://md.research.elamur.ai/free/papers/al-2017-mastering-chess-shogi-self-play/)
- [↑ back to papers of 2017](https://md.research.elamur.ai/free/papers/2017/page/2/)

## References

36 references, 12 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Deanna W. Gibbs and Herbert H. Clark. 1992. Coordinating beliefs in conversation. Journal of Memory and Language 31(2):183–194. doi:10.1016/0749-596X(92)90010-U. [↗](https://doi.org/10.1016/0749-596x(92)90010-u)
2. Silvio Amir, Byron C Wallace, Hao Lyu, and Paula Carvalho Mário J Silva. 2016. Modelling context with user embeddings for sarcasm detection in social media. arXiv preprint arXiv:1607.00976 . [↗](https://arxiv.org/abs/1607.00976) [our card](https://md.research.elamur.ai/free/papers/amir-2016-modelling-context-user-embeddings-sarcasm/)
3. Raymond W. Gibbs and Herbert L. Colston. 2007. Irony in language and thought: A cognitive science reader. Psychology Press. https://books.google.ie/books?isbn=0805860622. [↗](https://doi.org/10.4324/9781410616685)
4. David Bamman and Noah A Smith. 2015. Contextualized sarcasm detection on twitter. In Ninth International AAAI Conference on Web and Social Media. [http://homes.cs.washington.edu/](http://homes.cs.washington.edu/) na-smith/papers/bamman+smith.icwsm15.pdf. [↗](http://homes.cs.washington.edu/)
5. Roberto González-Ibánez, Smaranda Muresan, and Nina Wacholder. 2011. Identifying sarcasm in twitter: a closer look. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies: short papers-Volume 2. Association for Computational Linguistics, pages 581–586. http://www.aclweb.org/anthology/P11-2102. [↗](https://aclanthology.org/P11-2102/) [our card](https://md.research.elamur.ai/free/papers/ibanez-2011-identifying-sarcasm-twitter-closer-look/)
6. Penelope Brown and Stephen C Levinson. 1978. Universals in language usage: Politeness phenomena. Cambridge University Press. [http://www.mpi.nl/publications/escidoc-66660/](http://www.mpi.nl/publications/escidoc-66660/). [↗](http://www.mpi.nl/publications/escidoc-66660/)
7. John D Campbell and Albert N Katz. 2012. Are there necessary conditions for inducing a sense of sarcastic irony? Discourse Processes 49(6):459–480. http://dx.doi.org/10.1080/0163853X.2012.687863. [↗](https://doi.org/10.1080/0163853x.2012.687863)
8. Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. Neural computation 9(8):1735–1780. http://dl.acm.org/citation.cfm?id=1246450. [↗](https://doi.org/10.1162/neco.1997.9.8.1735)
9. Carol A Capelli, Noreen Nakagawa, and Cary M Madden. 1990. How children understand sarcasm: The role of context and intonation. Child Development 61(6):1824–1841. https://www.jstor.org/stable/1130840. [↗](https://doi.org/10.1111/j.1467-8624.1990.tb03568.x)
10. Aditya Joshi, Vinita Sharma, and Pushpak Bhattacharyya. 2015. Harnessing context incongruity for sarcasm detection. In Association for Computational Linguistics Volume 2: Short Papers. pages 757–762. https://www.aclweb.org/anthology/P/P15/P15-2124.pdf. [↗](https://aclanthology.org/P15-2124/) [our card](https://md.research.elamur.ai/free/papers/joshi-2015-harnessing-context-incongruity-sarcasm-detection/)
11. Fabio Celli, Arindam Ghosh, Firoj Alam, and Giuseppe Riccardi. 2016. In the mood for sharing contents: Emotions, personality and interaction styles in the diffusion of news. Information Processing & Management 52(1):93–98. [find](https://scholar.google.com/scholar?q=Fabio+Celli%2C+Arindam+Ghosh%2C+Firoj+Alam%2C+and+Giuseppe+Riccardi%2E+2016%2E+In+the+mood+for+sharing+contents%3A+Emotions%2C+personality+and+interaction+styles+in+the+diffusion+of+news%2E+Information+Processing+%26+M)
12. Anupam Khattri, Aditya Joshi, Pushpak Bhattacharyya, and Mark Carman. 2015. Your sentiment precedes you: Using an author’s historical tweets to predict sarcasm. In Proceedings of the 6th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis. Association for Computational Linguistics, Lisboa, Portugal, pages 25–30. http://aclweb.org/anthology/W15-2905. [↗](https://aclanthology.org/W15-2905/) [our card](https://md.research.elamur.ai/free/papers/khattri-2015-your-sentiment-precedes-you-author/)
13. Mathieu Cliche. 2014. The sarcasm detector. [http://www.thesarcasmdetector.com/](http://www.thesarcasmdetector.com/). [↗](http://www.thesarcasmdetector.com/)
14. Paul T Costa and Robert R McCrae. 2008. The revised neo personality inventory (neo-pi-r). The SAGE handbook of personality theory and assessment 2:179–198. [↗](https://doi.org/10.4135/9781849200479.n9)
15. Roger J Kreuz. 1996. The use of verbal irony: Cues and constraints. Metaphor: Implications and applications pages 23–38. [find](https://scholar.google.com/scholar?q=Roger+J+Kreuz%2E+1996%2E+The+use+of+verbal+irony%3A+Cues+and+constraints%2E+Metaphor%3A+Implications+and+applications+pages+23%E2%80%9338%2E)
16. Dmitry Davidov, Oren Tsur, and Ari Rappoport. 2010. Semi-supervised recognition of sarcasm in twitter and amazon. In Proceedings of the Fourteenth Conference on Computational Natural Language Learning. Association for Computational Linguistics, Uppsala, Sweden, pages 107– 116. http://www.aclweb.org/anthology/W10-2914. [↗](https://aclanthology.org/W10-2914/) [our card](https://md.research.elamur.ai/free/papers/davidov-2010-semi-supervised-recognition-sarcasm-twitter/)
17. Roger J Kreuz and Sam Glucksberg. 1989. How to be sarcastic: The echoic reminder theory of verbal irony. Journal of Experimental Psychology: General 118(4):374. http://dx.doi.org/10.1037/0096-3445.118.4.374. [↗](https://doi.org/10.1037/0096-3445.118.4.374)
18. Shelly Dews and Ellen Winner. 1995. Muting the meaning a social function of irony. Metaphor and Symbol 10(1):3–19. http://dx.doi.org/10.1207/s15327868ms1001 2. [↗](https://doi.org/10.1207/s15327868ms1001)
19. Roger J Kreuz and Kristen E Link. 2002. Asymmetries in the use of verbal irony. Journal of Language and Social Psychology 21(2):127–143. http://dx.doi.org/10.1177/02627X02021002002. [↗](https://doi.org/10.1177/02627x02021002002)
20. Shelly Dews and Ellen Winner. 1999. Obligatory processing of literal and nonliteral meanings in verbal irony. Journal of pragmatics 31(12):1579–1599. http://psycnet.apa.org/psycinfo/1999-01341-003. [↗](https://doi.org/10.1016/s0378-2166(99)00005-3)
21. Christine Liebrecht, Florian Kunneman, and Antal Van den Bosch. 2013. The perfect solution for detecting sarcasm in tweets #not. In Proceedings of the 4th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis. Association for Computational Linguistics, Atlanta, Georgia, pages 29–37. http://www.aclweb.org/anthology/W13-1605. [↗](https://aclanthology.org/W13-1605/) [our card](https://md.research.elamur.ai/free/papers/liebrecht-2013-perfect-solution-detecting-sarcasm-tweets/)
22. Aniruddha Ghosh and Tony Veale. 2016. Fracking sarcasm using neural network. In Proceedings of NAACL-HLT. pages 161–169. nition of sarcastic sentences in online product reviews. In Proceedings of the Fourth International Conference on Weblogs and Social Media. [↗](https://doi.org/10.13140/rg.2.2.16560.15363) [our card](https://md.research.elamur.ai/free/papers/ghosh-2016-fracking-sarcasm-neural-network/)
23. Stephanie Lukin and Marilyn Walker. 2013. Really? well. apparently bootstrapping improves the performance of sarcasm and nastiness classifiers for online dialogue. In Proceedings of the Workshop on Language Analysis in Social Media. Association for Computational Linguistics, Atlanta, Georgia, pages 30–40. http://www.aclweb.org/anthology/W13-1104. [↗](https://aclanthology.org/W13-1104/) [our card](https://md.research.elamur.ai/free/papers/lukin-2013-really-well-apparently-bootstrapping-improves/)
24. A. Utsumi. 2000a. Verbal irony as implicit display of ironic environment: Distinguishing ironic utterances from nonirony. Journal of Pragmatics http://www.utm.se.uec.ac.jp/ utsumi/paper/jop2000-utsumi.pdf. [↗](https://doi.org/10.1016/s0378-2166(99)00116-2)
25. Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. 2013. Distributed representations of words and phrases and their compositionality. In Advances in neural information processing systems. pages 3111–3119. https://papers.nips.cc/paper/5021-distributed-representations-of-words-and-phrases-and-their-compositionality.pdf. [↗](https://doi.org/10.48550/arxiv.1310.4546)
26. Akira Utsumi. 2000b. Verbal irony as implicit display of ironic environment: Distinguishing ironic utterances from nonirony. Journal of Pragmatics 32(12):1777–1806. [↗](https://doi.org/10.1016/s0378-2166(99)00116-2)
27. Jennifer Woodland and Daniel Voyer. 2011. Context and intonation in the perception of sarcasm. Metaphor and Symbol 26(3):227–239. http://dx.doi.org/10.1080/10926488.2011.583197. [↗](https://doi.org/10.1080/10926488.2011.583197)
28. James M. Olver and Todd A. Mooradian. 2003. Personality traits and personal values: a conceptual and empirical integration. Personality and Individual Differences 35(1):109 – 125. https://doi.org/http://dx.doi.org/10.1016/S0191-8869(02)00145-9. [↗](https://doi.org/10.1016/s0191-8869(02)00145-9)
29. Meishan Zhang, Yue Zhang, and Guohong Fu. 2016. Tweet sarcasm detection using deep neural network. In Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers. [find](https://scholar.google.com/scholar?q=Meishan+Zhang%2C+Yue+Zhang%2C+and+Guohong+Fu%2E+2016%2E+Tweet+sarcasm+detection+using+deep+neural+network%2E+In+Proceedings+of+COLING+2016%2C+the+26th+International+Conference+on+Computational+Linguistics%3A+Techni) [our card](https://md.research.elamur.ai/free/papers/zhang-2016-tweet-sarcasm-detection-deep-neural/)
30. The COL-ING 2016 Organizing Committee, pages 2449– 2460. http://aclweb.org/anthology/C16-1231. [↗](https://aclanthology.org/C16-1231/) [our card](https://md.research.elamur.ai/free/papers/zhang-2016-tweet-sarcasm-detection-deep-neural/)
31. Tomáš Ptáček, Ivan Habernal, and Jun Hong. 2014. Sarcasm detection on czech and english twitter. In Proceedings of COLING 2014, the 25th International Conference on Computational Linguistics: Technical Papers. Dublin City University and Association for Computational Linguistics, Dublin, Ireland, pages 213–223. http://www.aclweb.org/anthology/C14-1022. [↗](https://aclanthology.org/C14-1022/) [our card](https://md.research.elamur.ai/free/papers/ptacek-2014-sarcasm-detection-czech-english-twitter/)
32. Ashwin Rajadesingan, Reza Zafarani, and Huan Liu. 2015. Sarcasm detection on twitter: A behavioral modeling approach. In Proceedings of the Eighth ACM International Conference on Web Search and Data Mining. ACM, pages 97–106. [http://dl.acm.org/citation.cfm?id=2685316](http://dl.acm.org/citation.cfm?id=2685316). [↗](http://dl.acm.org/citation.cfm?id=2685316)
33. Ellen Riloff, Ashequl Qadir, Prafulla Surve, Lalindra De Silva, Nathan Gilbert, and Ruihong Huang. 2013. Sarcasm as contrast between a positive sentiment and negative situation. In Empirical Methods on Natural Language Processing. volume 13, pages 704–714. http://www.anthology.aclweb.org/D/D13/D13-1066.pdf. [↗](https://aclanthology.org/D13-1066/) [our card](https://md.research.elamur.ai/free/papers/prag-2013-riloff-sarcasm-as-contrast-between-positive/)
34. SG Shamay-Tsoory, Rachel Tomer, and Judith Aharon-Peretz. 2005. The neuroanatomical basis of understanding sarcasm and its relationship to social cognition. Neuropsychology 19(3):288. http://www.apa.org/pubs/journals/releases/neu-193288.pdf. [↗](https://doi.org/10.1037/0894-4105.19.3.288)
35. Yla R Tausczik and James W Pennebaker. 2010. The psychological meaning of words: Liwc and computerized text analysis methods. Journal of language and social psychology 29(1):24–54. http://dx.doi.org/10.1177/0261927X09351676. [↗](https://doi.org/10.1177/0261927x09351676)
36. Oren Tsur, Dmitry Davidov, and Ari Rappoport. 2010. Icwsm-a great catchy name: Semi-supervised recog- [find](https://scholar.google.com/scholar?q=Oren+Tsur%2C+Dmitry+Davidov%2C+and+Ari+Rappoport%2E+2010%2E+Icwsm%2Da+great+catchy+name%3A+Semi%2Dsupervised+recog%2D)
