Reading Between the Tokens: Improving Preference Predictions through Mechanistic Forecasting

Sarah Ball, Simeon Allmendinger, Niklas Kühl, Frauke Kreuter · DOI

TL;DR

LLMs often "know" more about human preferences than they reveal in their text outputs. By probing internal activations (specifically MLP value vectors) instead of just looking at next-token probabilities, researchers can more accurately predict real-world voting behavior across diverse demographics. This "mechanistic forecasting" approach bypasses the distortions often introduced by instruction tuning and prompt sensitivity.

What Problem Does This Paper Address?

In recent years, social scientists have begun using LLMs as "silicon samples"—simulating thousands of synthetic personas (e.g., "I am a 40-year-old teacher from Ohio...") to forecast elections or public opinion. However, this approach has a major flaw: it relies entirely on "surface-level" outputs.

The final text an LLM generates is the result of a massive "probability collapse" where complex internal representations are squeezed into a single token. These outputs are notoriously finicky—highly sensitive to how a question is phrased and often biased by the "alignment" process (RLHF) intended to make models helpful and harmless. The authors ask: if LLMs encode vast amounts of human social data, is there a better way to extract it than just asking the model to vote?

Methods

The authors introduce Mechanistic Forecasting, a three-step framework that treats social simulation as an aggregation of internal latent states rather than text generation:

  1. Identifying Party Vectors: Using "white-box" access to models, they train linear probes on data from voting-advice applications (like Germany’s Wahl-O-Mat). This identifies specific "value vectors" within the model's Multi-Layer Perceptrons (MLPs) that correspond to specific political parties.
  2. Measuring Latent Activation: Instead of looking at the output, they measure how much a specific persona prompt (e.g., age, income, ideology) activates these party-aligned vectors.
  3. Monte Carlo Aggregation: They simulate millions of persona configurations and aggregate these internal activations into a multivariate distribution. This creates a "latent" prediction of how a demographic group would vote.

To ensure these internal vectors actually matter, they used sign-inversion validation: counterfactually flipping the sign of the vector to see if it actually changed the model's output probability for a party name.

Datasets

The study is massive in scope, examining over 24 million configurations:

  • Models: 7 model families including Llama 3.1 (8B), Mistral 7B, Gemma 2 (9B), and Qwen 3 (14B), covering both base and instruction-tuned versions.
  • Real-World Benchmarks: Representative election surveys from six countries: USA (ANES), UK (BES), Canada (CES), Germany (GESIS), Netherlands (LISS), and New Zealand (NZES).
  • Probe Data: Manually compiled party positions from Vote Compass and other national voting-advice tools.
  • Personas: 280,000 unique combinations of socio-demographic attributes (age, gender, education, etc.) and ideological stances.

Key Insights and Ideas

  • The "Hidden Knowledge" Phenomenon: Models often maintain a more accurate internal map of human preferences than they are willing to "say." This is especially true for instruction-tuned models, where the alignment process often shifts surface-level predictions away from representative real-world data.
  • Demographics vs. Opinions: Mechanistic forecasting is significantly better at capturing demographic signals (age, education, employment). These attributes are often "diffuse" in the model's weights. Conversely, explicit opinions (e.g., "I strongly disagree with immigration") are already salient at the surface level, so the latent approach offers less of a boost there.
  • Entropy as a Gating Signal: The authors found that mechanistic forecasting is most effective when the model's output probability is "high-entropy"—meaning the model is uncertain or the distribution is flat. In these "messy" scenarios, looking at the internal activations provides a much clearer signal.

Key Results

  • Improved Accuracy: Across most countries and models, the latent activation-based distributions were closer to real-world survey benchmarks than the standard probability-based predictions.
  • Robustness to Tuning: While instruction tuning often degrades the accuracy of surface-level social predictions, the internal "mechanistic" knowledge remains remarkably stable and accurate.
  • High Probe Reliability: The probes identified party-associated structures with F1 scores consistently exceeding 96%, proving that political identity is a primary axis in the latent space of modern LLMs.

Limitations and Future Work

The primary limitation is that this method requires white-box access to the model's internal weights and activations. You cannot perform mechanistic forecasting on proprietary models like GPT-4 or Claude via an API; it requires open-weights models like Llama or Mistral.

Methodologically, the authors rely on a "first-order approximation" of how MLP layers contribute to the final output, which might miss more complex, non-linear interactions between layers. Future work could extend this beyond politics to other domains of human preference, such as consumer behavior or ethical decision-making, and explore how these latent signals evolve during a model's pre-training.

Summary updated

BibTeX
@inproceedings{ball2026reading,
  author = {Sarah Ball and Simeon Allmendinger and Niklas Kühl and Frauke Kreuter},
  title = {{Reading Between the Tokens: Improving Preference Predictions through Mechanistic Forecasting}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=TJvRtbspej},
}
Figure