Skip to main content
QUICK REVIEW

[Paper Review] CommunityLM: Probing Partisan Worldviews from Language Models

Hang Jiang, Doug Beeferman|arXiv (Cornell University)|Sep 15, 2022
Topic ModelingComputer Science9 citations
TL;DR

This paper introduces CommunityLM, a framework that fine-tunes GPT-2 language models on partisan Twitter data to probe the worldviews of Democratic and Republican communities. By prompting these models with ANES survey questions, the method generates community-specific responses that significantly outperform baselines in predicting actual partisan stances, demonstrating strong alignment with real survey data.

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. 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.

Motivation & Objective

  • To develop a scalable, flexible framework for probing community-specific worldviews using language models trained on public discourse.
  • To investigate whether fine-tuned language models can accurately reflect the partisan attitudes of communities toward public figures and social groups.
  • To compare the performance of CommunityLM against baseline methods, including pre-trained models and keyword retrieval, in predicting partisan stances.
  • To analyze model errors and assess the reliability of generated responses for ranking public figures across communities.
  • To encourage constructive dialogue by enabling users to explore opposing community perspectives through synthetic, model-generated opinions.

Proposed method

  • Fine-tune GPT-2 language models on 4.7 million tweets each from self-identified Democratic and Republican Twitter users, collected before the 2020 ANES survey period.
  • Use ANES 2020 Exploratory Testing Survey questions as prompts, formatted in four distinct prompt types (e.g., 'X is the...') to elicit opinion-like responses.
  • Compute average stance scores for 16 public figures based on generated responses to rank their perceived favorability within each community.
  • Compare model-generated responses against actual ANES survey results using correlation and accuracy metrics to evaluate predictive performance.
  • Conduct error analysis by comparing model outputs to ground-truth ANES responses, identifying systematic omissions and misclassifications.
  • Use statistical patterns across generated outputs rather than individual samples to ensure robustness and reduce hallucination risks.

Experimental results

Research questions

  • RQ1Can fine-tuned GPT-2 models trained on partisan social media data generate responses that reflect the actual partisan stances of communities on public figures?
  • RQ2How does the performance of CommunityLM compare to pre-trained models (e.g., GPT-3 Curie) and keyword-based baselines in predicting partisan preferences?
  • RQ3Which prompt format yields the most accurate and reliable predictions of community stances?
  • RQ4What are the systematic errors made by CommunityLM, and how do they relate to specific public figures or social groups?
  • RQ5To what extent can CommunityLM be used to rank public figures by perceived favorability within each political community?

Key findings

  • The fine-tuned CommunityLM with the 'X is the' prompt achieved the highest accuracy in predicting partisan stances, significantly outperforming both pre-trained GPT-3 Curie and keyword retrieval baselines.
  • Generated responses from CommunityLM showed strong alignment with actual ANES survey results, particularly in capturing partisan differences toward public figures like Dr. Fauci and political groups.
  • The Republican GPT-2 model generated 'liar' and 'joke' as top responses for Dr. Fauci, while the Democratic model generated 'hero' and 'true', reflecting real partisan divides.
  • Error analysis revealed that the keyword retrieval baseline missed key terms like 'illegal immigrants' and 'big business', while the fine-tuned CommunityLM missed 'White people' and 'Dr. Anthony Fauci'.
  • Ranking public figures using stance scores from CommunityLM revealed that Republican models rated Democratic politicians more negatively, and vice versa, with Andrew Yang receiving high ratings from both communities.
  • The study demonstrates that statistical patterns across model-generated responses can reliably surface community-level preferences and worldview differences without direct individual interviews.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.