Command Palette
Search for a command to run...
Knowledge Enhanced Masked Language Model for Stance Detection
{Lisa Singh Kornraphop Kawintiranon}

Abstract
Detecting stance on Twitter is especially challenging because of the short length of each tweet, the continuous coinage of new terminology and hashtags, and the deviation of sentence structure from standard prose. Fine-tuned language models using large-scale in-domain data have been shown to be the new state-of-the-art for many NLP tasks, including stance detection. In this paper, we propose a novel BERT-based fine-tuning method that enhances the masked language model for stance detection. Instead of random token masking, we propose using a weighted log-odds-ratio to identify words with high stance distinguishability and then model an attention mechanism that focuses on these words. We show that our proposed approach outperforms the state of the art for stance detection on Twitter data about the 2020 US Presidential election.
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| stance-detection-us-election-2020-biden-on | KE-MLM | Average F1: 0.7577 |
| stance-detection-us-election-2020-trump-on | KE-MLM | Average F1: 0.7877 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.