Introduction
Stance detection is the computational task of determining whether a piece of text expresses a "Favor," "Against," or "Neutral" position toward a specific target. While traditional models achieve high accuracy when the training and testing targets are identical, they face significant hurdles in cross-target scenarios. In these cases, a model must predict a stance on a new, unseen topic (e.g., "Legalization of Abortion") based on patterns learned from a different, related topic (e.g., "Feminist Movement").
The challenges are primarily two-fold: the knowledge gap and colloquial nuance. Different targets often involve distinct vocabularies and semantic structures, making it difficult for models to transfer knowledge. Furthermore, social media text is frequently informal, utilizing sarcasm and irony, which complicates the distinction between a user's emotional sentiment and their actual stance. To address these issues, researchers have developed SentiHAN, a hierarchical attention network that utilizes sentiment as a universal semantic bridge between disparate topics.
Methodology: The SentiHAN Framework
The Sentiment-aware Hierarchical Attention Network (SentiHAN) is designed to bridge the knowledge gap by integrating phrase-level sentiment analysis with multi-layered attention mechanisms. The architecture consists of several key components:
- Hierarchical Attention (HAN): Rather than treating text as a flat sequence, SentiHAN processes input at word, sentence, and text levels. This hierarchy allows the model to pinpoint specific linguistic units that carry the most significant weight for stance determination.
- SentiBERT Integration: The model incorporates SentiBERT, a specialized variant of BERT, to extract combinatorial sentiment knowledge at the phrase level. This enables the model to understand complex emotional expressions, such as how modifiers (e.g., "not") change the sentiment of a phrase.
- Target-Level Attention: This layer uses the target's semantics as a "query" to identify relevant arguments within the text, calculating the specific influence of different sentences on the given target.
- Residual Connections: To ensure the model retains general semantic information while focusing on the target, residual connections are employed to preserve features from earlier sentence-level layers, preventing over-specialization.
Experimental Setup and Datasets
The performance of SentiHAN was evaluated using two benchmark datasets:
- SemEval-2016 Task 6: This dataset includes targets such as Donald Trump (DT), Hillary Clinton (HC), Legalization of Abortion (LA), and the Feminist Movement (FM). Cross-target pairs like FM → LA and HC → DT were used to test transferability.
- P-Stance: A larger dataset containing over 21,000 instances focused on political figures: Donald Trump, Joe Biden, and Bernie Sanders. This dataset is particularly rigorous as it only includes "Favor" and "Against" labels, demanding high precision from the model.
Key Results and Insights
SentiHAN consistently outperformed state-of-the-art models across both benchmarks. On the SemEval-2016 dataset, it achieved an average Macro-F1 score of 62.05%, significantly surpassing standard BERT (40.48%) and specialized transfer models like PT-HCL (56.0%). On the P-Stance dataset, it reached an average Macro-F1 of 0.67, demonstrating balanced performance across various target pairs.
A critical finding of the research is the Stance-Sentiment Paradox. While stance is target-specific, sentiment patterns are often universal. For instance, the linguistic markers of opposition (negative sentiment) remain similar regardless of the topic. SentiHAN successfully navigates this by modeling sentiment and semantics as complementary features. Ablation studies confirmed this; when sentiment knowledge was removed, performance in tasks like FM-LA dropped from 70.0 to 51.5, proving that sentiment is the essential "bridge" for cross-target transfer.
Conclusion
SentiHAN demonstrates that sentiment analysis, when integrated into a hierarchical attention framework, can effectively mitigate the knowledge gap in cross-target stance detection. By moving from word-level to phrase-level sentiment via SentiBERT, the model gains a more nuanced understanding of colloquial social media language. Future work will focus on reducing the computational complexity of the model and exploring the integration of multi-source external knowledge without introducing irrelevant noise.
Summary updated