cs.SIMar 11, 2026

LLMs Can Infer Political Alignment from Online Conversations

Authors: Byunghwee Lee, Sangyeon Kim, Filippo Menczer, Yong-Yeol Ahn, Haewoon Kwak, Jisun An

Organizations: School of Data Science, University of Virginia, Charlottesville, Virginia, USA, 22903 · Center for Complex Networks and Systems Research, Luddy School of Informatics, Computing, and Engineering Indiana University, Bloomington, Indiana, USA, 47408 · Division of Communication and Media, Ewha Womans University, Seoul, Republic of Korea, 03760

Abstract

Due to the correlational structure in our traits such as identities, cultures, and political attitudes, seemingly innocuous preferences like following a band or using a specific slang can reveal private traits. This possibility, especially when combined with massive, public social data and advanced computational methods, poses a fundamental privacy risk. As our data exposure online and the rapid advancement of AI are increasing the risk of misuse, it is critical to understand the capacity of large language models (LLMs) to exploit such potential. Here, using online discussions on DebateOrg and Reddit, we show that LLMs can reliably infer hidden political alignment, significantly outperforming traditional machine learning models. Prediction accuracy further improves as we aggregate multiple text-level inferences into a user-level prediction, and as we use more politics-adjacent domains. We demonstrate that LLMs leverage words that are highly predictive of political alignment while not being explicitly political. Our findings underscore the capacity and risks of LLMs for exploiting socio-cultural correlates.

Figures & tables

Explore similar work

CardsList
  1. How Identity and Opinion Shape Political Sycophancy in LLMs

    Aug 29, 2026Li-Ni Fu, Chang-Chih Meng, Chien-Hua Chen +2LLM SycophancyPolitical Bias in Language Models

  2. How Far Will They Go? Red-Teaming Online Influence with Large Language Models

    May 20, 2026Daniel C. Ruiz, Anna Serbina, Ashwin Rao +2Language Model SteeringLLM Auditing