TRANSMISSION // 2612.01493v1
Reading the hidden paths behind political speeches
Source published
A preprint proposes measuring how an AI model processes text internally instead of assigning documents preset labels. Its parliamentary-speech example reports patterns that depend on the measurement method, but does not establish a uniquely correct account.

When researchers do not know in advance which categories matter, asking an AI to sort texts into fixed groups may shape what they find. A new preprint proposes comparing the model’s internal activity as it answers the same analytical prompt about each document.
A different way to measure what texts are about
Researchers often use large language models (LLMs) to sort documents into categories—for example, to label a speech as left- or right-wing. That can be useful when the categories are established. But when the goal is to explore patterns not specified beforehand, a fixed classification scheme may steer the analysis toward the researcher’s assumptions.
Francesco Corielli’s preprint proposes another approach, called Prompt-Induced Residual Trajectory (PIRT) measurement. Instead of treating the model’s written answer as the measurement, PIRT records changes in the model’s internal representations while it generates that answer. The method gives each document the same constrained prompt, then compares the computational paths the model takes.
In plain terms, PIRT aims to measure not only the words a model produces, but also how its internal processing changes as it responds to a consistent question. The author argues that this could preserve more subtle differences than a handful of labels, while directing the model toward an aspect of the text that researchers want to study.
From model activity to document comparisons
The proposed pipeline standardizes documents and prompts, then runs them through a language model using deterministic decoding. It records changes in internal activations across model layers and generated tokens. These changes are adjusted to reduce shared background patterns, including common language-generation drift. The method then uses optimal transport—a mathematical technique for matching distributions—to compare two documents’ trajectories even when their arguments unfold in a different order.
Pairwise similarities can be used to identify continuous patterns through a technique called diffusion maps. Researchers can inspect documents at opposite ends of a pattern to help interpret what it represents. For questions about how document characteristics relate to similarity, the paper also describes dyadic regressions: analyses of document pairs that account for the fact that each document appears in many pairs.
The paper sets out theoretical conditions under which the proposed measurement can limit the influence of surface features such as language and vocabulary. These results depend on assumptions about how the prompt relates to the underlying traits of interest and how much irrelevant information remains in the model’s internal states. They do not guarantee that every prompt or model will isolate the intended structure in practice.
A parliamentary-speech example
The paper illustrates PIRT using 5,672 parliamentary speeches from seven European legislatures. In the main analysis, each speech was presented to Gemma 4 with the same request: state its core logical argument in neutral English, without naming the country, language, or party. The authors compared the resulting document similarities with patterns based on national context and party family.
In the reported analysis, speeches from the same national parliament were more similar in the selected internal-representation band than speeches linked by party family across countries. Domestic ideological separation was also reported, while the estimated cross-border party-family relationship was not statistically distinguishable from zero. The paper interprets this as indicating that, in this dataset and setup, national institutional context was more prominent than a shared transnational left–right structure.
The paper also reports a cross-architecture replication using Qwen2.5-7B, alongside split-sample and other robustness checks. It compares PIRT with static multilingual embeddings and with a model prompted to assign speeches to a five-axis ideological scheme. The reported estimates differ across these approaches. That shows that measurement choices matter in this example; it does not establish that PIRT recovers the true or uniquely correct structure.
What remains uncertain
PIRT depends on access to a model’s internal activations and on choices about which layers to use. The paper recommends checks including testing alternative phrasings of the prompt, comparing model architectures, checking results in split samples, and controlling for ordinary lexical similarity. It also notes the importance of language and document provenance.
The demonstration concerns parliamentary speeches. Although the paper suggests financial, legal, and other texts as possible applications, those are not demonstrated findings in this study. Internal representations also do not come with automatic human interpretations: researchers still need to examine documents associated with each discovered dimension.
This is an arXiv preprint, not evidence of peer review. The paper presents its parliamentary benchmark as a summary of a separate 2026 working paper, so the material available here does not independently establish every detail of that underlying analysis. PIRT is an interesting proposal for exploratory text measurement, but its assumptions, implementation choices, and results warrant further scrutiny and replication.
- large language models
- text analysis
- parliamentary speeches
- latent dimensions
- machine learning
- computational social science
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
When do AI-generated survey answers reflect real patterns?
Source published
Shared keywords: computational social science, large language models, machine learning
Teaching graph generators which hidden dimensions matter
Source published
Shared keywords: machine learning
Why changing an AI rating scale can change the score
Source published
Shared keywords: computational social science, large language models
Can AI agents model how people react emotionally to events?
Source published
Shared keywords: computational social science, large language models
AI models produce different opinion dynamics under the same discussion rules
Source published
Shared keywords: computational social science, large language models