CommunityLM: Probing Partisan Worldviews from Language Models

Hang Jiang, Doug Beeferman, Brandon Roy, Deb Roy
9/15/2022
cs.SIcs.AIcs.CL

Official code: hjian42/CommunityLM (14 stars, Jupyter Notebook, CC0-1.0, last commit 2023-01-31).

Abstract

As political attitudes have diverged ideologically in the United States, political speech has diverged lingusitically. The ever-widening polarization between the US political parties is accelerated by an erosion of mutual understanding between them.

Show full abstract

We aim to make these communities more comprehensible to each other with a framework that probes community-specific responses to the same survey questions using community language models CommunityLM. In our framework we identify committed partisan members for each community on Twitter and fine-tune LMs on the tweets authored by them. We then assess the worldviews of the two groups using prompt-based probing of their corresponding LMs, with prompts that elicit opinions about public figures and groups surveyed by the American National Election Studies (ANES) 2020 Exploratory Testing Survey. We compare the responses generated by the LMs to the ANES survey results, and find a level of alignment that greatly exceeds several baseline methods. Our work aims to show that we can use community LMs to query the worldview of any group of people given a sufficiently large sample of their social media discussions or media diet.

View on arXivView PDF

Code Implementations(1)

CC0-1.0

[COLING 2022]: CommunityLM: Probing Partisan Worldviews from Language Models

141Jupyter Notebook, PythonMar 7, 20223 years agoCC0-1.0

Similar Papers

Cite this paper

@article{jiang2022communitylm,
  title  = {CommunityLM: Probing Partisan Worldviews from Language Models},
  author = {Hang Jiang and Doug Beeferman and Brandon Roy and Deb Roy},
  year   = {2022},
  eprint = {2209.07065},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.07065}
}

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

Discussion