Aspect-Based Review Mining

Machine Learning
Introduced by
Minqing Hu & Bing Liu
Year
2004
Type
NLP pipeline for feature-level opinion mining of consumer reviews
Family
Marketing analytics / opinion mining / text mining

What does it do?

Aspect-based review mining is a natural-language-processing technique that turns large volumes of consumer reviews into feature-level opinion summaries.

Instead of labelling a whole review as positive or negative, it identifies the product features customers comment on, such as battery, screen, price, or customer service, and determines the sentiment expressed about each. Hu and Liu's 2004 KDD paper, Mining and Summarizing Customer Reviews, sets out this task in three steps: mining the product features that customers comment on, identifying opinion sentences and deciding whether each is positive or negative, and summarizing the results.

The intuition behind the method

A single overall rating hides much of what a review says. Two products can share the same average rating while one is praised for its screen and criticized for its battery, and the other the reverse. Aspect-based review mining separates these judgments. It finds the features that reviewers keep returning to and, for each, tallies whether the opinions attached to it are favourable or unfavourable. The method rests on the observation that the features people discuss tend to be recurring nouns, and that the opinions about them tend to be expressed in nearby words. Pairing frequently mentioned features with the opinions around them, and counting results across many reviews, produces a feature-by-feature summary that would otherwise require manual reading of every review.

History

Hu and Liu's 2004 KDD paper, Mining and Summarizing Customer Reviews, is the source cited for this page. Its abstract describes mining the product features that customers comment on, identifying opinion sentences and deciding whether each is positive or negative, and summarizing the results, and the authors distinguish this from classic text summarization. The feature-level formulation introduced there is the basis of the method described here. Later work on aspect extraction and polarity, including supervised and neural approaches, lies outside the scope of the cited source and of this entry.

When to use it

Use aspect-based review mining when you have a large body of consumer text, such as product reviews, and need to know which specific features customers praise or criticize rather than an overall sentiment score. It suits questions such as which attributes drive complaints or how a product compares with competitors on individual features. It is less suitable when the number of reviews is small enough to read directly, when the texts are too short or vague to name features, or when the question concerns deeper emotional meaning that automated counting cannot capture. The method rests on several assumptions: features are nouns or noun phrases that recur across reviews; each opinion adjective relates to the feature it sits beside in the same sentence; sentiment is reduced to a positive or negative label; and the opinion-word lexicon matches the vocabulary of the product domain. Where these assumptions fail, the summaries should be read with caution. Results also depend heavily on tagging quality and on how opinion words are identified, so a labelled sample should be checked before the summaries are relied on.

Limitations and considerations

  • Frequency-based feature extraction favours features that are discussed often, so less common but important attributes may be missed.
  • Linking opinion words to features by proximity in a sentence can attach an opinion to the wrong feature when a sentence mentions several features.
  • Polarity assignment depends on opinion-word lists and on how negated and contrastive wording is handled, which is a known difficulty for this approach, so accuracy varies with the wording of the reviews.
  • The summary counts reflect the reviews collected, which may be skewed by who chooses to write reviews, so they describe the reviewing population rather than all customers.
  • The output is limited to positive and negative labels. Neutral and mixed sentiment, which reviews often contain, is not given a defined outcome by this approach.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Gives feature-level results, showing which named attributes are discussed favourably or unfavourably, rather than a single overall score.
  • Processes volumes of reviews that could not be read by hand, producing the same tabulation for each feature across the corpus.
  • The pipeline is decomposed into distinct stages (feature extraction, opinion identification, polarity assignment, summarization), so each stage can be inspected and checked separately.
  • Produces counts per feature that can be compared across products, versions, or competitors on the same attributes.

Applications

  • Generating feature-by-feature summaries of positive and negative opinion from online product reviews.
  • Comparing a product against competitors on individual attributes that customers mention.
  • Identifying the features that attract the most negative opinion, to help set improvement priorities.
  • Tracking how opinion about specific features changes across product versions, as long as the review sources remain comparable.
  • Supplying structured feature-level signals from reviews to product, customer-experience, and marketing reporting.

How it works

How it works

1

The review corpus is split into sentences and tokens, and each token is assigned a part-of-speech tag. The tags are needed because later steps look for product features among nouns and noun phrases, and for opinion words among adjectives. Errors at this stage propagate to every later step, so tagging quality matters. The corpus is therefore treated as a set of tagged sentences rather than as raw text.

Formula
D = \{r_1,\dots,r_M\},\ \ r_i \to \text{sentences} \to \text{tokens, POS tags } w_{ij}/t_{ij}
2

Candidate features are taken to be nouns and noun phrases. The method keeps those that occur frequently across reviews, measured by support, the share of reviews that contain them, and retains only features whose support reaches a chosen threshold. The frequency criterion reflects the assumption that aspects customers care about are mentioned repeatedly. Features below the threshold are excluded by this rule, so less frequent attributes may not appear in the summary.

Formula
F = \{f: \text{noun/noun-phrase},\ \mathrm{supp}(f) \ge \sigma\}\ \text{(frequent-itemset mining)}
3

Opinion words are taken to be adjectives that occur near a retained feature in a sentence, so each adjective is linked to the feature it appears beside. Seed opinion words can be expanded using WordNet, a lexical database that provides synonyms and antonyms, to build a larger lexicon with polarity values. The link between a feature and its nearby opinion words is what allows sentiment to be attributed to a particular aspect rather than to the review as a whole.

Formula
O = \{w: t(w) = \text{ADJ},\ \exists f \in F \text{ near } w\},\ \ \text{seed } + \text{WordNet expansion}
4

For each review, the polarity values of the opinion words linked to a feature are combined, and the sign of the result gives a positive or negative label for that feature. Each feature therefore receives one of two labels. Negated and contrastive wording, such as 'not good', requires explicit handling, because a word-level polarity alone can reverse the intended sentiment. This difficulty is discussed under limitations and pitfalls.

Formula
s(f, r) = \mathrm{sign}\!\Big(\sum_{w \in O \cap r} \mathrm{pol}(w)\cdot \mathbb{1}[\text{neg}]\Big),\ \ s \in \{+,-\}
5

The per-review labels are aggregated across the corpus. For each feature, the summary counts the reviews that express a positive label and those that express a negative label. The result is a feature-by-feature table of positive and negative mention counts, which can be compared across products or versions. Because the counts reflect how often each sentiment is expressed, they indicate where opinion concentrates but not how strongly customers feel about each feature.

Formula
\mathrm{Summ}(f) = \big(\#\{r: s(f,r)=+\},\ \#\{r: s(f,r)=-\}\big)\ \forall f \in F

Common pitfalls

  • Scoring 'not good' or contrastive sentences with the polarity of the words alone, which reverses or blurs the intended sentiment.
  • Reading feature mention counts as measures of customer satisfaction without considering how the reviews were collected.
  • Using an opinion-word list built for one product category on reviews from another, where the same adjective can carry a different meaning.
  • Treating the most frequent nouns as the only product features and overlooking attributes that customers describe in less common wording.

Frequently asked questions

How is aspect-based review mining different from ordinary sentiment analysis?

Ordinary document-level sentiment analysis assigns one polarity to a whole review, which can hide the fact that a review praises one feature and criticizes another. Aspect-based review mining identifies the product features customers mention and determines the sentiment toward each one, then aggregates the results by feature. Hu and Liu's 2004 paper frames the task this way: it mines the features that customers comment on, identifies whether each opinion is positive or negative, and summarizes the results. The difference matters for marketing because an overall score shows that a product is liked, while a feature-level summary shows which attributes are liked and which are criticized.

How does the method find which product features to analyze?

The method treats nouns and noun phrases as candidate features, using part-of-speech tags from the preprocessing stage. It keeps those that occur frequently across reviews, measured by support, the share of reviews containing them, and retains features whose support meets a threshold. This rests on the assumption that features customers care about are mentioned repeatedly. Features that are rare, or referred to indirectly, can be missed by this rule alone. Less frequent but important attributes may need to be checked manually before the summary is interpreted.

How reliable are the sentiment summaries, and what can distort them?

The summaries are informative but imperfect. Opinion words are linked to features by their position in a sentence, so a sentence that mentions several features can attach an opinion to the wrong one. Negation and contrast are difficult, and a word-level polarity can be inverted by a phrase such as 'not good'. The counts also reflect the reviews collected: people with strong experiences may be more likely to write reviews, and fake reviews are a further source of bias. Results are best checked by comparing a sample of automatic labels with human judgment, tuning opinion-word lists to the product category, and treating the counts as indicators of where opinion concentrates rather than exact measures of satisfaction.

Related methods

Sources

  1. Hu, M., & Liu, B. (2004). Mining and Summarizing Customer Reviews. Proceedings of the Tenth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD '04), 168-177.

    Open DOI reference