NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Artificially Intelligent Opinion Polling

Roberto Cerina, Raymond DucharXiv 2023 · DOI

Abstract

We seek to democratise public-opinion research by providing practitioners with a general methodology to make representative inference from cheap, high-frequency, highly unrepresentative samples. We focus specifically on samples which are readily available in moderate sizes. To this end, we provide two major contributions: 1) we introduce a general sample-selection process which we name online selection, and show it is a special-case of selection on the dependent variable. We improve MrP for severely biased samples by introducing a bias-correction term in the style of King and Zeng to the logistic-regression framework. We show this bias-corrected model outperforms traditional MrP under online selection, and achieves performance similar to random-sampling in a vast array of scenarios; 2) we present a protocol to use Large Language Models (LLMs) to extract structured, survey-like data from social-media. We provide a prompt-style that can be easily adapted to a variety of survey designs. We show that LLMs agree with human raters with respect to the demographic, socio-economic and political characteristics of these online users. The end-to-end implementation takes unrepresentative, unsrtuctured social media data as inputs, and produces timely high-quality area-level estimates as outputs. This is Artificially Intelligent Opinion Polling. We show that our AI polling estimates of the 2020 election are highly accurate, on-par with estimates produced by state-level polling aggregators such as FiveThirtyEight, or from MrP models fit to extremely expensive high-quality samples.

Introduction

Traditional public opinion polling is facing a dual crisis of plummeting response rates and escalating costs. High-quality random-digit dialing (RDD) surveys, once the gold standard, are now prohibitively expensive, while social media offers a "cheap, high-frequency" alternative that is notoriously unrepresentative. Twitter users, for instance, do not represent a random cross-section of the electorate, often residing in political silos that skew raw data.

This research introduces Artificially Intelligent Opinion Polling, a pipeline that bridges the gap between unstructured "digital traces" and representative public opinion. By combining Large Language Model (LLM) annotation with a novel bias-corrected statistical framework, we demonstrate that it is possible to generate high-quality estimates at a fraction of the cost of traditional methods.

Methodology: LLM-Based Feature Extraction

The first challenge in utilizing social media data is transforming unstructured text—bios and tweets—into structured survey variables. We utilized gpt-3.5-turbo to analyze a corpus of 492,539 unique Twitter users from the 2020 US Election. The model was prompted to classify users into demographic (age, race, income) and political (2020 vote intention) categories.

To ensure data integrity, we implemented a randomized prompt structure to mitigate "auto-regressive bias," where the order of questions might influence the LLM's output. Validation against human raters via Amazon Mechanical Turk (AMT) showed significant agreement, measured by Krippendorff’s alpha, across key variables. Notably, the LLM outperformed human raters in predicting voter turnout, suggesting that digital traces contain latent signals of intent that AI can effectively decode.

Structured post-stratification frame showing demographic and political variables extracted for weighting.

Statistical Framework: Bias-Corrected MrP

Once structured data is obtained, the primary hurdle is selection bias. We define "online selection" as a special case of selection on the dependent variable. To address this, we modified the standard Multilevel Regression and Post-stratification (MrP) model by introducing a bias-correction term (an "offset") based on the work of King and Zeng.

By utilizing national polling averages from sources like FiveThirtyEight as a "prior" for population prevalence, we mathematically adjust the regression intercept. This allows the model to account for the over-representation of specific groups (e.g., highly active political partisans) on social media platforms. The model incorporates a wide array of predictors at the individual, state, and day levels to ensure robust sub-national estimates.

Summary of predictors and prior correlation structures used in the bias-corrected MrP model.

Key Results and Performance

The AI polling methodology was validated against the 2020 US Election results and compared to elite aggregators. Key findings include:

  • High Accuracy: The model achieved a Republican-Democrat (R-D) margin error of only 0.05, matching the performance of FiveThirtyEight.
  • Strong Correlation: We observed a 0.99 Pearson correlation with actual state-level election results, outperforming models fit to raw, unweighted American National Election Study (ANES) data.
  • Extreme Cost-Efficiency: While traditional high-quality interviews can cost upwards of $70 per respondent, the LLM-based annotation costs less than $0.01 per respondent—a reduction of three orders of magnitude.

Discussion and Limitations

While AI polling offers a democratizing path for public opinion research, several limitations remain. The methodology currently relies on human expertise for variable selection, as automated methods like horseshoe priors have yielded weaker results. Furthermore, the reliance on platform APIs makes the methodology vulnerable to changes in data access policies.

Future research will explore the potential of multimodal AI to extract signals from images and videos on platforms like Instagram and TikTok, and will test the framework on "live" upcoming elections to ensure that the LLM's performance is not influenced by its training data cutoff.

Summary updated

BibTeX
@misc{cerina2023artificially,
  author = {Roberto Cerina and Raymond Duch},
  title = {{Artificially Intelligent Opinion Polling}},
  year = {2023},
  eprint = {2309.06029},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.06029},
}
Figure