Sarcasm Detection with Commonsense Knowledge

You are here

Top Reasons to Join SPS Today!

1. IEEE Signal Processing Magazine
2. Signal Processing Digital Library*
3. Inside Signal Processing Newsletter
4. SPS Resource Center
5. Career advancement & recognition
6. Discounts on conferences and publications
7. Professional networking
8. Communities for students, young professionals, and women
9. Volunteer opportunities
10. Coming soon! PDH/CEU credits
Click here to learn more.

Sarcasm Detection with Commonsense Knowledge

Jiangnan Li; Hongliang Pan; Zheng Lin; Peng Fu; Weiping Wang

Sarcasm is commonly used in today's social media platforms such as Twitter and Reddit. Sarcasm detection is necessary for analysing people's real sentiments as people usually use sarcasm to express a flipped emotion against the literal meaning. However, the current works neglect the fact that commonsense knowledge is crucial for sarcasm recognition. In this paper, we propose a novel architecture in deep learning for sarcasm detection by integrating commonsense knowledge. To be specific, we apply the pre-trained COMET model to generate relevant commonsense knowledge. Besides, we compare two kinds of knowledge selection strategies to investigate how commonsense knowledge influences performance. Finally, a knowledge-text integration module is designed to model both text and knowledge. The experimental results demonstrate our model's effectiveness on three datasets, including two Twitter datasets and a Reddit dataset.

Sarcasm is a form of figurative language, defined as “the use of irony to mock or convey contempt”1, which is ubiquitous in social media platforms such as Twitter and Reddit. People tend to use sarcasm to express the opposite of superficial meaning [1]. The utterance “I love to see a doctor every day” expresses sarcastic meaning. It shows a negative sentiment towards the situation of “see a doctor every day”, even the utterance contains positive sentiment words such as “like”. 

SPS on Twitter

  • Celebrate International Women's Day with SPS! This Tuesday, 8 March, join Dr. Neeli Prasad for "Unlocking the Poten…
  • Check out the SPS Education Short Courses, new at ! Earn PDH and CEU certificates by attending either in…
  • We're partnering with the IEEE Humanitarian Activities on Wednesday, 2 March to bring you a new webinar, "Increasin…
  • The DEGAS Webinar Series continues this Thursday, 3 March when Dr. Steven Smith present "Causal Inference on Networ…
  • In the February issue of the Inside Signal Processing Newsletter, we talk to Dr. Oriol Vinyals, who discusses his j…

SPS Videos

Signal Processing in Home Assistants


Multimedia Forensics

Careers in Signal Processing             


Under the Radar