A Vector Space Approach for Aspect Based Sentiment Analysis

Abdulaziz Alghunaim, Mitra Mohtarami, Scott Cyphers, Jim GlassNAACL 2015

TL;DR

This paper explores using word vector representations (like Word2Vec) to improve Aspect-Based Sentiment Analysis (ABSA). By treating words as dense vectors, they develop novel features for three ABSA sub-tasks: aspect term extraction, aspect category detection, and aspect sentiment prediction, achieving strong results that outperform previous methods.

What Problem Does This Paper Address?

Traditional sentiment analysis often provides a single sentiment score for an entire piece of text (e.g., a review). However, this can be misleading, as different aspects within the text might have varying sentiments. For instance, a restaurant review might praise the food but criticize the ambiance. Aspect-Based Sentiment Analysis (ABSA) aims to address this by identifying specific aspects (like "food" or "service") and determining the sentiment expressed towards each. The challenge lies in effectively representing the semantic meaning of words and phrases to accurately extract these aspects and their associated sentiments.

Methods

The authors propose a supervised approach for ABSA that leverages word vector representations. They utilize pre-trained word embeddings from Word2Vec, trained on both a general corpus (GoogleNews) and a domain-specific corpus (Yelp restaurant reviews). For each of the three ABSA sub-tasks, they engineer specific features derived from these word vectors:

  • Aspect Term Extraction: They use Conditional Random Fields (CRFs) and Support Vector Machines (SVMs) with features including POS-tags and word vector representations. The idea is that words with similar meanings (and thus similar vectors) are likely to be aspects.
  • Aspect Category Detection: This task uses multi-label SVMs. Features include:
  • Normalized Average Vector (NAV): The average of word vectors for words in a sentence, capturing its overall semantic meaning.
  • Token Numbers (TN): The count of words used to compute NAV.
  • Category Similarities (CS): Cosine similarity between word vectors in the sentence and "seed" words representing predefined aspect categories (e.g., "food," "service").
  • Aspect Sentiment Prediction: This task also employs SVMs. Features include:
  • Average Dependency Vector (ADV): The average of word vectors for words that are syntactically related to the aspect.
  • Rating Vectors (RV): Word vectors trained on subsets of data corresponding to different review ratings (1-5 stars), allowing the model to capture sentiment nuances.
  • Positive/Negative Similarities (PNS): Cosine similarity between aspect-related word vectors and pre-defined positive/negative sentiment word vectors.

Datasets

  • GoogleNews dataset: Used for training general-purpose word vectors (approx. 3 million unique words, 100 billion tokens).
  • Yelp restaurant reviews dataset: Used for training domain-specific word vectors (approx. 131,778 unique words, 200 million tokens). This dataset is also used for evaluation.
  • Restaurant review dataset from Pontiki et al. (2014) / Ganu et al. (2009): Used for evaluation. This dataset contains 3,041 training sentences and 800 test sentences, with 3,693 aspects and 3,713 categories in the training set, and 1,134 aspects and 1,025 categories in the test set.

Key Insights and Ideas

  • Domain-Specific Embeddings Matter: Word vectors trained on domain-specific data (Yelp reviews) generally lead to better performance than general-purpose embeddings (GoogleNews) for ABSA tasks, highlighting the importance of contextual relevance.
  • Vector Features are Powerful: Simple vector-based features, when combined effectively, can significantly outperform traditional text-based or dictionary-based baselines.
  • Multi-Word Aspects are Challenging: The paper notes that relying solely on POS-tags is insufficient for capturing multi-word aspects, underscoring the need for richer representations like word vectors.
  • Sentiment Nuances Captured by Rating Vectors: Training word vectors on different rating subsets (RV features) helps in capturing finer-grained sentiment, though the impact was less pronounced when the dataset was dominated by positive reviews.

Key Results

The paper reports the following performance metrics:

  • Aspect Term Extraction: Achieved an F1 score of 79.91% using SVM-HMM with POS-tags and Yelp-trained word vectors.
  • Aspect Category Detection: Achieved an F1 score of 86.75% using SVM with NAV, TN, and CS features trained on Yelp data.
  • Aspect Sentiment Prediction: Achieved an accuracy of 72.39% using SVM with RV and PNS features trained on Yelp data.

These results significantly outperform the reported baselines for each task.

Limitations and Future Work

  • Limitations:
    • The authors acknowledge that the impact of Rating Vectors (RV) for sentiment prediction was less dramatic than expected because the Yelp dataset primarily contained positive reviews, limiting the diversity of word distributions across ratings.
  • While vector-based features are effective, the paper suggests that combining them with text-based features could lead to further improvements.
  • Future Work:
    • The paper suggests exploring combinations of vector-based features with other text-based features for each sub-task to achieve even higher performance.
  • Further investigation into how to best leverage domain-specific embeddings and their impact on different ABSA tasks is implied.

Summary updated

BibTeX
@inproceedings{alghunaim2015vector,
  author = {Abdulaziz Alghunaim and Mitra Mohtarami and Scott Cyphers and Jim Glass},
  title = {{A Vector Space Approach for Aspect Based Sentiment Analysis}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2015},
  url = {https://openreview.net/forum?id=SkbJim-_Wr},
}
Figure