Stanceformer: Target-Aware Transformer for Stance Detection
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 detection datasets, alongside a zero-shot dataset. Our approach Stanceformer not only provides superior performance but also generalizes even to other domains, such as Aspect-based Sentiment Analysis. We make the code publicly available.\footnote{\scriptsize\url{https://github.com/kgarg8/Stanceformer}}
Code (1)
Tasks
Aspect-Based Sentiment AnalysisSentiment AnalysisStance DetectionMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
InstanceFormer: An Online Video Instance Segmentation Framework
Recent transformer-based offline video instance segmentation (VIS) approaches achieve encouraging results and significantly outperform online approaches. However, their reliance on the whole video and the immense computa…
DecoderInstance SegmentationSemantic SegmentationVideo Instance SegmentationEnhancing cross-domain detection: adaptive class-aware contrastive transformer
Recently,the detection transformer has gained substantial attention for its inherent minimal post-processing requirement.However,this paradigm relies on abundant training data,yet in the context of the cross-domain adapt…
Contrastive LearningDomain AdaptationTarget Really Matters: Target-aware Contrastive Learning and Consistency Regularization for Few-shot Stance Detection
Stance detection aims to identify the attitude from an opinion towards a certain target. Despite the significant progress on this task, it is extremely time-consuming and budget-unfriendly to collect sufficient high-qual…
Contrastive LearningFew-Shot Stance DetectionStance DetectionJointCL: A Joint Contrastive Learning Framework for Zero-Shot Stance Detection
Zero-shot stance detection (ZSSD) aims to detect the stance for an unseen target during the inference stage. In this paper, we propose a joint contrastive learning (JointCL) framework, which consists of stance contrastiv…
Contrastive LearningStance DetectionZero-Shot Stance DetectionIntegrating Transformers and Knowledge Graphs for Twitter Stance Detection
Stance detection (SD) entails classifying the sentiment of a text towards a given target, and is a relevant sub-task for opinion mining and social media analysis. Recent works have explored knowledge infusion supplementi…
Knowledge GraphsKnowledge ProbingOpinion MiningStance Detection+1