Reading Between the Tokens: Improving Preference Predictions through Mechanistic Forecasting Sarah Ball, Simeon Allmendinger, Niklas Kühl, Frauke Kreuter Abstract Large language models are increasingly used to predict human preferences in both scientific and business endeavors, yet current approaches rely exclusively on analyzing model outputs without considering the underlying mechanisms. Using election forecasting as a test case, we introduce mechanistic forecasting , a method that demonstrates that probing internal model representations offers a fundamentally different—and sometimes more effective—approach to preference prediction. Examining over 24 million configurations across 7 models, 6 national elections, multiple persona attributes, and prompt variations, we systematically analyze how demographic and ideological information activates latent party-encoding components within the respective models. We find that leveraging this internal knowledge via mechanistic forecasting (opposed to solely relying on surface-level predictions) can improve prediction accuracy. The effects vary across demographic versus opinion-based attributes, political parties, national contexts, and models. Our findings demonstrate that the latent representational structure of LLMs contains systematic, exploitable information about human preferences, establishing a new path for using language models in social science prediction tasks. † † affiliationnotice: Equal contribution 1 Introduction Figure 1 : Overview of the proposed mechanistic forecasting method. Persona prompts are mapped to party-aligned latent value-vector activations inside the LLM. These activations are aggregated across personas into party-level preference distributions and compared against real-world survey outcomes. One particularly controversial application of AI is using LLMs for public opinion research and forecasting: instead of surveying humans, one prompts models with synthetic personas and aggregates their responses to approximate population-level preferences ( 3 ; 36 ; 43 ) . This approach appears appealing because LLMs are trained on vast corpora containing countless expressions of political attitudes and social behavior. Yet, existing evidence on whether this works paints a mixed picture ( 3 ; 19 ) . While persona-based LLM predictions can sometimes approximate average survey outcomes, they are often unstable to prompt phrasing, sensitive to alignment and instruction tuning, and uneven across countries, languages, and demographic groups ( 5 ; 36 ) . These limitations raise a fundamental question: if LLMs encode knowledge about human preferences, why does so much of it fail to surface reliably in their outputs? In this paper, we argue that the core bottleneck lies not in the absence of relevant information inside LLMs, but in how this information is elicited. Most existing approaches treat the model’s final output distribution as the sole object of interest, evaluating performance entirely at the surface level ( 5 ; 6 ; 41 ) . We instead reframe LLM-based social simulation as a problem of aggregating latent representations. Drawing on recent advances in mechanistic interpretability, we build on the insight that models often encode richer, more structured knowledge internally than they reveal through generated answers—a phenomenon commonly referred to as latent or hidden knowledge ( 12 ; 23 ) . From this perspective, failures of persona-based predicting may arise when output probabilities collapse or distort internal signals that, in fact, systematically reflect existing real life human preferences. Our empirical results substantiate this view at scale. Analyzing a combinatorial space exceeding 24 million persona configurations across seven model families and six national election contexts, we show that aggregating internal activations tied to political parties frequently yields preference distributions closer to representative real-world survey data than those obtained from next-token probabilities alone. Crucially, these gains are not uniform: whether latent information helps depends on which attributes define the persona and how heterogeneous the corresponding population is. This observation motivates a central focus of our study: understanding how different categories of persona attributes influence forecasting performance. Contributions. First, we introduce mechanistic forecasting , a method that identifies party-aligned value vectors in multi-layer perceptrons (MLPs) and aggregates their persona-induced activations into group-level preference distributions directly comparable to survey data. Second, across models, countries, and parties, we show that LLMs encode substantial latent information about political preferences not reliably expressed in output probabilities, and that exploiting this latent signal often improves party-level forecasts with respect to real-world survey data. Third, we demonstrate systematic differences across persona attribute categories : for many countries, demographic attributes (e.g., age, education, employment) are better captured by latent estimators than by output probabilities, while opinion-based attributes exhibit greater cross-national variation. Fourth, we identify attribute-level entropy of output probability distributions as a simple gating criterion for when mechanistic forecasting should be preferred over probability-based prediction 1 1 1 Our code is available on GitHub . . 2 Related work Using LLMs as substitutes for humans. The advent of LLMs has sparked significant interest regarding their potential to serve as substitutes for human respondents ( 3 ) . This question is especially relevant for survey researchers in the social sciences, who are investigating whether responses generated by LLMs can reliably resemble those provided by humans in surveys ( 3 ; 5 ; 9 ; 25 ; 27 ; 37 ; 40 ) . Similar inquiries have emerged in fields such as market research ( 6 ; 30 ) , annotation tasks ( 35 ; 46 ) , experiments in psychology and economics ( 1 ; 41 ) , and human-computer-interaction ( 15 ; 35 ) , among others. The findings from these investigations are mixed. Some studies suggest that LLMs can reasonably approximate the average outcomes of human surveys ( 3 ; 5 ; 15 ; 35 ; 6 ; 41 ) , while others highlight significant limitations, particularly in their inability to accurately represent the opinions of diverse demographic groups ( 29 ; 37 ; 30 ; 27 ; 9 ) . However, a common limitation across these studies is their focus on surface-level comparisons, e.g., matching LLM output to human survey responses, without delving into the mechanisms by which opinions are encoded and represented within the models’ latent spaces. We address this gap by studying how personas are mapped to preferences, using latent information to improve preference predictions. Hidden knowledge in LLMs. AI models can generate incorrect information, including hallucinations ( 16 ; 44 ) . Research suggests that LLMs’ internal representations encode knowledge about the correctness of generated answers or statements ( 18 ; 4 ; 8 ) , which has led to methods that leverage hidden states to detect and mitigate hallucinations ( 4 ; 8 ; 20 ; 32 ; 45 ) or arithmetic errors ( 34 ) . 12 investigate whether LLMs have more “internal” than “external” knowledge by testing if internal functions rank answers more accurately than external ones. They find strong evidence for hidden knowledge: internal scoring methods outperform external approaches across three LLMs, with 40% average improvement. They use probing classifiers (logistic regression) trained on hidden states to predict answer correctness. Both 12 and 23 demonstrate that hidden states can encode correct answers even when models generate incorrect responses. Our work extends this line of research in two key ways. First, while prior work focuses on binary factual correctness—a verifiable classification task—we examine preference prediction, where ground truth is inherently distributional and contextual rather than objectively determinable. Second, methodologically, we move beyond probing for answer correctness at the level of individual inputs: we identify MLP value vectors that encode party-specific representations and use Monte Carlo aggregation over persona-induced activations to estimate population-level, multivariate voting distributions rather than binary outcomes. This shift from correctness detection to Monte Carlo estimation of distributional preferences represents a conceptually different application of latent states in LLMs. 3 Models and data Model selection. We evaluate a set of base and instruction-tuned LLMs spanning multiple model families and parameter scales, all of which satisfy the white-box requirement necessary for analyzing latent representations. Specifically, we use Llama 3.1 models at 8B parameters in both base and instruction-tuned variants ( 22 ) , Mistral 7B models in base and instruction-tuned form ( 17 ) , Gemma 2 models at 9B parameters with and without instruction tuning ( 28 ) , and the 14B-parameter Qwen 3 model ( 42 ) . This selection covers a diverse set of architectures, training pipelines, and alignment strategies, enabling a systematic comparison of latent preference representations across model families. Real world comparison. In order to compare our model predictions to real data, we use representative cross-sectional election surveys from several countries: United States [2024] ( 2 ) , United Kingdom [2024] ( 11 ) , Canada [2019] ( 33 ) , Germany [2021] ( 13 ) , Netherlands [2021] ( 31 ) , and New Zealand [2020] ( 38 ) . These representative surveys capture insights about citizens’ political attitudes, preferences, and voting behaviours. To obtain a representative comparison baseline, we weight the data with socio-demographic survey weights that align the distributions to the marginal distributions of the respective census data. Personas. We construct synthetic personas by combining established voting predictors from political science with empirically grounded attribute categories taken from representative election surveys, following prior work ( 36 ) . All persona attributes and their values are specified in a country-specific configuration file (cf. Table 1 in Appendix), covering socio-demographics ( age, gender, education, hhincome, employment ), ideological self-placement ( political_orientation ), and issue positions ( immigration, inequality ) as well as the year_of_election . Exemplary persona prompt schemes are shown in Table 2 , Appendix. Probe data. In order to identify MLP value vectors that are related to specific parties, we need to train probes that capture what these parties represent. To do so, we manually compile data containing the political positions of parties from established voting-advice applications across countries. For Germany, we use the “Wahl-O-Mat” ( 7 ) , an online questionnaire consisting of short political statements derived from party manifestos, to which parties provide a categorical stance and an explanatory comment. For the Netherlands, we analogously use data from the StemjWijzer ( 26 ) , and for all remaining countries (United Kingdom, United States, Canada, and New Zealand), we derive comparable party- or candidate-level position data from the Vote Compass ( 39 ) . Across all countries, we manually collected and harmonized data to ensure semantic consistency of statements, responses, and explanations prior to probe training. 4 Introducing mechanistic forecasting Our objective is to characterize how LLMs internally encode synthetic survey responses and how these internal representations relate to observed human preference distributions. Rather than relying on surface-level model outputs, we study the mapping from persona descriptions to party representations within the models’ latent space. Building on recent work in mechanistic interpretability and probing ( 10 ; 14 ; 21 ) , our methodology proceeds in three steps: (i) we identify static MLP value vectors that promote party–related tokens, (ii) we quantify how persona prompts activate these vectors, and (iii) we aggregate these activations into multivariate distributions that are directly comparable to real-world survey data. Figure 1 provides an overview of this pipeline. 4.1 Technical preliminaries We consider an autoregressive transformer with L layers and model dimension d . Let x_{i}^{l}\in\mathbb{R}^{d} denote the residual stream representation at token position i after layer l\in\{0,\dots,L\} , with x_{i}^{0} given by the token and positional embeddings. Each transformer layer consists of a multi-head self-attention (MHA) sublayer and a feed-forward MLP, both connected via residual connections. Ignoring bias terms and layer normalization for brevity, the residual update is given by ( 10 ) : x_{i}^{l+1}=x_{i}^{l}+\mathrm{MLP}^{l}\!\left(x_{i}^{l}+\mathrm{MHA}^{l}(x_{i}^{l})\right),\quad l=0,\dots,L-1. (1) MLP decomposition. Following 14 , we decompose each MLP into two linear maps with an element-wise nonlinearity in between. Let d_{\text{mlp}} denote the hidden width of the MLP. For an input vector x^{l}\in\mathbb{R}^{d} , the MLP computes \mathrm{MLP}^{l}(x^{l})=W_{V}^{l}\,f(W_{K}^{l}x^{l}), (2) where W_{K}^{l}\in\mathbb{R}^{d_{\text{mlp}}\times d} , W_{V}^{l}\in\mathbb{R}^{d\times d_{\text{mlp}}} , and f(\cdot) is a pointwise activation function (e.g. GELU). Defining m^{l}:=f(W_{K}^{l}x^{l})\in\mathbb{R}^{d_{\text{mlp}}}, (3) the MLP output can be written as a linear combination of value vectors . Let v_{i}^{l}\in\mathbb{R}^{d} denote the i -th column of W_{V}^{l} , and let k_{i}^{l}\in\mathbb{R}^{d} denote the i -th row of W_{K}^{l} . Then \mathrm{MLP}^{l}(x^{l})=\sum_{i=1}^{d_{\text{mlp}}}m_{i}^{l}\,v_{i}^{l}=\sum_{i=1}^{d_{\text{mlp}}}f\!\left(\langle k_{i}^{l},x^{l}\rangle\right)v_{i}^{l}. (4) Interpretation as sub-updates. Equation ( 4 ) shows that the MLP update decomposes into a sum of sub-updates , each consisting of a fixed value vector v_{i}^{l} scaled by an input-dependent coefficient m_{i}^{l} . Crucially, the vectors v_{i}^{l} are static model parameters, while all input dependence enters exclusively through the scalars m_{i}^{l} . Effect on token probabilities. Let E\in\mathbb{R}^{|\mathcal{V}|\times d} denote the unembedding matrix, and let e_{t}\in\mathbb{R}^{d} be the row of E corresponding to token t\in\mathcal{V} . Ignoring normalization constants, the probability of generating token t after adding a single sub-update m_{i}^{l}v_{i}^{l} to the residual stream can be written as p(t\mid x^{l}+m_{i}^{l}v_{i}^{l})\;\propto\;\exp\!\left(\langle e_{t},x^{l}\rangle\right)\cdot\exp\!\left(\langle e_{t},m_{i}^{l}v_{i}^{l}\rangle\right). (5) Hence, the contribution of v_{i}^{l} to the logit of token t is additive and proportional to \langle e_{t},v_{i}^{l}\rangle , scaled by m_{i}^{l} . If \langle e_{t},v_{i}^{l}\rangle>0 , increasing m_{i}^{l} raises the probability of token t , whereas \langle e_{t},v_{i}^{l}\rangle<0 suppresses it. Static versus input-dependent components. The inner product \langle e_{t},v_{i}^{l}\rangle depends only on model parameters and is therefore independent of the input. All input-specific effects are mediated through the scalar activation m_{i}^{l}=f(\langle k_{i}^{l},x^{l}\rangle), which depends on the interaction between the residual stream representation x^{l} and the corresponding key vector k_{i}^{l} . This separation allows us to interpret v_{i}^{l} as encoding a direction in representation space that promotes or suppresses specific tokens , while m_{i}^{l} determines how strongly this direction is activated for a given input. 4.2 Constructing probes for identifying party MLP value vectors As shown, MLP updates decompose into sums of input-dependent scaling coefficients applied to static value vectors. This decomposition implies a natural separation between (i) which directions in representation space promote party–related tokens and (ii) how strongly these directions are activated by a given input. Accordingly, our first objective is to identify value vectors whose directions in representation space are predictively aligned with tokens associated with a specific party. Probe training on intermediate representations. We focus on intermediate layers, which are known to encode high-level semantic and conceptual information more strongly than early or final layers that are optimized for next-token prediction ( 24 ) . For each layer l\in[\lfloor 0.5L\rfloor,\lceil 0.9L\rceil] , we define \bar{x}^{l}\in\mathbb{R}^{d} as the mean residual stream over all token positions in the sequence. We use mean pooling over token positions to obtain a sequence-level representation that is invariant to prompt length and surface phrasing. In preliminary analyses, alternative pooling strategies (e.g., first-token) yielded qualitatively similar probe directions. For each party o\in\mathcal{O} , we train a linear probe to predict whether a residual representation corresponds to statements attributed to party o . Following prior mechanistic probing work ( 21 ) , the probe computes a logit z_{o}=W_{n}^{\top}\bar{x}^{l},\qquad W_{o}\in\mathbb{R}^{d}, (6) where \bar{x}^{l} denotes the mean-pooled residual stream at layer l . The predicted probability is given by the logistic sigmoid \hat{y}=\sigma(z_{o})=\frac{1}{1+\exp(-z_{o})}. (7) Probes are trained using a weighted binary cross-entropy loss with logits, \mathcal{L}=-w_{1}\,y\log\sigma(z_{o})-(1-y)\log\!\bigl(1-\sigma(z_{o})\bigr), (8) with y\in\{0,1\} indicating whether the input is associated with party o and w_{1} correcting for class imbalance. Identifying aligned and diametric value vectors. After training, the probe weight vector W_{o} defines a direction in representation space that is predictive of party o . For each layer l and MLP neuron i , we compute the cosine similarity \cos(\theta_{i}^{l})=\frac{\langle W_{o},v_{i}^{l}\rangle}{\|W_{o}\|\,\|v_{i}^{l}\|},\qquad i\in\{1,\dots,d_{\mathrm{mlp}}\}. (9) Let \mathcal{C}^{l}=\{\cos(\theta_{i}^{l})\}_{i=1}^{d_{\mathrm{mlp}}} denote the distribution of cosine similarities in layer l . We compute the empirical first and third quartiles Q_{1}^{l} and Q_{3}^{l} and define the interquartile range \mathrm{IQR}^{l}=Q_{3}^{l}-Q_{1}^{l} . Value vectors are selected if their cosine similarity lies outside a 2.5 -IQR fence. This criterion identifies value vectors whose alignment with the probe is statistically extreme relative to other MLP directions within the same layer, yielding a layer-adaptive, model-scale-invariant selection rule. We further distinguish between probe-aligned vectors \hat{V}_{+}^{n}=\{v_{i}^{l}\in\hat{V}^{n}\mid\cos(\theta_{i}^{l})>0\} (10) and diametric vectors \hat{V}_{-}^{o}=\{v_{i}^{l}\in\hat{V}^{o}\mid\cos(\theta_{i}^{l})<0\}, (11) which respectively promote or suppress party-related evidence, thereby capturing both supportive and diametrically contributions to the latent representation of the probe concept. To ensure that selected value vectors contribute to party token generation, we perform a sign-inversion–based validation. For each v_{i}^{l}\in\hat{V}^{o} , we counterfactually flip the corresponding sub-update in the residual stream by reversing its sign and measure the resulting change in the log-probability of a party token t_{o} : \Delta\log p(t_{o})=\log p(t_{o}\mid x^{l})-\log p(t_{o}\mid x^{l}-2m_{i}^{l}v_{i}^{l}). (12) This sign-inversion criterion provides a necessary condition: a value vector is retained only if its removal decreases the median log-probability of the corresponding party token on a held-out test dataset ( Figure 6 in Appendix). The resulting sets \hat{V}_{+}^{o} and \hat{V}_{-}^{o} represent, respectively, static value vectors that promote and suppress party–related tokens. 4.3 Persona-induced activation of party value vectors To analyze how persona descriptions are mapped to party representations, we construct a controlled set of persona prompts and measure how they activate the party–related value vectors identified in the previous subsection. Persona construction and prompt variation. As described in Section 3 , each persona p\in\mathcal{P} is defined as a combination of socio-demographic and ideological attributes (cf. Table 1 in Appendix). To account for prompt sensitivity, we instantiate each persona using J=10 independently designed prompt templates, yielding a set of prompts \{(p,j):p\in\mathcal{P},\,j\in\mathcal{J}\} , comprising 280,000 persona combinations. Attribute combinations are sampled such that the empirical distribution of personas matches the marginal distributions observed in the corresponding real-world survey, ensuring comparability between synthetic and human data. Measuring value-vector activations. For each prompt (p,j) , we run inference and record, for all layers l and all party–related value vectors v_{i}^{l}\in\hat{V}^{o} , their input-dependent scaling coefficients m_{i,p,j}^{l} . To account for heterogeneous alignment strengths, we weight these activations by their cosine similarity with the party probe: a_{i,p,j}^{l}=m_{i,p,j}^{l}\cdot\cos(\theta_{i}^{l}), (13) where \cos(\theta_{i}^{l}) is defined in Equation 9 . Specifically, activations are normalized within each layer across all personas and prompt variants. Aggregating party activation scores. For each party o , persona p , and prompt variant j , we define an aggregated activation score as A_{p,j}^{o}=\frac{1}{|\hat{V}^{o}|}\sum_{v_{i}^{l}\in\hat{V}^{o}}a_{i,p,j}^{l}, (14) which captures the extent to which persona p activates party–related directions in the model’s latent space. This yields a multivariate activation vector A_{p,j}=(A_{p,j}^{o_{1}},\dots,A_{p,j}^{o_{|\mathcal{O}|}}) for each persona–prompt pair. Group-level aggregation. To study systematic patterns, we aggregate activation vectors across persona attributes. Let k index a persona attribute (e.g., age, employment), and let \mathcal{G}_{k} denote the set of its categorical values. For each category g\in\mathcal{G}_{k} , let \mathcal{P}_{k,g}\subseteq\mathcal{P} denote the subset of personas whose attribute k takes value g . We define the latent activation–based distribution over categories of attribute k as \Psi_{k}=\bigl(\Psi_{k,g}\bigr)_{g\in\mathcal{G}_{k}},\quad\Psi_{k,g}=\mathbb{E}_{p\sim\mathcal{P}_{k,g},\,j\sim\mathcal{J}}\left[A_{p,j}\right], (15) where the expectation is taken with sampling weights that mirror the empirical category frequencies observed in the real-world survey. The resulting vector \Psi_{k} defines a normalized distribution over the categories of attribute k and can be interpreted as a Monte Carlo estimator of the expected latent party activation signal induced by that attribute. These attribute-level distributions form the basis for our comparison between latent activation-based representations and real-world surveys. Figure 2 : Win-rates by model and country comparing mechanistic forecasting ( \Psi_{g}^{\text{latent}} ) and probability-based ( \Psi_{g}^{\text{prob}} ) preference distributions against survey data ( \Psi_{g}^{\text{survey}} ). 4.4 Distributional comparison between LLMs and survey data To compare latent activation-based distributions with real-world surveys, we operate on attribute-level party distributions \Psi_{k} defined in Equation 15 . For each attribute k and party o , we construct three normalized distributions: (i) \Psi_{k}^{\text{latent}} , derived from value-vector activations, (ii) \Psi_{k}^{\text{prob}} , derived from next-token probabilities, and (iii) \Psi_{k}^{\text{survey}} , derived from weighted survey responses. Choice of distance metrics. We compare these distributions using two complementary metrics, selected according to the structure of the persona attribute. For nominal attributes (e.g., gender or education), we use the Jensen–Shannon (JS) distance D_{\mathrm{JS}}(P,Q) , which is symmetric, bounded, and well-defined for empirical distributions. For ordinal attributes with a natural ordering (e.g., age or income), we use the first Wasserstein distance D_{\mathrm{W}}(P,Q) . Unlike JS distance, Wasserstein distance accounts for the magnitude of shifts along the attribute axis, penalizing mass transport proportionally to its distance. Evaluation protocol. For each persona attribute k , party o , model, and country, we compare attribute-level preference distributions derived from LLMs and survey data. Specifically, we compute D_{k}^{\text{latent}}=D\!\left(\Psi_{k}^{\text{latent}},\Psi_{k}^{\text{survey}}\right),\quad D_{k}^{\text{prob}}=D\!\left(\Psi_{k}^{\text{prob}},\Psi_{k}^{\text{survey}}\right), (16) where D(\cdot,\cdot) denotes the distance metric appropriate for the attribute type. We define the distance difference as \Delta_{k}=D_{k}^{\text{prob}}-D_{k}^{\text{latent}}. (17) A latent activation-based estimation is said to achieve an attribute-level win if \Delta_{k}>0 . Win-rates are computed as the proportion of attributes k for which this condition holds, evaluated separately by model, country, and party (see Figure 7 for the distribution of \Delta_{k} in the Appendix). 5 Results In the following, we first discuss the characteristics of the political party probes that we trained ( Section 5.1 ). We then compare the performance of mechanistic forecasting against probability-based estimation across models and countries ( Section 5.2 ). While this comparison demonstrates that mechanistic forecasting can improve voting-outcome predictions in many countries, we analyze political party-level ( Section 5.3 ) and attribute-level differences ( Section 5.4 ) to understand the specific patterns driving cross-national variation. These analyses help practitioners understand when mechanistic forecasting serves as a beneficial complement to probability-based estimation. Figure 3 : Party-level estimation error for estimating conditional vote shares. Each point shows the median absolute error in estimating P(\text{party}\mid\text{category}) relative to survey benchmarks, with offsets indicating different models. Green points highlight the potential gains achievable by choosing mechanistic forecasting estimates when they outperform probability-based estimations. 5.1 Probes capture political party associations A prerequisite for mechanistic forecasting is that probes reliably identify party-associated structure in the model’s internal representations. Across all our value probes, we achieve strong generalization performance on held-out test data: Probe F1 scores consistently exceed 96\% on a 10\% hold-out split. Party associations are illustrated by projecting the identified value vectors into vocabulary space and inspecting the highest–cosine-similarity tokens (see Table 3 , Appendix). 5.2 Mechanistic forecasting improves predictions across models and countries Figure 2 provides an overview of win-rates for each model by country. While performance varies across models and national contexts, the results consistently show that estimations of persona preferences derived from mechanistic forecasting distributions ( \Psi_{g}^{latent} ) can be leveraged to more closely predict real-world survey outcomes ( \Psi_{g}^{survey} ) than estimations based on final output token probabilities ( \Psi_{g}^{prob} ). If we compare across fine-tuned to base model versions, we observe that the win-rates increase even further for most countries and across models, indicating that the alignment process shifts estimations away from real-world survey predictions, making our latent approach more efficient. To examine the sources of these cross-country differences, we analyze party-level estimation errors next. 5.3 Political party differences Figure 3 reports party-level estimation error for estimating party vote shares conditional on persona categories. Specifically, we evaluate the absolute error in predicting P(\text{party}\mid\text{category}) , comparing LLM-based estimates to survey benchmarks. These errors correspond to party-wise marginal projections of the attribute-level distributions \Psi_{k} used in our distributional evaluation. Each point corresponds to an LLM-based estimation aggregated over Monte Carlo samples, with separate offsets indicating different models and thus distinct induced probability distributions. Across parties and models, estimation error varies substantially, reflecting heterogeneity in how well party-specific vote shares can be recovered from persona information. The dispersion of points illustrates that mechanistic forecasting yields systematically different outcomes, even when targeting the same party–category relationship. Importantly, for a subset of categories, mechanistic forecasting estimates—derived from Monte Carlo aggregation over party-aligned latent activations induced by sampled personas—produce predictions that are closer to survey outcomes than those obtained from next-token probability–based estimates alone. These potential improvements are highlighted by the green points, which indicate reduced absolute error relative to probability-based baselines. Three patterns emerge: First, for nearly all investigated parties and models, there exist mechanistic forecasting estimators that improve party-share predictions for at least some categories. Second, overall error levels are broadly comparable across models, suggesting similar aggregate performance despite architectural and training differences. Third, the contribution of latent information becomes increasingly variable as estimation error grows, indicating that latent signals matter most for parties that are harder to predict from probabilities alone. 5.4 Persona attribute differences Figure 4 : Latent win-rates by persona attribute and country, aggregated across models. Each bar reports the fraction of cases in which mechanistic forecasting is closer to survey estimates of category shares conditional on party than probability-based estimations. Figure 4 compares mechanistic forecasting estimators and probability-based estimators across persona attributes and countries, aggregated over models. Two systematic patterns emerge: First, latent aggregation yields the largest and most consistent gains for demographic attributes , particularly in the United States and the United Kingdom. Age, education, and employment exhibit high win-rates in both countries, indicating that demographic information is more reliably recovered from latent representations than from surface-level output probabilities. Household income shows more heterogeneous behavior, with strong improvements in Canada and mixed performance in the United States. In contrast, demographic attributes are less well captured in New Zealand, while Germany and the Netherlands exhibit comparatively uniform performance across demographic categories. Second, opinion-based attributes display greater cross-national variation. Latent gains for political orientation are strongest in the United Kingdom but substantially weaker in the Netherlands. For issue positions, Germany shows comparatively low win-rates for immigration despite strong demographic performance, whereas New Zealand exhibits the opposite pattern, with higher gains for immigration and inequality stance. These differences suggest that the usefulness of mechanistic forecasting for opinion-based attributes depends strongly on how explicitly such dimensions are expressed in surface-level predictions within each national context. Overall, mechanistic forecasting improves attribute-level preference estimation in many settings, but its benefits are selective rather than uniform. Attributes that encode politically relevant information in a diffuse manner (notably demographics) benefit most from latent representations, while attributes that are already salient at the output level exhibit more variable gains across countries (cf. Table 1 in Appendix). 5.5 Entropy and predictive performance A central question raised by our results is when mechanistic forecasting should be preferred over probability-based estimations. While the existence of exploitable latent structure is informative in itself, its practical relevance depends on identifying settings in which latent estimators provide systematic advantages. Our analyses suggest that attribute-level heterogeneity provides a useful criterion. Specifically, we find that mechanistic forecasting estimators are most effective for persona attributes with high normalized entropy, where no single category dominates, and accurate prediction requires aggregating weak but distributed signals. This effect is particularly pronounced for instruction-tuned models, for which surface-level output probabilities tend to concentrate mass on a small subset of categories. To formalize this intuition, we estimate a regression model in which the outcome is the attribute-level distance difference \Delta_{k} , focusing on cases with \Delta_{k}>0 . We relate \Delta_{k} to the normalized entropy of attribute-level probability distributions induced by LLM outputs and selectively evaluate mechanistic forecasting estimations only for attributes with normalized entropy exceeding 0.85 . Figure 5 shows the resulting median improvement in prediction error, reported separately by attribute and model. Across attributes, entropy-gated filtering reveals consistent gains from mechanistic forecasting estimation, with improvements emerging most clearly in high-entropy regimes where probability-based estimations are least informative. Importantly, these results do not imply that latent estimators universally dominate probability-based approaches. Rather, they indicate that latent representations provide more reliable estimates of conditional distributions—such as P(\text{category}\mid\text{party}) —precisely when surface-level probabilities are diffuse and uncertain. In low-entropy settings, where probability-based estimations already concentrate mass on a small number of categories, gains from latents are correspondingly limited. Figure 5 : Median probability-based estimation error and corresponding improvement from substituting mechanistic forecasting estimates for category–given–party probabilities, evaluated on high-entropy attributes ( >0.85 ). Green indicates error reduction, red indicates increased error, and gray indicates no change. 6 Discussion and conclusion Our results suggest that a limiting part of existing LLM-based preference prediction methods lies not in the absence of relevant information, but in how this information is elicited . Across models, countries, and persona attributes, we find that latent representations encode systematic signals about political persona preferences that are often distorted or suppressed in surface-level output probabilities. By aggregating political party-aligned latent activations, our suggested method of mechanistic forecasting extends preference prediction from a prompting problem to a representation-aware estimation problem. This shift has implications beyond the electoral setting studied here, highlighting the gain of leveraging internal model structure when LLMs are used to estimate collective human preferences. When and why latents can help. The gains from mechanistic forecasting are not uniform. We observe the greatest improvements for demographic attributes and in high-entropy settings where output probabilities are diffuse and unstable. In contrast, for low-entropy attributes, mechanistic forecasting offers limited additional benefit. These patterns suggest that latent signals function as weak but distributed indicators that become informative when surface probabilities collapse or overconcentrate, particularly in instruction-tuned models. From a practical perspective, this implies that mechanistic forecasting should be applied selectively and guided by diagnostic indicators such as attribute-level entropy. Interpreting latent preference signals. Importantly, our findings do not imply that LLMs “hold” preferences or beliefs. Latent activations reflect learned statistical associations between persona attributes and political outcomes encoded during training, rather than normative or causal judgments. Compared to output probabilities, latent activations retain weak but distributed internal associations that become informative under Monte Carlo aggregation, particularly in high-entropy settings where surface-level probability estimates are more diffuse. We therefore view latent and surface-level signals as complementary: output probabilities often capture sharp, alignment-driven predictions, while latent activations can preserve distributed internal evidence that would otherwise be lost at the decoding stage. Implications for social science applications. From a social science perspective, mechanistic forecasting should be understood as a complementary tool rather than a substitute for surveys. Traditional surveys remain essential for capturing preferences of underrepresented populations or in high-stakes decisions requiring precise measurement. However, when used responsibly, mechanistic forecasting offers a novel way to extract population-level signals if practitioners turn to LLMs for predicting human preferences. Limitations and broader implications. Our approach requires white-box access to model internals and computational resources to train probes, limiting its applicability in some settings. In addition, our analysis relies on a local, first-order approximation of MLP contributions to token logits, which may miss higher-order interactions introduced by normalization and residual composition across layers. Despite these limitations, the methodological framework we develop is applicable beyond elections: any domain with structured, categorical preferences—including consumer choice, values or policy attitudes—can in principle benefit from similar latent-based aggregation. More broadly, our results position social science prediction as a challenging testbed for interpretability methods, extending prior work on hidden knowledge from binary factual correctness to complex, distributional outcomes. Understanding when and how internal representations support reliable aggregation remains an important direction for future research. Impact Statement This paper presents work whose goal is to advance the field of Machine Learning. There are many potential societal consequences of our work, none which we feel must be specifically highlighted here. Appendix A Further information on constructed personas and attributes Table 1 : Persona attributes and characteristics ATTRIBUTE ENGLISH GERMAN DUTCH SCALE Age younger than 20; 20–29; 30–39; 40–49; 50–59; 60–69; 70+ jünger als 20; 20–29; 30–39; 40–49; 50–59; 60–69; älter als 70 jonger dan 20; 20–29; 30–39; 40–49; 50–59; 60–69; ouder dan 70 ordinal Gender male; female männlich; weiblich mannelijk; vrouwelijk nominal Education no qualification; high school; college; university degree kein Abschluss; Hauptschule; Realschule; Abitur; Hochschulabschluss basisonderwijs; beroepsopleiding; havo/vwo; hbo/universiteit ordinal Household income low; middle; high niedrig; mittel; hoch laag; gemiddeld; hoog ordinal Employment working; in training; student; retired; not working berufstätig; in Ausbildung; nicht berufstätig werkzaam; in opleiding; gepensioneerd; niet werkzaam nominal Political ideology strongly right; center-right; center; center-left; strongly left stark rechts; rechts der Mitte; Mitte; links der Mitte; stark links sterk rechts; rechts van het midden; midden; links van het midden; sterk links ordinal Immigration stance fewer; same; more; agree; disagree einschränken; weder noch; erleichtern eens; niet eens ordinal Inequality stance disagree; neutral; agree dagegen; unentschlossen; dafür tegen; onbeslist; voor ordinal Table 2 : Exemplary prompt schemes of different countries INDEX UNITED STATES NETHERLANDS GERMANY 1 I am { age } years old and { gender } . I have { education } , my household income is { hhincome } , and I am { employment } . Ideologically, I lean towards { political_orientation } . On immigration and inequality, my views are { immigration } and { inequality } . If elections were held in { year_of_election } , which party would I vote for? I vote for the party … Ik ben age jaar en { gender } . Ik heb { education } gevolgd, mijn netto maandinkomen is { hhincome } en ik ben { employment } . Ideologisch neig ik naar de positie { political_orientation } . Ik ben het { immigration } met de stelling dat mijn gemeente opvang moet bieden aan asielzoekers als dat nodig is en ik ben { inequality } ten aanzien van overheidsmaatregelen om inkomensverschillen te verkleinen. Als er { year_of_election } verkiezingen zouden zijn, op welke partij zou ik dan stemmen? Ik stem op de partij… Ich bin { age } Jahre alt und { gender } . Ich habe { education } , mein monatliches Nettoeinkommen im Haushalt ist { hhincome } und ich bin { employment } . Ideologisch neige ich zur Position { political_orientation } . Ich denke, die Regierung sollte den Zuzug von Ausländern { immigration } und bin { inequality } in Bezug auf staatliche Maßnahmen zur Verringerung von Einkommensunterschieden. Wenn { year_of_election } Wahlen wären, für welche Partei würde ich stimmen? Ich wähle die Partei… 2 I believe the number of immigrants from foreign countries who are permitted to come to the United States to live should be { immigration } and I { inequality } that the government should see to jobs and standard of living. Ideologically, I lean toward the { political_orientation } position. I have { education } , my household’s monthly net income is { hhincome } , and I am { employment } . I am { age } years old and { gender } . If there were elections { year_of_election } , which party would I vote for? I vote for the party… Ik ben het { immigration } met de stelling dat mijn gemeente opvang moet bieden aan asielzoekers als dat nodig is en ik ben { inequality } ten aanzien van overheidsmaatregelen om inkomensverschillen te verkleinen. Ideologisch neig ik naar de positie { political_orientation } . Ik heb { education } gevolgd, mijn netto maandinkomen is { hhincome } en ik ben { employment } . Ik ben { age } jaar en { gender } . Als er { year_of_election } verkiezingen zouden zijn, op welke partij zou ik dan stemmen? Ik stem op de partij… Ich denke die Regierung sollte den Zuzug von Ausländern { immigration } und bin { inequality } in Bezug auf staatliche Maßnahmen zur Verringerung von Einkommensunterschieden. Ideologisch neige ich zur Position { political_orientation } . Ich habe { education } , mein monatliches Nettoeinkommen im Haushalt ist { hhincome } und ich bin { employment } . Ich bin { age } Jahre alt und { gender } . Wenn { year_of_election } Wahlen wären, für welche Partei würde ich stimmen? Ich wähle die Partei… 3 In terms of age, I am { age } and my gender is { gender } . I have { education } , my monthly household net income is { hhincome } , and I am { employment } . Politically, I lean toward the { political_orientation } position. When asked about immigration, I say the number of immigrants permitted to the US should be { immigration } . Also, I { inequality } when it comes to whether the government should see to jobs and standard of living. Which party would I choose in an election in { year_of_election } ? I choose the party… Wat betreft mijn leeftijd ben ik { age } jaar en mijn geslacht is { gender } . { education } heb ik gevolgd, mijn netto maandinkomen is { hhincome } , en ik ben { employment } . Politiek gezien neig ik naar de positie { political_orientation } . Als men mij vraagt naar mijn mening over immigratie, ben ik het [eens/niet eens] met de uitspraak dat mijn gemeente indien nodig opvang moet regelen voor asielzoekers. Daarnaast ben ik { inequality } over de vraag of de overheid maatregelen moet nemen om inkomensverschillen te verkleinen. Voor welke partij zou ik kiezen bij een verkiezing in { year_of_election } ? Ik kies de partij… Bezogen auf mein Alter bin ich { age } und mein Geschlecht ist { gender } . { education } habe ich, mein monatliches Haushaltsnettoeinkommen ist { hhincome } , und ich bin { employment } . Politisch gesehen neige ich zur Position { political_orientation } . Fragt man mich zu meiner Meinung bezüglich Immigration, sage ich, dass man sie { immigration } soll. Außerdem bin ich { inequality } was die Frage angeht, ob die Regierung Maßnahmen ergreifen sollte, um die Einkommensunterschieden zu verringern. Für welche Partei würde ich mich bei einer Wahl im Jahr { year_of_election } entscheiden? Ich wähle die Partei… Appendix B Further information on value probes and value vectors (a) Labour Party (UK), Gemma 2–9B (b) Socialistische Partij (NL), Llama 3.1–8B-Instruct Figure 6 : Cosine similarity distributions between party probes and MLP value vectors after sign-inversion-based validation. Subfigure (a) shows results for the Labour Party (United Kingdom) using Gemma 2–9B, while subfigure (b) shows results for the Socialistische Partij (Netherlands) using Llama 3.1–8B-Instruct. Each distribution depicts cosine similarities \cos(\theta_{i}^{l}) between the party probe weight vector W_{o} and MLP value vectors v_{i}^{l} across layers. Boxplots indicate the interquartile-range used to identify statistically extreme probe-aligned ( \cos(\theta_{i}^{l})>0 ) and diametric ( \cos(\theta_{i}^{l})<0 ) value vectors. Across both panels, a large concentration of selected value vectors appears in earlier layers, typically around one half to two thirds of the total number of layers. Only value vectors whose sign inversion decreases the median log-probability of the corresponding party token are retained for mechanistic forecasting. Table 3 : Top tokens of value probe and value vectors for Qwen3-14B model. MODEL PARTY / CANDIDATE TOP VALUE PROBE TOKENS TOP VALUE VECTOR TOKENS Qwen3-14B Conservative Party of Canada “åĪ»”, “ĠHyde”, “ĠCOPYING”, “htag”, “娱ä¹IJåľĪ” “icles”,“ellation”,“nect”,“apult”,“ushman” Qwen3-14B Bloc Quebecois “_translate”,“.Translate”,“éģ·”,“ĠBras”,“Ġfavor” “æ³ķåĽ½”,“ulaire”,“ĠFrance”,“(nb”,“France” Qwen3-14B Liberal Party of Canada “reta”,“çłģ”,“æ¾¹”,“æĥħ人”,“CM” “raries”,“itud”,“RARY”,“rador”,“ngth” Qwen3-14B Alternative für Deutschland “lag”,“Ġrooting”,‘ĠAssad”,“_STORE”,“deps” “uated”,“uated”,“rog”,“ĠhÆ°á»Łng”,“irá” Qwen3-14B Sozialdemokratische Partei Deutschlands “mine”,“mpi”,“ĠShapiro”,“onto”,“mate” “aneously”,“æŁĶ”,“itize”,“åĴª”,“andard” Qwen3-14B Christlich Demokratische Union “åĺİ”,“ä½Ī”,“龸”,“è¾īçħĮ”,“æģŃæķ¬” “å¸ħ”,“岸”,“ç»Ļ她”,“ç»§ç»Ńä¿ĿæĮģ”,“ÑĶ” Qwen3-14B Bündnis 90/Die Grünen “åıijèµ·”,“elor”,“次”,“issan”,“é«Ń” “clé”,“åħ¼èģĮ”,“é©·”,“fühl”,“æĤ²” Qwen3-14B Die Linke “ä¸įå®Į”,“æ°¸ä¹ħ”,“æĺĶ”,“Ñħ”,“å»Ĭ” “Ġleft”,“å·¦”,“ĠLeft”,“ĠLEFT”,“left” Qwen3-14B Freie Demokratische Partei “åĬ²”,“holm”,“æĿ¥ä¸įåıĬ”,“ç¼°”,“éĢļ车” “ĠLauderdale”,“ĠFridays”,“(F”,“çľĹ”,“íĻĺ” Qwen3-14B GroenLinks-PvdA “ainer”,“ĠZam”,“迳”,“åŃ©”,“/std” “presso”,“ç«ĻçĿĢ”,“çĶ¨äºº”,“天涯”,“åĵĪ” Qwen3-14B Partij voor de Vrijheid “Ġliberty”,“jej”,“çļĦæĺ¯”,“alytics”,“à´±” “ners”,“icipants”,“icipant”,“icipation”,“ite” Qwen3-14B Volkspartij voor Vrijheid en Democratie “大åİħ”,“é¹Ń”,“åĹĵ”,“çİĩåħĪ”,“icles” “achts”,“robe”,“lung”,“ipeg”,“atile” Qwen3-14B Socialistische Partij “æĹĹå¸ľ”,“è¿ĺæĥ³”,“åIJĿ”,“иÑĩеÑģкаÑı”, “ĠZucker” “段æĹ¶éĹ´”,“اذ”,“ç»Ī”,“åľ°ä¸Ĭ”,“è´” Qwen3-14B Democraten 66 “å¼ĢéĺĶ”,“COPE”,“gly”,“Ġnod”,“å¤Ħå¤Ħ” “ials”,“ĠWithEvents”,“çĶŁäº§æĢ»å̼”,“iating”,“iates” Qwen3-14B Forum voor Democratie “ncy”,“atics”,“æľīç͍çļĦ”,“Ent”,“è¹Ĵ” “ĠLauderdale”,“ĠFridays”,“(F”,“çľĹ”,“íĻĺ” Qwen3-14B National Party “çı¥”,“ĠTerms”,“Ġreb”,“åĩı”,“ĠQatar” “ê¹IJ”,“utilus”,“avigator”,“omencl”,“agra”, Qwen3-14B Labour Party “æ±Łä¸ľ”,“ĠMarxist”,“RARY”,“Marshal”,“uds” “Ġsocialist”,“社ä¼ļ主ä¹ī”,“éĿ©åij½”,“ĠSocialist”, “Ġsocialism” Qwen3-14B ACT New Zealand “è§”,“å°ıå¾®”,“çijŁ”,“/about”,“çĦ¶æĺ¯” “fest”,“/the”,“ĠJR”,“笨”,“åĬĽåѦ” Qwen3-14B Green Party “ç®±åŃIJ”,“(er”,“éĹ¾”,“ä¸į说”,“ĠPoz” “ëģĶ”,“antt”,“Ġrid”,“keepers”,“keeper” Qwen3-14B Labour Party “é»»”,“rack”,“oping”,“ennie”,“饲” “hound”,“Ø¡”,“ĠÙģÙī”,“ORK”,“ĠاÙĦذÙī” Qwen3-14B Reform UK Party “å”,“ĠPitch”,“é£İæļ´”,“наÑĤ”,“æķĸ” “fest”,“/the”,“ĠJR”,“笨”,“åĬĽåѦ” Qwen3-14B Conservative Party “ç²ī”,“omi”,“æľī害”,“.Closed”,“ption” “ĠCorner”,“ucker”,“Ġnors”,“appa”,“主ä¹īæĢĿæĥ³” Qwen3-14B Liberal Democrat Party “身å¤Ħ”,“æĿ°åĩº”,“èĩªæĿ¥”,“伤å¿ĥ”,“غÙĪ” “raries”,“itud”,“RARY”,“rador”,“ngth” Qwen3-14B Kamala Harris “rf”,“åŁł”,“rv”,“clip”,“ĠAlta” “Ġleft”,“å·¦”,“ĠLeft”,“ĠLEFT”,“left” Qwen3-14B Donald Trump “çªĹå¤ĸ”,“edic”,“sdale”,“éĺ²çº¿”,“禾” “çļĦ妻åŃIJ”,“Ġhimself”,“åijĬè¯ī她”,“/she”,“ãģıãĤĵ” Appendix C Further information on distance differences Figure 7 : Distribution of distance differences across models and countries. Boxplots show the attribute-level distance difference \Delta_{k}=D_{k}^{\text{prob}}-D_{k}^{\text{latent}} for each model-country pair, aggregated over persona attributes and parties. Positive values indicate cases where latent activation-based distributions are closer to survey benchmarks than probability-based estimates. The dashed horizontal line marks \Delta_{k}=0 , separating latent wins from probability wins; colors denote countries.