Reproduce “Slaves to the Law of Large Numbers: An Asymptotic Equipartition Property for Perplexity in Generative Language Models” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Tyler Bell, Avinash Mudireddy, Ivan Johnson-Eversoll, Soura Dasgupta, Raghu Mudumbai
Researchers at the University of Iowa developed a generalized Asymptotic Equipartition Property, termed the "Un-Equipartition Property for Perplexity," which demonstrates that the log-perplexity of long texts generated by language models asymptotically converges to their average token-wise entropy, even for non-stationary and highly dependent generative processes. This theoretical framework defines a "typical set" for LLM outputs, showing that these models are statistically constrained to generate a vanishingly small fraction of all possible grammatical texts.
Key insights
- The log-perplexity of any sufficiently long text generated by an LLM will almost surely converge to its average token-wise conditional entropy.
- LLMs are statistically constrained, generating texts that belong to an exponentially vanishing fraction of all possible grammatically correct sequences, even those they are capable of producing.
- Texts exhibiting "over-typicality" (unusually low perplexity relative to empirical entropy) for a specific LLM serve as strong indicators of memorized training data or high generative confidence.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.