
Today’s Large Language Models (LLM) trace their legacy to Shannon’s 1948 paper “A Mathematical Theory of Communication” and his 1951 follow-up, “Prediction and Entropy of Printed English.”
The 1948 paper
Shannon asks how to measure information, and how reliably and efficiently it can be sent over a noisy channel. His main results:
- Entropy. For a source with symbol probabilities p, the information content is H = −Σ p log p, measured in bits. It is the average surprise per symbol, and it sets the minimum average number of bits needed to encode the source.
- Source coding theorem. You can compress a source to about H bits per symbol, but no lower without losing information. The gap between actual and optimal size is redundancy.
- Channel capacity and the noisy-channel coding theorem. Every noisy channel has a capacity C. Below that rate you can communicate with arbitrarily small error using good enough codes. Above it you can’t. The theorem proves such codes exist without constructing them.
- Language as a statistical process. In Section 3 Shannon generates English-like text from successively better approximations: random letters, letter frequencies, digram and trigram statistics, then word-level Markov chains. Each looks more like English than the last.
- Deliberately setting meaning aside. He says semantic aspects of communication are “irrelevant to the engineering problem.”
Shannon’s 1948 paper estimated entropy through N-gram approximations F₀, F₁, F₂, and so on. That approach can’t see structure beyond a few letters. His 1951 paper instead uses a person’s implicit knowledge of English. A subject guesses the next letter of a passage, and the number of guesses needed is recorded. Those guess counts give statistical bounds on entropy that account for long-range structure.
Shannon estimated the entropy of English by having people guess the next letter of a text. His bounds were roughly 0.6 to 1.3 bits per letter, far below the log₂ 26 ≈ 4.7 bits of a random letter. That shows English is highly redundant and predictable.
From 1948 to LLMs
The modern LLM is Shannon’s 1951 predictor, built at enormous scale and trained on the quantity Shannon defined in 1948. The lineage is conceptual. LLM engineering also rests on neural networks, optimization and attention, which Shannon did not provide.
An LLM is a learned next-symbol predictor, trained to minimize the code length that Shannon defined. Shannon built a series of approximations to English with increasing statistical structure: random letters, letters with English frequencies, digram, trigram, then word-level models.
He showed sample text generated from each. Higher orders look more English-like.
These are Markov chains: the next symbol depends on a fixed number of preceding symbols.
The N-gram entropies F₁, F₂, F₃, … measure the information per letter left after accounting for N adjacent letters.
He estimated that with statistics over up to eight letters, English entropy is roughly 2.3 bits per letter, or about 50% redundancy (as restated in the 1951 introduction).
Two ideas appear here that LLMs inherit directly. First, a language model is a conditional distribution over the next symbol. Second, one can generate text by sampling from it. The sampling step is exactly how an LLM produces output.
Shannon Concept to LLM Counterpart
Shannon’s LLM lineage has six links:
- Factorization. Shannon’s F_N is the uncertainty of the next letter given N−1 preceding letters. An LLM replaces his lookup table with a neural network that outputs a next-token distribution, and its context window plays the role of N.
- Training objective. Cross-entropy loss is the expected code length in bits, which cannot fall below the source entropy. Perplexity is 2 to the power of the loss in bits.
- Compression. Shannon’s “reduced text” replaces each letter with its guess rank, and an identical predictor at the other end decodes it. Today the model’s probabilities drive an arithmetic coder, and the decoder needs the same weights. Delétang et al. (ICLR 2024) test this directly.
- Entropy floor. Hoffmann et al. (2022) say the constant term in their scaling-law fit “should correspond to the entropy of natural text.” That is Shannon’s entropy rate showing up as the asymptote of the learning curve.
- Learned context. Shannon had no tables beyond trigrams. Bengio et al. (2003) addressed that problem by learning distributed representations for words.
- Human benchmark. Shannon’s guessing experiment led to Cover and King (1978), who report about 1.3 bits per symbol, and eventually to bits-per-character comparisons with models.
Where the lineage stops. Shannon supplies the objective, the unit, the meaning of the loss and the benchmark. He does not supply learning, architecture, or anything about meaning, and post-training such as RLHF moves a model off pure likelihood.

Shannon gave the objective, the unit, the meaning of the loss and the benchmark. The machinery that now minimizes it came from elsewhere. More on neural networks to come.
References
- Shannon, C. E. (1948). A Mathematical Theory of Communication. Bell System Technical Journal, 27(3), 379–423 (July) and 27(4), 623–656 (October)..
- Shannon, C. E. (1951). Prediction and Entropy of Printed English. Bell System Technical Journal, 30(1), 50–64 (January).
- Bengio, Ducharme, Vincent & Jauvin, “A Neural Probabilistic Language Model,” JMLR 3 (Feb 2003), pp. 1137–1155.
- Zipf, G. K. (1949). Human Behavior and the Principle of Least Effort. Addison-Wesley.
- Delétang, G., Ruoss, A., Duquenne, P.-A., Catt, E., Genewein, T., Mattern, C., Grau-Moya, J., Wenliang, L. K., Aitchison, M., Orseau, L., Hutter, M., & Veness, J. (2024). Language Modeling Is Compression. ICLR 2024. arXiv:2309.10668. https://arxiv.org/abs/2309.10668
- Hoffmann, J., Borgeaud, S., Mensch, A., Buchatskaya, E., Cai, T., Rutherford, E., de Las Casas, D., Hendricks, L. A., Welbl, J., Clark, A., Hennigan, T., Noland, E., Millican, K., van den Driessche, G., Damoc, B., Guy, A., Osindero, S., Simonyan, K., Elsen, E., Rae, J. W., Vinyals, O., & Sifre, L. (2022). Training Compute-Optimal Large Language Models. arXiv:2203.15556. https://arxiv.org/abs/2203.15556.
- Bengio, Y., Ducharme, R., Vincent, P., & Jauvin, C. (2003). A Neural Probabilistic Language Model. Journal of Machine Learning Research, 3, 1137–1155. https://www.jmlr.org/papers/v3/bengio03a.html
- Cover, T. M., & King, R. C. (1978). A Convergent Gambling Estimate of the Entropy of English. IEEE Transactions on Information Theory, IT-24(4), 413–421.
- Brown et al. (1992). An Estimate of an Upper Bound for the Entropy of English. Computational Linguistics, 18(1). The ACL Anthology lists it as J92-1002 (https://aclanthology.org/J92-1002/).

























