Skip to main content
QUICK REVIEW

[Paper Review] Are Word Embedding-based Features Useful for Sarcasm Detection?

Aditya Joshi, Vaibhav Tripathi|arXiv (Cornell University)|Oct 4, 2016
Sentiment Analysis and Opinion MiningComputer Science18 references16 citations
TL;DR

This paper proposes augmenting existing sarcasm detection features with word embedding-based similarity and discordance scores to improve detection of subtle, sentiment-free sarcasm. By measuring cosine similarity between word pairs in a sentence—especially the most similar and dissimilar pairs—it captures context incongruity, yielding up to a 4% F-score improvement across multiple feature sets and embedding types, with Word2Vec and dependency-weighted embeddings showing strongest gains.

ABSTRACT

This paper makes a simple increment to state-of-the-art in sarcasm detection research. Existing approaches are unable to capture subtle forms of context incongruity which lies at the heart of sarcasm. We explore if prior work can be enhanced using semantic similarity/discordance between word embeddings. We augment word embedding-based features to four feature sets reported in the past. We also experiment with four types of word embeddings. We observe an improvement in sarcasm detection, irrespective of the word embedding used or the original feature set to which our features are augmented. For example, this augmentation results in an improvement in F-score of around 4\% for three out of these four feature sets, and a minor degradation in case of the fourth, when Word2Vec embeddings are used. Finally, a comparison of the four embeddings shows that Word2Vec and dependency weight-based features outperform LSA and GloVe, in terms of their benefit to sarcasm detection.

Motivation & Objective

  • To address the limitation of existing sarcasm detection methods in capturing subtle, sentiment-free sarcasm due to reliance on sentiment-bearing words.
  • To investigate whether semantic similarity and discordance between word embeddings can serve as effective indicators of context incongruity in sarcasm.
  • To evaluate the impact of augmenting word embedding-based features to four established sarcasm detection feature sets.
  • To compare the effectiveness of four word embedding types—Word2Vec, GloVe, LSA, and dependency-weighted embeddings—for sarcasm detection.
  • To explore whether similarity-based and weighted similarity-based features derived from word embeddings improve sarcasm detection performance.

Proposed method

  • The method introduces two types of word embedding-based features: similarity-based (maximum and minimum cosine similarity between word pairs) and weighted similarity-based (weighted by linear distance between words in the sentence).
  • Cosine similarity scores between word embeddings are computed using four pre-trained embedding models: Word2Vec, GloVe, LSA, and dependency-weighted embeddings.
  • These features are systematically augmented to four previously reported sarcasm detection feature sets: unigrams, LIWC-based features, punctuation and sentiment pattern features, and implicit/explicit incongruity features.
  • The performance of the augmented models is evaluated using F-score on a benchmark dataset, with comparisons across embedding types and feature combinations.
  • The weighted similarity features apply a linear decay function to similarity scores based on the distance between word pairs in the sentence.
  • Experiments are conducted across all combinations of embedding types and original feature sets to assess generalizability and robustness of the proposed features.

Experimental results

Research questions

  • RQ1Can word embedding-based similarity and discordance features improve sarcasm detection performance when added to existing feature sets?
  • RQ2Does the inclusion of semantic similarity between words enhance the detection of sarcasm in sentences lacking explicit sentiment words?
  • RQ3Which word embedding type—Word2Vec, GloVe, LSA, or dependency-weighted—yields the greatest improvement in sarcasm detection F-score?
  • RQ4How does the weighted similarity feature, which accounts for syntactic distance, compare to unweighted similarity in capturing sarcasm cues?
  • RQ5Is the benefit of word embedding-based features consistent across diverse sarcasm detection models and datasets?

Key findings

  • Augmenting word embedding-based features to four prior sarcasm detection feature sets improved F-score by approximately 4% in three out of four cases when using Word2Vec embeddings.
  • The addition of word embedding features led to a minor degradation in F-score for only one of the four original feature sets when using Word2Vec embeddings.
  • Word2Vec and dependency-weighted embeddings yielded the highest average F-score gains (1.143% and 1.048%, respectively), outperforming LSA (0.452%) and GloVe (0.651%).
  • The weighted similarity-based features consistently outperformed unweighted similarity features across all embedding types and feature sets.
  • The study confirms that semantic discordance, as captured by low cosine similarity between semantically unrelated word pairs, is a strong indicator of sarcasm, even in the absence of sentiment words.
  • Error analysis revealed limitations in handling polysemy, contextual sarcasm requiring dialogue history, and metaphors in non-sarcastic text, which can lead to false positives.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.