Language Models Learn Metadata: Political Stance Detection Case Study

Stanley Cao, Felix Drinkall
9/15/2024
cs.CL

No confident code implementation found for this paper.

Abstract

Stance detection is a crucial NLP task with numerous applications in social science, from analyzing online discussions to assessing political campaigns. This paper investigates the optimal way to incorporate metadata into a political stance detection task. We demonstrate that previous methods combining metadata with language-based data for political stance detection have not fully utilized the metadata information; our simple baseline, using only party membership information, surpasses the current state-of-the-art. We then show that prepending metadata (e.g., party and policy) to political speeches performs best, outperforming all baselines, indicating that complex metadata inclusion systems may not learn the task optimally.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cao2024language,
  title  = {Language Models Learn Metadata: Political Stance Detection Case Study},
  author = {Stanley Cao and Felix Drinkall},
  year   = {2024},
  eprint = {2409.13756},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.13756v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.13756.svg)](https://codeofpaper.com/paper/2409.13756)

Discussion