Introduction
Stance detection—the task of determining whether a tweet is for or against a specific target—is a deceptively complex challenge in natural language processing. To correctly identify a stance, models often require context beyond the literal text. For example, understanding that a slogan like "Drill Baby Drill" implies a pro-fossil fuel stance requires external political knowledge.
While large language models (LLMs) like RoBERTa possess significant internal knowledge from pre-training, this information is often brittle and static. This paper explores a hybrid approach: bridging the "knowledge gap" by combining the linguistic capabilities of Transformers with the structured, factual data found in Knowledge Graphs (KGs).
Methodology
The researchers developed a three-staged approach to enhance stance detection using external context:
- Knowledge Probing: The team first established a baseline for what RoBERTa variants already knew using "fill-in-the-blank" prompts. This revealed that while larger models have more internal facts, they are highly sensitive to minor linguistic variations.
- Contextual Priming: Using an entity linker, the model identifies key figures or concepts in a tweet and prepends Wikidata descriptions to the input. For instance, a mention of "Kamala Harris" is enriched with her role as a politician.
- Pathfinding & Edge Cost Tuning (ECT): This core innovation moves beyond single entities to find "knowledge pathways" connecting tweet entities to the stance target.
To manage the noise inherent in large KGs, the authors introduced Edge Cost Tuning (ECT). This method learns which relationships (edges) are most relevant for stance detection during training. If a specific path helps the model predict the correct stance, the "cost" of those edges is lowered; if it leads to errors, the cost increases. This allows the model to prioritize informative connections, such as political affiliation, over generic ones like geographic location.
Key Insights and Model Performance
The study yielded several critical insights regarding how Transformers handle factual information. Probing experiments showed a clear correlation between model size and internal knowledge, yet even the most capable models remained fragile.
As shown in the probing results, RoBERTa-Large significantly outperforms the Base and Twitter-specific versions in factual recall. However, the researchers noted that removing a single article could flip a model's prediction, highlighting the need for the structured grounding provided by KGs. Furthermore, the ECT method successfully addressed the "Hub Problem," where generic nodes (like "Washington D.C.") create noisy paths that can confuse standard models.
Results and Conclusion
The knowledge-enriched models achieved State-of-the-Art (SOTA) performance on two major benchmarks:
- SemEval-2016 Task 6: RoBERTa-Large with entity enrichment reached a mean F1 score of 78.5, surpassing the base Transformer's 77.3.
- G&K (2020 Election): The model utilizing Path Enrichment and ECT performed best, particularly in identifying "Against" (87.0 F1) and "Neutral" (67.2 F1) stances.
While the approach is dependent on the quality of entity linking and the underlying KG, it demonstrates that structured external knowledge is vital for capturing the ephemeral nature of social media discourse and political dog whistles. Future work will focus on integrating dynamic, real-time knowledge updates to keep pace with breaking news.
Summary updated