paper-with-me

홈 › Papers

Stanceformer: Target-Aware Transformer for Stance Detection

2024-10-09 · Krishna Garg, Cornelia Caragea

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}}

📄 PDF Abstract BibTeX arXiv:2410.07083

Code (1)

kgarg8/stanceformer 공식 구현 pytorch

Tasks

Aspect-Based Sentiment AnalysisSentiment AnalysisStance Detection

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

InstanceFormer: An Online Video Instance Segmentation Framework

2022-08-22 · Rajat Koner, Tanveer Hannan, Suprosanna Shit, Sahand Sharifzadeh 외

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 Segmentation

Enhancing cross-domain detection: adaptive class-aware contrastive transformer

2024-01-24 · Ziru Zeng, Yue Ding, Hongtao Lu

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 Adaptation

Target Really Matters: Target-aware Contrastive Learning and Consistency Regularization for Few-shot Stance Detection

2022-10-01 · COLING 2022 10 · Rui Liu, Zheng Lin, Huishan Ji, Jiangnan Li 외

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 Detection

JointCL: A Joint Contrastive Learning Framework for Zero-Shot Stance Detection

2022-05-01 · ACL 2022 5 · Bin Liang, Qinglin Zhu, Xiang Li, Min Yang 외

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 Detection

Integrating Transformers and Knowledge Graphs for Twitter Stance Detection

2021-11-01 · WNUT (ACL) 2021 11 · Thomas Clark, Costanza Conforti, Fangyu Liu, Zaiqiao Meng 외

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