Retweet-BERT: Political Leaning Detection Using Language Features and Information Diffusion on Social Networks

Julie Jiang, Xiang Ren, Emilio Ferrara
7/18/2022
45 citations
cs.SIcs.LGphysics.soc-ph

Official code: julie-jiang/retweet-bert (10 stars, Python, last commit 2022-12-08).

Abstract

Estimating the political leanings of social media users is a challenging and ever more pressing problem given the increase in social media consumption. We introduce Retweet-BERT, a simple and scalable model to estimate the political leanings of Twitter users.

Show full abstract

Retweet-BERT leverages the retweet network structure and the language used in users' profile descriptions. Our assumptions stem from patterns of networks and linguistics homophily among people who share similar ideologies. Retweet-BERT demonstrates competitive performance against other state-of-the-art baselines, achieving 96%-97% macro-F1 on two recent Twitter datasets (a COVID-19 dataset and a 2020 United States presidential elections dataset). We also perform manual validation to validate the performance of Retweet-BERT on users not in the training data. Finally, in a case study of COVID-19, we illustrate the presence of political echo chambers on Twitter and show that it exists primarily among right-leaning users. Our code is open-sourced and our data is publicly available.

View on arXivView PDF

Code Implementations(1)

101PythonMay 17, 20213 years ago

Similar Papers

Cite this paper

@article{jiang2022retweetbert,
  title  = {Retweet-BERT: Political Leaning Detection Using Language Features and Information Diffusion on Social Networks},
  author = {Julie Jiang and Xiang Ren and Emilio Ferrara},
  year   = {2022},
  eprint = {2207.08349},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.08349v4}
}

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/2207.08349.svg)](https://codeofpaper.com/paper/2207.08349)

Discussion