- Introduced by
- Mohammad et al. (SemEval-2016 Task 6)
- Year
- 2016
- Type
- NLP text-classification task toward a target
What does it do?
Stance detection is a natural-language-processing task that classifies the position a text's author takes toward a specific claim, event, or topic, usually as favor, against, or neither (often called neutral).
Mohammad et al. set it up as a shared task in SemEval-2016 Task 6, and the three-class definition used in the field is summarised in Küçük and Can's survey. Unlike sentiment analysis, the label is always relative to a defined target rather than to the overall emotional tone of the text.
The intuition behind the method
A sentence can sound positive yet argue against the topic you care about, so judging emotional tone alone is not enough. Stance detection asks one question: relative to this particular claim or topic, is the author in favor, against, or neither? The target may not be named in the text, and the author may be expressing an opinion about a different entity, which is why the label must be tied to the target and not to the surface wording. Approaches include supervised classifiers trained on labelled examples. Küçük and Can (2020) classify the approaches proposed so far.
History
Stance detection was set up as a shared task by Mohammad et al. in SemEval-2016 Task 6, Detecting Stance in Tweets. Given a tweet and a target entity, systems had to label the tweeter's stance as favor, against, or neither, in a supervised task (Task A) and a task on a new target with no training data (Task B). Küçük and Can (2020) later surveyed stance detection in social media posts and regular texts in ACM Computing Surveys, covering definitions, approaches, datasets, and tools.
When to use it
Choose stance detection when your question is a text's position toward a specific claim, event, or topic, for example whether posts are for or against a policy, rather than its overall tone. Define the target explicitly first. You need either labelled examples to train a supervised classifier, or a setup in which the model is applied to a target it has not seen, as in SemEval-2016 Task B. Do not use it when no target is defined, because the labels would have no fixed reference, or when overall emotional tone is what you need, in which case sentiment analysis is the better fit. The survey's scope covers social media posts and regular online texts such as news and forums.
Limitations and considerations
- The target claim or topic must be fixed in advance; without it, favor and against labels cannot be interpreted consistently.
- Supervised classifiers need labelled stance annotations for the target. The SemEval-2016 supervised task used 70% of the annotated data per target for training.
- Stance expressed implicitly, without naming the target, is hard for systems to infer; SemEval-2016 found this markedly more difficult when the tweet expressed opinion toward another entity.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Measures position toward a named target, which overall sentiment does not: a text can be positive in tone and still argue against the target.
- Can be applied to a target absent from the training data, as in the SemEval-2016 Task B setting, rather than requiring labelled data for every new target.
- Covers text in which the target is not named, a case the SemEval-2016 data was built to include.
Applications
- Classifying whether social-media posts favor or oppose a public figure, policy, or event.
- Analysing stance in online news portals and forums, alongside social media, as covered by the survey.
- Analysing stance in debate and opinion text toward a claim.
- Studying rumour and fake news detection, a related problem family that the survey discusses alongside stance detection.
How it works
How it works
Stance detection is a procedural pipeline with no closed-form formula, so the four steps describe a workflow rather than equations. The claim, event, or topic is fixed as the target before any text is read, because stance is measured relative to it: the same tweet can favor one target and oppose another. In SemEval-2016 each instance was a tweet paired with a target entity, so the target is part of the input, not only a label.
Each text is converted into features that a classifier can read, and those features must relate the text to the target. Common choices are lexical features or learned embeddings of the tweet, often combined with the target text so that the classifier receives both inputs. The SemEval-2016 data shows why this matters: the target may or may not be mentioned in the tweet, so a representation that only matches the target's name can miss stance expressed without naming it.
Each text receives one stance label toward the target. Supervised systems learn this from a labelled training split; in SemEval-2016 Task A, 70% of the annotated data for each target was used for training. SemEval-2016 Task B tested generalisation to a new target for which no training data was provided.
Predictions are scored against held-out labelled examples. The SemEval-2016 shared task reported classification F-score, with highest values of 67.82 for Task A and 56.28 for Task B. Name the exact F-score variant when reporting results, because scores from different variants are not directly comparable, and report per-class results and the class distribution alongside the overall score. Misclassifications should be inspected by target, particularly for texts whose opinion is aimed at another entity, before the results are trusted.
Common pitfalls
- Confusing stance with sentiment: a positive-sounding text can be against the target, and a negative one can be in favor of it.
- Leaving the target loosely defined, so the same label means different things across the dataset.
- Reading an opinion about another entity as a stance toward the target, a specific source of error identified in SemEval-2016.
- Using scores obtained on training targets to estimate performance on new targets. SemEval-2016 Task B results on the new target were lower than Task A results, so seen-target scores overstate performance on unseen targets.
Frequently asked questions
How is stance detection different from sentiment analysis?
Sentiment analysis labels the overall emotional tone of a text, while stance detection labels its position toward a specific target: favor, against, or neither. A text can be positive in tone yet argue against the target, so the two tasks can disagree.
Do I need labelled training data?
Not always. A supervised classifier needs labelled stance annotations for the target, while the SemEval-2016 Task B setting tests on a new target with no training data. Defining the target explicitly is required in either case.
What labels does stance detection produce?
The three-class definition used in Küçük and Can's survey is favor, against, or neither. The labels are relative to the target, not to the text in isolation; 'neutral' in this page corresponds to 'neither' in the survey.
Can a model trained on one target be applied to a new target?
Only with caution. SemEval-2016 Task B tested this setting, and its results on the new target were lower than on the training targets, so performance on seen targets should not be taken as a guide to new ones.
Related methods
Sources
Mohammad, S. et al. (2016). SemEval-2016 Task 6: Detecting Stance in Tweets. Proceedings of SemEval-2016, 31-41.
Open DOI referenceKüçük, D. & Can, F. (2020). Stance Detection: A Survey. ACM Computing Surveys, 53(1), 1-37.
Open DOI reference