Expanding Subjective Lexicons for Social Media Mining with Embedding Subspaces

Silvio Amir, Rámon Astudillo, Wang Ling, Paula C. Carvalho, Mário J. SilvaarXiv 2016

TL;DR

This paper introduces a method to automatically expand subjective lexicons (like sentiment or emotion lists) by projecting generic word embeddings into task-specific subspaces. By jointly learning a low-dimensional projection and a predictor, the authors create high-quality lexicons that significantly outperform standard baselines and even rival supervised models in downstream sentiment analysis tasks.

What Problem Does This Paper Address?

Mining social media for public opinion or emotional trends requires subjective lexicons—lists of words labeled with properties like sentiment polarity (positive/negative) or specific emotions (joy, fear, anger). While these are traditionally built by hand, manual creation is expensive, slow, and fails to capture the rapidly evolving slang and non-conventional spellings typical of platforms like Twitter.

Existing automatic expansion methods often rely on pre-trained word embeddings. However, these embeddings are usually "unsupervised"—trained to predict context words in general corpora. Because they are generic, they often conflate different semantic properties. For example, "good" and "bad" might have similar unsupervised embeddings because they appear in similar contexts, making it hard for a simple classifier to distinguish them. This paper addresses the need for task-specific representations that filter out the "noise" of generic embeddings to focus on specific subjective properties.

Methods

The authors propose using a Non-Linear Subspace Embedding (NLSE) model. Instead of using high-dimensional generic embeddings directly, the model learns to project them into a much smaller subspace (e.g., reducing 600 dimensions down to 10 or 20).

Key technical aspects include:

  • Joint Learning: The model is a feed-forward neural network that simultaneously learns the linear projection matrix and the final predictor (classifier or regressor).
  • Information Bottleneck: By "aggressively reducing" the dimensionality, the model is forced to discard irrelevant information and capture only the most discriminative features for the specific property being learned (e.g., valence or arousal).
  • Flexibility: The architecture easily handles both categorical labels (using a softmax classifier) and continuous values (using a linear regressor).

Datasets

The researchers evaluated their approach across a wide array of resources:

  • Induction Lexicons: Seven well-known lexicons covering 15 properties, including OML and MPQA (sentiment), EmoLex (Plutchik’s basic emotions), and ANEW/Ext-ANEW (affective responses like valence, arousal, and dominance).
  • Downstream Sentiment Datasets: Five Twitter datasets, including three from SemEval (2013-2015) and two specialized sets (OMD for political debates and HCR for healthcare reform).
  • Unlabeled Corpus: 600-dimensional Structured Skip-gram embeddings were induced from a massive collection of social media data to serve as the base features.

Key Insights and Ideas

  • The Power of Subspaces: Generic embeddings contain a wealth of information, but much of it is "noise" for a specific task. Projecting into a subspace acts as a powerful regularizer. As shown in Figure 1, this projection transforms a cluttered cloud of words into a clear continuum of sentiment.
Figure 1: T-SNE projection of the embeddings associated to words from Sem-Lex, to two dimensions. The points are colored according to their sentiment polarity. The left plot, shows the words represented as 600-dimensional unsupervised embeddings. The right plot, shows the same words represented with task-specific embeddings induced with NLSE model.
  • Data Efficiency: One of the most striking findings is how little training data the NLSE model needs. Because it has fewer parameters to tune in the reduced subspace, it is highly resistant to overfitting.
  • Lexicons vs. Supervised Models: The authors show that a simple classifier that just averages the scores of words found in their expanded lexicon can actually beat complex supervised SVM models trained on the target domain. This suggests that high-quality, broad-coverage lexicons can sometimes replace the need for expensive labeled sentence-level data.

Key Results

  • Superior Induction: NLSE outperformed baselines (including Linear SVMs and RBF-kernel SVMs) on nearly all 15 subjective properties. It was particularly effective for nuanced properties like fine-grained emotions.
  • Robustness to Small Data: As seen in Figure 2, the NLSE model's performance decays much slower than baselines as training data is removed. Remarkably, when trained on only 30% of the data, it matched the performance of the best baseline (RBF-SVM) trained on 70%.
Figure 2: Performance of the different baselines in predict- ing the happiness score of words, as a function of the size of the training data.
  • Downstream Success: In Twitter sentiment classification, the NLSE-induced lexicon (NLSE-Lex) outperformed other popular large-scale lexicons like Sentiment140 and Hashtag Sentiment in 4 out of 5 datasets.

Limitations and Future Work

While the results are impressive, the authors acknowledge some boundaries:

  • Binary Focus: The downstream evaluation focused on binary (positive/negative) classification, excluding neutral tweets, which are common in social media.
  • Seed Dependency: The method still requires a small "seed" lexicon to learn the initial projection.
  • Global vs. Local: The paper produces a "global" expanded lexicon. Future work could explore inducing community-specific or demographic-specific lexicons to account for how different groups use language differently.

Summary updated

BibTeX
@misc{amir2016expanding,
  author = {Silvio Amir and Rámon Astudillo and Wang Ling and Paula C. Carvalho and Mário J. Silva},
  title = {{Expanding Subjective Lexicons for Social Media Mining with Embedding Subspaces}},
  year = {2016},
  eprint = {1701.00145},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1701.00145},
}
Figure