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

Toward a digital twin of U.S. Congress

Hayden S. Helm, Tianyi Chen, Harvey McGuinness, Paige Lee, Brandon Duderstadt, Carey E. Priebe

Abstract

In this paper we provide evidence that a virtual model of U.S. congresspersons based on a collection of language models satisfies the definition of a digital twin. In particular, we introduce and provide high-level descriptions of a daily-updated dataset that contains every Tweet from every U.S. congressperson during their respective terms. We demonstrate that a modern language model equipped with congressperson-specific subsets of this data are capable of producing Tweets that are largely indistinguishable from actual Tweets posted by their physical counterparts. We illustrate how generated Tweets can be used to predict roll-call vote behaviors and to quantify the likelihood of congresspersons crossing party lines, thereby assisting stakeholders in allocating resources and potentially impacting real-world legislative dynamics. We conclude with a discussion of the limitations and important extensions of our analysis.

Introduction

Digital twins—virtual models that mirror physical systems—are established tools in engineering and medicine, used to simulate everything from jet engines to human hearts. However, creating digital twins for complex social systems like a legislature presents a significant challenge. Generic Large Language Models (LLMs) are "human-like" but often lack the individual idiosyncrasies and specific policy nuances of a particular representative.

This research investigates whether a collection of LLMs, equipped with individualized databases, can satisfy the formal definition of a digital twin: a model that is dynamically updated, possesses predictive capabilities, and informs real-world decisions.

Methodology: Building the Twin

The researchers utilized Meta’s Llama-3-8B-Instruct as the base model. To transform this generic model into a specific congressperson, they employed a pipeline that integrates real-world data with generative capabilities.

Overview of the digital twin pipeline, from data collection to predictive modeling.

To bridge the gap between a generic assistant and a specific politician, the system uses two primary techniques:

  1. Specific System Prompts: Instructing the model to adopt the persona of a specific member of Congress.
  2. Retrieval-Augmented Generation (RAG): When prompted, the system retrieves relevant historical tweets from that specific politician to guide the LLM’s response, grounding the generation in the individual's actual past statements.

To validate the twin, the authors used a Statistical Turing Test based on Fisher’s Linear Discriminant (FLD) to determine if AI-generated tweets could be distinguished from real ones. For predictive modeling, they introduced Data Kernel Perspective Space (DKPS)—a low-dimensional geometric map created by embedding the LLM's responses to specific legislative questions.

Data: The Nomic Congressional Database

A core contribution of this work is the Nomic Congressional Database, a newly introduced, daily-updated dataset. It contains over 3 million X (formerly Twitter) posts and retweets from U.S. Congress members dating back to 2011. This comprehensive archive includes deleted posts and metadata such as party affiliation and state, providing the necessary "memory" for the digital twins to reflect the evolving stances of their physical counterparts.

Key Results

Indistinguishable Generation

The study demonstrates that language serves as a high-fidelity proxy for political behavior. While a generic persona prompt is easily detectable, grounding the model with RAG makes the output nearly indistinguishable from the human counterpart.

Statistical Turing Test results showing that models using both Specific Prompts (S.P.) and RAG produce tweets with distributions closely matching real tweets.

In the Statistical Turing Test, 16 out of 100 digital twins were actually less detectable than a control group consisting of two different sets of real tweets from the same person.

High-Accuracy Vote Prediction

By mapping LLM responses into the DKPS, researchers found that political "distance" can be quantified geometrically. Representatives who vote similarly cluster together in this embedding space. Using this method, the models achieved a median accuracy of 0.87 in predicting individual roll-call votes across 13 different bills, significantly outperforming retrieval-only baselines (0.62).

Quantifying Political "Flipping"

The authors developed a "flip score" to predict which senators are most likely to cross party lines. By measuring the geometric proximity of a Senator’s digital twin to "maverick" House members in the DKPS, they achieved a strong linear correlation ($R^2 > 0.8$) with actual party-crossing behavior, suggesting these models could help stakeholders prioritize communication resources.

Discussion and Limitations

While promising, the current "digital twins" rely heavily on social media data, which may not capture private negotiations. Furthermore, these models are currently "static" and do not yet simulate the complex interpersonal interactions, such as committee debates or "horse-trading," that define legislative work. Future work aims to incorporate C-SPAN transcripts and campaign speeches to create more holistic, multi-modal digital twins.

Summary updated

BibTeX
@inproceedings{helm2026toward,
  author = {Hayden S. Helm and Tianyi Chen and Harvey McGuinness and Paige Lee and Brandon Duderstadt and Carey E. Priebe},
  title = {{Toward a digital twin of U.S. Congress}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.findings-acl.493},
}
Figure