Stanceformer: Target-Aware Transformer for Stance Detection
Krishna Garg, Cornelia Caragea

TL;DR
Stanceformer is a novel target-aware transformer model that enhances stance detection by focusing attention on specific targets, leading to improved performance across multiple datasets and generalization to related tasks.
Contribution
We introduce Stanceformer, a target-aware transformer with a Target Awareness matrix that improves focus on targets during stance detection, outperforming existing models.
Findings
Superior performance on three stance detection datasets
Effective generalization to other domains like Aspect-based Sentiment Analysis
Compatibility with various BERT-based models and LLMs
Abstract
The task of Stance Detection involves discerning the stance expressed in a text towards a specific subject or target. Prior works have relied on existing transformer models that lack the capability to prioritize targets effectively. Consequently, these models yield similar performance regardless of whether we utilize or disregard target information, undermining the task's significance. To address this challenge, we introduce Stanceformer, a target-aware transformer model that incorporates enhanced attention towards the targets during both training and inference. Specifically, we design a \textit{Target Awareness} matrix that increases the self-attention scores assigned to the targets. We demonstrate the efficacy of the Stanceformer with various BERT-based models, including state-of-the-art models and Large Language Models (LLMs), and evaluate its performance across three stance…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsVideo Surveillance and Tracking Methods · Advanced Image and Video Retrieval Techniques · Visual Attention and Saliency Detection
MethodsSoftmax · Attention Is All You Need
