Abstract
We propose a novel approach to sentiment analysis for a low-resource setting, viewing sentiment expressed towards an entity as a span across that entity. This allows us to model sentiment detection as a sequence tagging problem, jointly discovering people and organizations along with the sentiment directed towards them. Using linguistically-informed features within Conditional Random Fields (CRFs), our models in Spanish significantly outperform strong baselines, reaching approximately 90% accuracy on the combined task of named entity recognition and sentiment prediction.
Introduction
In Natural Language Processing (NLP), global sentiment analysis—determining if a message is generally "positive" or "negative"—is a well-established task. However, a significant gap exists in identifying who or what is the target of that sentiment in open-domain environments like Twitter. For instance, in the tweet "So happy that Kentucky lost to Tennessee!", a global classifier might label the message as positive due to the word "happy." Yet, the sentiment is negative for Kentucky and positive for Tennessee.
Margaret Mitchell and colleagues (2013) address this by proposing Open Domain Targeted Sentiment, a system designed to simultaneously identify entities (people and organizations) and the specific sentiment directed toward them in messy, low-resource microblog data.
Methodology: Sentiment as a Sequence
The core innovation of this work is treating sentiment as a span expressed across an entity. Rather than classifying a whole tweet, the researchers adapt the BIO (Beginning, Inside, Outside) tagging scheme commonly used in Named Entity Recognition (NER) to include sentiment labels.
The study compared three CRF-based architectures:
- PIPE (Pipeline): A two-step process identifying entities first, then predicting sentiment.
- JOINT: A graphical model where entity and sentiment variables influence each other.
- COLL (Collapsed): A single-label approach (e.g.,
B-PERSON-POSITIVE).
To remain effective in low-resource settings, the models avoided complex parsers, instead utilizing unsupervised Brown Clusters, syllabification features (leveraging phonetic structures to identify names), and simple sentiment lexicons.
Data and Annotation
The researchers evaluated their approach on Twitter data in two languages:
- Spanish: ~30,000 tweets (6,658 unique entity-sentiment pairs).
- English: ~10,000 tweets (3,288 unique pairs).
The focus was on "volitional entities"—people and organizations—which are the primary targets of sentiment in microblogs. Labels were gathered via Amazon Mechanical Turk, requiring majority consensus among annotators to ensure quality.
Key Results and Insights
The experiments yielded several critical findings:
- High Performance in Spanish: The best models achieved roughly 90% accuracy in Spanish for the combined NER and sentiment task. The JOINT model significantly outperformed baselines in this language.
- Data Sparsity in English: Results for English were not yet statistically significant, likely due to the dataset being less than half the size of the Spanish one.
- The Challenge of Neutrality: As shown in the data distribution, the vast majority of entity mentions are neutral. Distinguishing "Neutral vs. Positive" proved much harder than "Positive vs. Negative."
- Subjectivity vs. Polarity: The models were more adept at determining if an entity was a target (subjectivity) than determining the specific direction of that sentiment (polarity).
Conclusion
This research demonstrates that viewing targeted sentiment as a sequence tagging problem is a viable path for open-domain analysis, especially in languages or domains where high-quality linguistic tools are unavailable. While the models excel at identifying targets, future work is needed to improve polarity disambiguation, particularly in cases where sentiment is inferred through events rather than explicitly stated.
Summary updated