Prompt-Induced Residual Trajectories: A Schema-Free Framework for Latent Dimension Discovery with Large Language Models
Francesco Corielli
Quantitative social science, finance, and computational linguistics increasingly rely on Large Language Models (LLMs) to extract latent structural variables from large corpora of unstructured text. Most current pipelines treat the LLM as an automated coder, prompting the model to project texts onto discrete, researcher-authored taxonomies. While useful when categories are known ex ante, this practice represents a substantial underuse of modern Transformer architectures when the empirical goal is discovering latent structure. Forcing an instruction-tuned model to emit discrete labels compresses high-dimensional geometric information at the unembedding bottleneck, imposes exogenous categories, and can conflate underlying structural variation with instruction-following compliance and surface register artifacts. Conversely, static contrastive embeddings yield representations largely shaped by surface nouns, domain vocabulary, and native language. We propose an alternative measurement framework: Prompt-Induced Residual Trajectory (PIRT) measurement. Rather than asking an LLM to classify texts, we give every document the exact same constrained qualification prompt and set aside the…