HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Knowledge Enhanced Masked Language Model for Stance Detection

{Lisa Singh Kornraphop Kawintiranon}

Knowledge Enhanced Masked Language Model for Stance Detection

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

BenchmarkMethodologyMetrics
stance-detection-us-election-2020-biden-onKE-MLM
Average F1: 0.7577
stance-detection-us-election-2020-trump-onKE-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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Knowledge Enhanced Masked Language Model for Stance Detection | Papers | HyperAI