[Paper Review] Performing Stance Detection on Twitter Data using Computational Linguistics Techniques
This paper presents a supervised stance detection approach on Twitter data using computational linguistics techniques, combining bag-of-words, lexicon-based features (Arguing and MPQA), dependency parsing via MALT, and Random Forest classification. The method achieves improved accuracy by integrating syntactic and lexical features, demonstrating that structured linguistic analysis enhances stance classification beyond basic text features.
As humans, we can often detect from a persons utterances if he or she is in favor of or against a given target entity (topic, product, another person, etc). But from the perspective of a computer, we need means to automatically deduce the stance of the tweeter, given just the tweet text. In this paper, we present our results of performing stance detection on twitter data using a supervised approach. We begin by extracting bag-of-words to perform classification using TIMBL, then try and optimize the features to improve stance detection accuracy, followed by extending the dataset with two sets of lexicons - arguing, and MPQA subjectivity; next we explore the MALT parser and construct features using its dependency triples, finally we perform analysis using Scikit-learn Random Forest implementation.
Motivation & Objective
- To develop an automated method for detecting stances (favor, oppose, neutral) in Twitter posts toward a given target.
- To evaluate the effectiveness of various computational linguistics features—such as bag-of-words, sentiment lexicons, and syntactic dependencies—in improving stance detection performance.
- To investigate whether integrating linguistic structures (via dependency parsing) enhances classification accuracy over traditional text-based features.
- To compare the performance of different feature sets and machine learning models, particularly Random Forest, in a supervised stance detection framework.
Proposed method
- The authors use a supervised learning approach with TIMBL for initial classification using bag-of-words features.
- They enhance feature representation by integrating two lexicons: the Arguing lexicon for stance-relevant terms and the MPQA subjectivity lexicon for sentiment cues.
- The MALT parser is applied to extract dependency triples, which are used to generate syntactic features capturing grammatical relations in tweets.
- Feature sets are combined and evaluated using Scikit-learn's Random Forest classifier to assess performance improvements.
- The model is trained and tested on a Twitter stance detection dataset, with accuracy measured across different feature combinations.
- Hyperparameter tuning and cross-validation are applied to optimize model performance.
Experimental results
Research questions
- RQ1How does the inclusion of domain-specific lexicons (Arguing and MPQA) affect stance detection accuracy on Twitter data?
- RQ2To what extent do syntactic features derived from dependency parsing improve stance classification beyond surface-level text features?
- RQ3Can a Random Forest classifier outperform simpler models when applied to a rich set of linguistic features for stance detection?
- RQ4How do different combinations of bag-of-words, lexicon-based, and syntactic features impact overall classification performance?
Key findings
- The integration of the Arguing lexicon significantly improved stance detection accuracy compared to baseline bag-of-words features alone.
- The addition of MPQA subjectivity lexicon contributed to better detection of stance-neutral and sentiment-informed tweets.
- Dependency-based features extracted via the MALT parser provided a measurable performance boost, especially in capturing nuanced stance expressions.
- The Random Forest classifier achieved the highest accuracy among tested models, demonstrating strong generalization on the combined feature set.
- The best-performing model combined bag-of-words, lexicon features, and dependency triples, achieving a notable improvement in F1-score over individual feature sets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.