- Introduced by
- Pontiki et al. (SemEval-2014 Task 4)
- Year
- 2014
- Type
- NLP fine-grained opinion-mining task
What does it do?
Aspect-based sentiment analysis (ABSA) is a fine-grained natural-language-processing task that assigns sentiment separately to each aspect or feature mentioned in a text, such as the quality, price, or service of a product, rather than scoring the document as a whole.
Pontiki et al. consolidated it as a shared task in SemEval-2014 Task 4.
The intuition behind the method
A single review can praise one thing and criticise another in the same sentence: "the food was excellent but the service was slow." A whole-document sentiment label would collapse that into one number and lose the contrast. ABSA instead asks two questions for each piece of text — which aspects are being talked about, and what is the sentiment toward each one — so that praise for the food and complaints about the service are kept apart and scored independently.
History
Pontiki et al. consolidated aspect-based sentiment analysis as a shared task in SemEval-2014 Task 4. Schouten and Frasincar later published a survey of aspect-level sentiment analysis that reviews methods for aspect detection and sentiment and calls for standardised evaluation on shared datasets.
When to use it
Choose ABSA when your data are text, your question concerns specific aspects or features rather than overall opinion, and the aspect categories can be predefined or extracted reliably from the texts. Predefined categories, such as quality, price or service, give results that are easy to interpret and compare, but they depend on a taxonomy that fits the domain. Extracted categories follow the corpus more closely, but the resulting groupings must be checked by hand so that each one corresponds to a meaningful feature. Use a larger corpus when you need stable per-aspect estimates; the amount required depends on how many aspects you track and how often each one is mentioned. Do not use it if you need only one polarity per document; plain sentiment analysis answers that more simply. It is also a poor fit when the texts rarely name the aspects of interest, because the aspect step then has little to work with, or when the corpus is small relative to the number of aspects you want to compare.
Limitations and considerations
- Aspect extraction errors propagate: a mention assigned to the wrong category receives a sentiment score that belongs to a different feature.
- Requires a reasonably sized corpus: with few documents, per-aspect estimates are unstable, and aspects with few mentions should be interpreted with caution.
- Adds an aspect-identification stage on top of polarity classification, so it has more components to validate than document-level sentiment analysis. Schouten and Frasincar call for standardised evaluation methodology that includes shared data sets, so reported performance figures should be compared with care.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Keeps mixed opinions apart: a sentence that praises one feature and criticises another yields two separate polarities instead of one blended label.
- Makes the aspect an explicit intermediate result, so an analyst can check which mentions were assigned to which feature and revise the category definitions if needed.
- Allows a feature's polarity to be compared across subsets of a corpus, such as different products or time periods, which a single document score cannot show.
Applications
- Breaking down product or service reviews by feature, such as quality, price, or service, to see which are praised and which are criticised.
- Comparing opinion on the same feature across competing products or brands in review data.
- Analysing opinion on specific attributes in social media or survey text, where a single overall score hides the contrast.
- Describing which features are discussed most often with positive or negative polarity across a corpus.
How it works
How it works
The text is cleaned and split into sentences or clauses, keeping the boundaries that matter here: an opinion word should be linked to an aspect mention within the same clause. Steps that remove words indiscriminately can delete negations and intensifiers, which change the polarity of the opinion around an aspect.
The aspects or features discussed in each text are identified. Categories may be fixed in advance (for example quality, price, service) or extracted from the corpus. The same feature can be expressed with several different words, so the category set must be defined clearly. This stage answers what is being talked about, and errors here carry into the sentiment step. Schouten and Frasincar categorise existing methods by whether they address aspect detection, sentiment analysis, or both, so it is worth checking which of these stages your chosen tool covers.
For each identified aspect, the sentiment expressed toward that aspect is classified, typically as positive, negative, or neutral. Each aspect is scored on its own, so opposing opinions within one sentence receive separate polarities. Performance is commonly reported separately for aspect identification and for polarity classification, using measures such as precision, recall and F1. Schouten and Frasincar call for standardised evaluation methodology built on shared data sets, so reported scores from different studies should be compared with care.
The per-aspect polarities are collected across the corpus. For each aspect, the output shows how many documents mention it and how its polarities are distributed, so a feature praised in many documents can be compared with one that is criticised. Aspects with few mentions should be reported as such rather than read as stable profiles.
Common pitfalls
- Leaving aspect categories unclear or overlapping (for example 'service' and 'staff') splits or merges opinions, which makes the per-aspect counts misleading.
- Assigning one polarity per document discards the aspect-level detail that the method is meant to provide.
- Using a sentiment model trained on a different language or domain from the corpus; both aspect extraction and polarity classification degrade under such a mismatch.
- Reading per-aspect results for aspects with few mentions as reliable; in a small corpus these estimates are unstable.
Frequently asked questions
How does ABSA differ from ordinary sentiment analysis?
Ordinary sentiment analysis assigns one polarity to a whole document. ABSA detects sentiment separately for each aspect or feature mentioned in the text, so a review that praises food but criticises service yields two distinct, opposing polarities instead of one blended label.
Do I need to define the aspects in advance?
Aspect categories can be predefined (for example quality, price, service) or extracted automatically from the corpus. Either way, the quality of aspect identification directly affects the per-aspect sentiment results, because a mention assigned to the wrong aspect receives the wrong sentiment.
How much text do I need?
No fixed minimum number of documents applies to every study. The amount needed depends on how many aspects you track and how often each one is mentioned. Check the number of mentions per aspect in your own data, and treat aspects with few mentions as tentative, since small samples give unstable per-aspect results.
Does ABSA work in languages other than English?
It can, but the model must match the language of your corpus for both aspect extraction and polarity classification. A model trained on one language should not be assumed to work on another without checking its results on your own texts. Translating the texts before analysis, or using a multilingual model, are other routes, but each adds error sources, so check the results against a hand-labelled sample of your own texts.
Related methods
Sources
Pontiki, M. et al. (2014). SemEval-2014 Task 4: Aspect Based Sentiment Analysis. Proceedings of SemEval 2014, 27-35.
Open DOI referenceSchouten, K. & Frasincar, F. (2016). Survey on Aspect-Level Sentiment Analysis. IEEE Transactions on Knowledge and Data Engineering, 28(3), 813-830.
Open DOI reference