Sarcasm Detection Using Deep Learning-Based Techniques

Part of the Algorithms for Intelligent Systems book series (AIS)


Sarcasm is a figure of speech in which the speaker says something that is outwardly unpleasant with an intention of insulting or deriding the hearer and/or a third person. Designing a model for successfully detecting sarcasm has been one of the most challenging task in the field of natural language processing (NLP) because sarcasm detection is heavily dependent on the context of the utterance/statement and sometimes, even human beings are not able to detect the underlying sarcasm in the utterance. In this chapter, we design features for detecting sarcasm using pragmatic features that take into account the context of the utterance. The approach is based on a linguistic model that describes how humans distinguish between different types of untruths. We then train various machine-learning-based classifiers and compare their accuracies.


Sarcasm detection Natural language processing Classifiers 


  1. 1.
    Camp, Elisabeth. 2012. Sarcasm, pretense, and the semantics/pragmatics distinction. Noûs 46 (4): 587–634.CrossRefGoogle Scholar
  2. 2.
    Wu, Z., and M. Palmer. 1994. Verb semantics and lexical selection. In Proceedings of the 32nd Annual Meeting of the Associations for Computational Linguistics, 133–138.Google Scholar
  3. 3.
    Davidov, Dmitry, Oren Tsur and Ari Rappoport. 2010. Semi-supervised recognition of sarcasm in twitter and amazon. In CoNLL.Google Scholar
  4. 4.
    Riloff, Ellen, Ashequl Qadir, Prafulla Surve, Lalindra De Silva, Nathan Gilbert and Ruihong Huang. Sarcasm as contrast between a positive sentiment and negative situation.Google Scholar
  5. 5.
    Joshi, Aditya, Vinita Sharma, and Pushpak Bhattacharyya. 2015. Harnessing context incongruity for sarcasm detection. In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), Vol. 2.Google Scholar
  6. 6.
    Zhang, Meishan, Yue Zhang and Guohong Fu. 2016. Tweet sarcasm detection using deep neural network. In COLING.Google Scholar
  7. 7.
    Nair, R.B. 1986. Telling lies: some literary and other violations of Grice’s Maxim of quality. Nottingham Linguistic Circular (Special Issue on Pragmatics) 14: 53–71.Google Scholar
  8. 8.
    Grice, H.Paul. 1957. Meaning. Philosophical Review 66 (3): 377–388.CrossRefGoogle Scholar
  9. 9.
    Bajpai, Anurag, Vaibhav Khandelwal and Niladri Chatterjee. Detection of sarcasm in tweets: a rough set based approach.Google Scholar
  10. 10.
    Lesk, M. 1986. Automatic sense disambiguation using machine readable dictionaries: how to tell a pine cone from an ice cream cone. In SIGDOC’86: Proceedings of the 5th Annual International Conference on SYSTEMS Documentation, ACM, 24–26, New York, USA.Google Scholar
  11. 11.
    Esuli, Andrea, and Fabrizio Sebastiani. 2006. Sentiwordnet: a publicly available lexical resource for opinion mining. In LREC, vol. 6.Google Scholar
  12. 12.

Copyright information

© Springer Nature Singapore Pte Ltd. 2020

Authors and Affiliations

  1. 1.Indian Institute of TechnologyNew DelhiIndia

Personalised recommendations