Introduction
Sentiment analysis in the microblogging domain faces significant challenges due to the informal nature of the language used. Traditional sentiment lexicons, typically curated from formal English sources, often fail to capture the nuances of "Twitter-speak," which is characterized by slang, abbreviations, and hashtags. While "distant supervision" using emoticons has been a popular workaround, it ignores the vast majority of tweets that lack such explicit markers. Researchers from the University of Waikato propose a novel centroid-based approach to automatically generate Twitter-specific opinion lexicons using large-scale unlabelled data.
Methodology: The Centroid-Based Approach
The proposed method leverages the distributional hypothesis, suggesting that words appearing in similar contexts share similar meanings. In this framework, an entire tweet serves as the context for the words it contains.
The process involves three main steps:
- Tweet Representation: Tweets are converted into vectors using two complementary methods: Bag-of-Words (BOW) for lexical specificity and Brown Clusters for broader semantic grouping.
- Word Representation: For each word in the corpus, a "Tweet-Centroid Word Vector" is calculated by averaging the vectors of all tweets in which that word appears.
- Classification: A small seed lexicon of known sentiment words is used to label a subset of these centroids. A linear classifier (L2-regularized logistic regression) is then trained to predict the sentiment (positive, negative, or neutral) of the remaining unlabelled word centroids.
As shown in the table above, the model successfully identifies the sentiment of informal terms like "yassss" and hashtags like "#recession," which are typically absent from standard dictionaries.
Datasets and Evaluation
The study utilized two large unlabelled corpora for lexicon generation: the Edinburgh Corpus (ED), containing 2.5 million random tweets, and the Stanford Twitter Sentiment (STS) corpus, consisting of 1.6 million tweets pre-filtered for emoticons. The generated lexicons were evaluated on three manually annotated message-level datasets: Sanders, 6-human, and SemEval.
Key Results and Discussion
The experimental results demonstrate that lexicons generated from unlabelled data significantly enhance sentiment classification performance. A key finding was the effectiveness of the Edinburgh (ED) corpus. Despite being a random sample, it often provided a better contextual foundation than the emoticon-biased STS corpus.
The evaluation (see table above) shows that using the ED-generated lexicon consistently outperformed the baseline (seed lexicon only) across all test sets. For instance, on the SemEval dataset, the Area Under the ROC Curve (AUC) improved from a baseline of 0.78 to 0.84. Furthermore, the researchers found that concatenating BOW and cluster-based vectors (CONCAT) yielded the most robust results, as clusters were particularly effective at identifying neutral words.
Conclusion
This research provides a scalable and cost-effective method for building domain-specific sentiment lexicons. By moving beyond emoticon-based labeling and utilizing the inherent context of tweets, the centroid-based approach captures the evolving vocabulary of social media. Future work may explore integrating more complex linguistic features like negations or modern word embeddings to further refine these Twitter-specific representations.
Summary updated