Combining lexicon and learning based approaches for concept-level sentiment analysis

Andrius Mudinas, Dell Zhang, Mark Levene2012

TL;DR

This paper introduces pSenti, a novel hybrid sentiment analysis system that combines lexicon-based and machine learning approaches for concept-level sentiment analysis. By integrating the strengths of both methods, pSenti achieves higher accuracy than pure lexicon or learning systems, while also providing more interpretable, aspect-oriented results and demonstrating greater robustness to variations in writing style.

What Problem Does This Paper Address?

The paper tackles the challenge of accurately and comprehensively understanding sentiment expressed in text, particularly in the context of opinion mining. Traditional sentiment analysis systems often fall into two camps: lexicon-based methods that rely on pre-defined dictionaries of sentiment words, and learning-based methods that train models on large datasets. Lexicon-based systems can be brittle and struggle with nuances, while pure learning-based systems, though accurate, often produce opaque "black box" results lacking explainability and can be highly sensitive to the specific writing style of the training data. Furthermore, many systems provide only an overall sentiment score for a document, failing to capture the sentiment towards specific aspects or features discussed within the text. This limits their utility for tasks requiring detailed insights, such as understanding customer feedback on product features.

Methods

The core innovation of this paper is the pSenti system, which seamlessly integrates lexicon-based and learning-based approaches. Instead of treating these as separate, competing methods, pSenti uses them synergistically.

Here's a breakdown of the key methodological components:

  • Hybrid Architecture: pSenti's architecture (Figure 1) shows a pipeline where NLP processing, lexicon-based sentiment detection, and learning-based components work together. The learning component (ML) is not just for minor adjustments but plays a central role in evaluating various aspects of the sentiment system.
  • Preprocessing: The system begins with standard NLP tasks like Part-Of-Speech (POS) and entity tagging using the Stanford CoreNLP toolkit. It also employs a heuristic approach to replace idioms and emoticons with text masks, standardizing their sentiment values (e.g., ":-)" becomes "Good_One").
  • Aspect and View Extraction: A crucial step for concept-level analysis. pSenti identifies candidate aspects (nouns, noun phrases, organizations) and views (adjectives, sentiment words) near aspects. It then filters these, clusters similar aspects, and selects the top aspects and views to ensure focus and reduce noise. This is vital for providing structured, aspect-oriented outputs.
  • Lexicon-based Sentiment Detection: This component uses a sentiment lexicon with pre-defined sentiment values for words (ranging from -3 to +3). It incorporates heuristic rules for handling negation (e.g., "not good") and modifiers (e.g., "very good," "slightly bad") to adjust sentiment scores.
  • Learning-based Sentiment Evaluation: A linear Support Vector Machine (SVM) is employed for sentiment classification. The feature extraction for the SVM is novel: it includes:
  • Sentiment words: Aggregated sentiment values of words in the review, adjusted for negation and modifiers.
  • Other adjectives: Frequencies of adjectives not in the lexicon, allowing the learning algorithm to estimate their sentiment.
  • Lexicon-based sentiment score: A feature to help the model learn from lexicon-derived scores, especially for unseen sentiment words.
  • Final Sentiment Scoring: The system calculates an overall sentiment score using a log-odds ratio of positive and negative sentiment scores, which is then bounded between -1 and +1. This score can be easily transformed into a five-star rating.

Datasets

The authors evaluated pSenti on two real-world datasets:

  • Software Reviews: Collected from CNET's software download website in 2011, covering various product categories (Browser, Antivirus, Video, Action Games, Utilities). This dataset includes both editor-written and customer-written reviews.
  • Movie Reviews: A well-known benchmark dataset collected by Pang and Lee from the IMDB website.

For sentiment polarity classification tasks, ground-truth labels were derived by classifying 1-2 star reviews as negative, 4-5 star reviews as positive, and discarding 3-star neutral reviews.

Key Insights and Ideas

  • Synergy is Key: The paper strongly advocates for the idea that combining lexicon-based and learning-based approaches is superior to using either in isolation. The hybrid approach leverages the interpretability and stability of lexicons with the accuracy and adaptability of machine learning.
  • Aspect-Level Analysis Matters: By explicitly extracting aspects and views, pSenti moves beyond simple document-level sentiment. This provides much richer, actionable insights, allowing users to understand what people feel positively or negatively about.
  • Robustness to Style: A significant advantage highlighted is pSenti's reduced sensitivity to writing style. This "cross-style" capability means a system trained on formal reviews can perform well on informal ones (like tweets), which is crucial for real-world applications.
  • Lexicon Bias is Correctable: The authors found that initial human biases in lexicon sentiment values have minimal impact because the machine learning stage can learn to adjust them. This makes the initial lexicon construction less daunting.
  • Sentiment Separability is Crucial: The paper visually demonstrates (Figure 3) that the performance of lexicon-based methods is highly dependent on how "separable" the positive and negative sentiment distributions are. When distributions overlap significantly (as in movie reviews with plot descriptions), learning-based methods become much more critical.

Key Results

  • Accuracy Gains: pSenti consistently outperformed the pure lexicon-based approach (Lexicon Only) and the state-of-the-art SentiStrength system across both sentiment polarity classification and sentiment strength detection tasks on both datasets.
  • Competitive with Learning Only: While pSenti's accuracy was slightly lower than the pure learning-based approach (Learning Only) in the standard setting, it was significantly higher than Lexicon Only and SentiStrength.
  • Cross-Style Performance: In cross-style experiments (training on one type of review and testing on another), the pure Learning Only system's performance dropped drastically, whereas pSenti maintained much higher accuracy, demonstrating its superior adaptability.
  • Interpretability: pSenti provides structured, aspect-oriented outputs (Figure 2), making the sentiment analysis results more understandable and actionable compared to opaque learning-only models.

Limitations and Future Work

  • Subjectivity Detection: The authors acknowledge that while their current system uses basic subjectivity detection, a more advanced algorithm could further improve performance, especially in reviews containing objective text or quotes.
  • Cross-Domain Analysis: The paper suggests that extending the approach to cross-domain sentiment analysis is a promising avenue for future work.
  • Objective/Subjective Text Classification: Further exploration of classifying text as objective or subjective is also noted as a future direction.
  • Data Noise: The performance on customer software reviews was lower than on editor reviews, attributed to the noisier nature of customer feedback, including inconsistent ratings and mixed sentiments.

Summary updated

Abstract

In this paper, we present the anatomy of pSenti --- a concept-level sentiment analysis system that seamlessly integrates into opinion mining lexicon-based and learning-based approaches. Compared with pure lexicon-based systems, it achieves significantly higher accuracy in sentiment polarity classification as well as sentiment strength detection. Compared with pure learning-based systems, it offers more structured and readable results with aspect-oriented explanation and justification, while being less sensitive to the writing style of text. Our extensive experiments on two real-world datasets (CNET software reviews and IMDB movie reviews) confirm the superiority of the proposed hybrid approach over state-of-the-art systems like SentiStrength.
BibTeX
@misc{mudinas2012combining,
  author = {Andrius Mudinas and Dell Zhang and Mark Levene},
  title = {{Combining lexicon and learning based approaches for concept-level sentiment analysis}},
  year = {2012},
  doi = {10.1145/2346676.2346681},
}
Figure