Estimating Great Expectations Under Autoregressive Language Models with Potentials
cs.AI, cs.LG, stat.ME
Submitted: 2026-10-08
Updated: 2026-10-09
License: http://creativecommons.org/licenses/by/4.0/
The gist: Many applications of language models hinge not on individual samples but on the expectation of a test functional under the model.
Abstract
Many applications of language models hinge not on individual samples but on the expectation of a test functional under the model. Estimating such expectations reliably can be computationally expensive. In this paper, we show how to make estimation more efficient by exploiting the next-token conditional probabilities which are available as a by-product of sampling. We do so through potentials: real-valued functions on prefixes that decompose the test functional additively. We construct an estimator whose variance depends on the chosen potential, and derive conditions under which a potential reduces this variance. We then develop practical potentials for several estimands and applications, and demonstrate substantial variance reductions across several estimands at comparable computational cost.
Sources
- Estimating Tail Risks in Language Model Output Distributions
- Rare Event Analysis of Large Language Models
- Distilling the Knowledge in a Neural Network
- Forecasting Rare Language Model Behaviors
- On the N-gram Approximation of Pre-trained Language Models
- High-Dimensional Continuous Control Using Generalized Advantage Estimation
- Proximal Policy Optimization Algorithms
- Language Generation with Strictly Proper Scoring Rules
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems