[Paper Review] NRC-Canada: Building the State-of-the-Art in Sentiment Analysis of Tweets
This paper presents two state-of-the-art SVM-based sentiment classifiers for tweets and SMS: one for message-level sentiment (F-score 69.02) and one for term-level sentiment (F-score 88.93), both ranking first in the SemEval-2013 competition. The system leverages automatically generated sentiment lexicons from hashtags and emoticons, along with surface-form, semantic, and n-gram features, with lexicon features contributing over 5 F-score points in the message-level task.
In this paper, we describe how we created two state-of-the-art SVM classifiers, one to detect the sentiment of messages such as tweets and SMS (message-level task) and one to detect the sentiment of a term within a submissions stood first in both tasks on tweets, obtaining an F-score of 69.02 in the message-level task and 88.93 in the term-level task. We implemented a variety of surface-form, semantic, and sentiment features. with sentiment-word hashtags, and one from tweets with emoticons. In the message-level task, the lexicon-based features provided a gain of 5 F-score points over all others. Both of our systems can be replicated us available resources.
Motivation & Objective
- To develop high-accuracy sentiment classifiers for short texts such as tweets and SMS messages.
- To improve sentiment analysis performance on social media data by leveraging automatically generated sentiment lexicons from user-generated content.
- To evaluate the effectiveness of various feature types—surface-form, semantic, n-grams, and sentiment lexicons—in message-level and term-level sentiment classification.
- To ensure reproducibility by releasing all models and lexicons as freely available resources.
- To achieve top performance in the SemEval-2013 Task 2: Sentiment Analysis in Twitter competition across both message-level and term-level subtasks.
Proposed method
- Constructed a large sentiment lexicon using tweets with sentiment-word hashtags (NRC Hashtag Sentiment Lexicon), where sentiment was inferred from the hashtagged emotion words.
- Built a second lexicon using tweets containing emoticons, treating the emoticon as a sentiment indicator for the surrounding text.
- Employed a Support Vector Machine (SVM) classifier with a diverse set of features: unigrams, character n-grams, word n-grams, sentiment lexicon scores, negation modeling, and text normalization (e.g., handling elongated words and punctuation).
- Calculated sentiment association scores using Pointwise Mutual Information (PMI) between words and sentiment labels derived from hashtags and emoticons: $score(w) = PMI(w,positive) - PMI(w,negative)$.
- Trained models on combined training and development data, then evaluated on unseen test sets for both tweets and SMS, with no further tuning for SMS.
- Conducted ablation studies to isolate the contribution of each feature group, including removing features from the target word or its context separately.
Experimental results
Research questions
- RQ1How effective are automatically generated sentiment lexicons from hashtags and emoticons in improving sentiment classification performance on tweets?
- RQ2Which combination of surface-form, semantic, and n-gram features yields the highest performance in message-level and term-level sentiment analysis of short texts?
- RQ3To what extent do sentiment lexicon features outperform other feature types in the message-level sentiment classification task?
- RQ4How generalizable are the trained models to unseen data, such as SMS messages, without retraining or tuning?
- RQ5What is the relative contribution of target word features versus contextual features in term-level sentiment classification?
Key findings
- The NRC-Canada system achieved the highest F-score of 69.02 in the message-level sentiment analysis task on tweets, ranking first among 34 teams.
- For the term-level task, the system achieved an F-score of 88.93 on tweets, ranking first among 23 teams, with a post-competition bug fix improving it to 89.10.
- The automatically generated hashtag-based sentiment lexicon alone contributed over 5 F-score points in the message-level task, significantly outperforming other feature types.
- The term-level classifier achieved an F-score of 88.00 on SMS messages (second place), demonstrating strong zero-shot generalization without tuning on SMS data.
- N-gram features (both word and character n-grams) were the most impactful, with removing them causing a drop of 5.24 F-score points on tweets and 7.85 on SMS.
- Sentiment lexicon features were the second most important, with removal reducing performance by 3.95 points on tweets and 4.64 on SMS, indicating their critical role in boosting accuracy.
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.