Autoregressive Decoding as a Martingale: Characterizing the Stochastic Dynamics of LLM Generation
Despite this probabilistic nature, the stochastic dynamics of autoregressive decoding have rarely been investigated from a rigorous probabilistic perspective.
ProofPaper ↗
Key points
- Large language models (LLMs) have achieved remarkable success across a wide range of language tasks.
- In this work, we define the per-step prediction error as the difference between the sampled token indicator and the model's conditional predictive distribution, and prove that the cumulative error process is a martingale with respect to the decoding filtration, implying that its conditional first-order moment is identically zero.
- This identity establishes a direct theoretical connection between sequence fluctuations and predictive uncertainty during autoregressive decoding.
- These results provide a probabilistic framework for analyzing autoregressive LLM decoding, reveal intrinsic probabilistic fingerprints of different language models, and establish a rigorous mathematical foundation for LLM-generated text detection and uncertainty quantification.
Sources (1)
- [1]Autoregressive Decoding as a Martingale: Characterizing the Stochastic Dynamics of LLM GenerationarXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 12, 01:31 AM
Despite this probabilistic nature, the stochastic dynamics of autoregressive decoding have rarely been investigated from a rigorous probabilistic perspective.
Large language models (LLMs) have achieved remarkable success across a wide range of language tasks.
Extractive summary: sentences quoted from the sources.
Before this
- Oct 12, 2026Omni-Modal LLMs Know More Than They Say
- Oct 10, 2026SocraticRepair: Planning-Guided Socratic Tutoring for Program Debugging and Misconception Repair
- Oct 10, 2026Beyond Adjacent Layers: Graph-Guided Layer Fusion for Compressing Large Language Models
- Oct 10, 2026Toward System One Clinical Intelligence: Parameter-Efficient Fine-Tuning and Counterfactual Explainability of Decision Foundation Models
- Oct 10, 2026SAGE: Pushing 2-Bit Vector-Quantized LLMs toward Real-World Usability
- Oct 9, 2026Qwen/Qwen-Image-2.1-Turbo
