Abstract
Detecting sentiment in text is straightforward when explicit descriptors like "excellent" or "terrible" are used. However, Implicit Sentiment Analysis (ISA) remains a significant challenge, as it requires understanding factual statements that carry emotional weight without explicit opinion cues. This paper introduces THOR (Three-hop Reasoning), a Chain-of-Thought (CoT) prompting framework designed to mimic human logic. By guiding models to step-by-step uncover hidden aspects and latent opinions, THOR achieves substantial performance gains in ISA across both supervised and zero-shot settings.
Introduction
Traditional Sentiment Analysis (SA) typically relies on explicit opinion cues—words that directly signal a positive or negative sentiment. This is categorized as Explicit Sentiment Analysis (ESA). In contrast, real-world language often conveys sentiment through factual descriptions. For instance, the statement "This phone fits in my pocket" contains no adjectives, yet a human reader understands it as a positive attribute regarding portability.
Existing sentiment classifiers often mislabel such sentences as "neutral" because they lack the common-sense knowledge required to bridge the gap between a fact and its emotional implication. To address this, the authors propose that ISA should be treated as a multi-hop reasoning task rather than a simple classification problem.
The THOR Framework
The THOR (Three-hop Reasoning) framework is built upon the principles of Chain-of-Thought (CoT) prompting. Rather than asking a Large Language Model (LLM) to provide a sentiment label immediately, THOR structures the inquiry into three logical "hops":
- Hop 1: Inferring the Aspect: The model identifies the specific aspect of the target being mentioned (e.g., for a mobile device, is the text discussing "size," "battery life," or "price"?).
- Hop 2: Inferring the Opinion: Based on the identified aspect, the model explains the underlying opinion and the logic behind it (e.g., "The phone is small enough to fit in a pocket, which is a convenient and desirable feature for a portable device").
- Hop 3: Inferring Polarity: Finally, the model utilizes the context generated in the previous two steps to determine the final sentiment polarity (positive, negative, or neutral).
To enhance reliability, the framework incorporates a Self-consistency mechanism, which samples multiple reasoning paths to find the most frequent conclusion. Additionally, for supervised fine-tuning, a Reasoning Revising method is used to teach models to correct intermediate logical errors using gold-standard labels.
Experimental Setup
The researchers evaluated THOR using the SemEval14 Laptop and Restaurant datasets. To isolate the performance on implicit sentiment, they utilized a version of these datasets where instances are categorized into "Explicit" and "Implicit" groups. This allowed for a precise measurement of how well the reasoning framework handles the most difficult cases compared to standard benchmarks.
Key Insights
- Reasoning as Knowledge Retrieval: The study suggests that ISA is fundamentally a knowledge-retrieval problem. LLMs often possess the necessary "world knowledge" (e.g., knowing that portability is a positive trait for electronics), but they require structured prompting to "activate" and apply that knowledge correctly.
- The Scaling Effect: The effectiveness of multi-hop reasoning is highly dependent on model scale. While smaller models (e.g., 250M parameters) often struggle to maintain logical consistency across the hops, larger models (e.g., 175B parameters) demonstrate an "emergent" ability to perform complex ISA reasoning.
- Zero-shot Potential: A significant finding was that THOR allows un-tuned models like GPT-3 to outperform many specialized, supervised models. This indicates that the primary bottleneck in ISA has been the lack of structured reasoning rather than a lack of training data.
Results
THOR demonstrated a significant leap over previous State-of-the-Art (SoTA) methods:
- Supervised Performance: When combined with Flan-T5 (11B), THOR improved the F1 score by over 6% compared to existing top-tier models.
- Zero-shot Performance: Using GPT-3 (175B), the framework boosted the F1 score by 50% over traditional zero-shot prompting methods.
- ChatGPT Improvements: Even highly capable models like ChatGPT, which often default to a "neutral" label for factual statements, were successfully induced by THOR to reach correct sentiment conclusions.
Limitations and Future Work
Despite its success, THOR has limitations. Its benefits are primarily realized in larger LLMs; smaller models frequently experience "chain breakage" where the logic fails mid-reasoning. Furthermore, in supervised settings, models may occasionally learn "shortcuts," predicting the correct label even if the intermediate reasoning steps are flawed.
Future research may involve adapting the three-hop principle to other nuanced NLP tasks, such as sarcasm detection, irony, or the analysis of figurative language, where the true meaning is hidden beneath the literal surface of the text.
Summary updated