It’s late, you’ve been staring at code or papers all day, and your brain feels like a context window that’s about to overflow. But have you ever wondered why that context window—the one in your head or the one in the latest Llama model—actually matters? Why does adding more "past" keep making the "future" easier to predict?
A new paper, "Self-similar Organization of Information in Language," suggests that language isn't just a sequence of words; it’s a fractal-like structure of information. The authors show that predictive information in natural language is organized "self-similarly," meaning it follows the same mathematical patterns whether you’re looking at the last ten words or the last ten thousand.
TL;DR
Language is mathematically "self-similar": the way information is distributed across a text looks the same regardless of the scale you measure. By using LLMs as high-powered "information thermometers," the researchers proved that predictive info follows a consistent power law, explaining why LLMs continue to get smarter as we feed them increasingly massive context windows.
What Problem Does This Paper Address?
We’ve known for a long time that language has "long-range dependencies"—the fact that a character introduced on page one of a novel might be the key to a plot twist on page 300. But how is that information actually organized? Is it just a few scattered "hooks," or is there a continuous, underlying structure?
Previous theories, like the Hilberg hypothesis, suggested that the information content of language grows according to a power law, but measuring this was nearly impossible before we had Large Language Models (LLMs). This paper seeks to move beyond just saying "long-range stuff matters" to proving a specific, rigid mathematical organization called affine self-similarity.
Methods
The researchers didn't build a new model; instead, they used existing LLMs as "parametric estimators" of information.
- Information Measures: They defined "band gains"—essentially, how much your prediction of the next word improves when you double your context (e.g., going from 1,000 to 2,000 bytes of history).
- The Tool: They used Llama 3.1 (8B and 70B) and Qwen 3.5 (9B and 35B). Since these models are trained to minimize "cross-entropy loss" (a measure of surprise), their loss values can be used to calculate the "code length" or entropy of a text.
- The "Smoking Gun" Test: They looked for scaling collapse. If language is truly self-similar, you should be able to rescale your measurements of information at different lengths, and they should all "collapse" onto a single, common curve.
Datasets
The study compared "natural" human language against "formal" languages:
- Natural Language: Digitized historical books (Institutional Books 1.0) and long scientific papers (olmOCR science-PDF).
- Formal Language: GitHub repositories (Python and Rust) and Lean mathematical proofs.
Key Insights and Ideas
- Language is a Fractal: In natural language, predictive information doesn't just hit a wall. It scales. This means there is no "characteristic length" for language; the structure of a sentence, a paragraph, and a chapter all contribute to the predictive signal in a mathematically similar way.
- The Power Law is Real: They found that predictive information grows as $C^\beta$ (where $C$ is context length and $\beta \approx 0.6$). This is a much stronger claim than just saying "more context is better."
- Natural vs. Formal: This was the "aha!" moment. While books and science papers showed beautiful self-similarity, code did not. Code gains stay relatively flat and then drop off, suggesting that the way humans write programs is fundamentally different from how we naturally speak or write prose.
- Why Scaling Laws Work: This paper provides a theoretical "why" for the empirical observation that LLMs get better with more data and longer sequences. Because language is self-similar, there is always more structure to be found at larger scales.
Key Results
The researchers observed a near-perfect scaling collapse in natural language. When they plotted the mutual information between past and future windows of varying sizes, the data points for all four models and both natural language corpora fell onto the same lines.
- Exponents: The scaling exponent $\beta$ (for information growth) was consistently between 0.56 and 0.66 for natural language.
- Consistency: These results held up regardless of the model size (e.g., Llama 70B vs 8B), proving that this is a property of the data (language itself), not just a quirk of a specific model.
Limitations and Future Work
- LLMs as Proxies: The authors acknowledge that LLMs are only estimators of true information. While they are the best tools we have, they aren't perfect.
- Base Models Only: The study used "base" models. It’s unclear if fine-tuning or RLHF (Reinforcement Learning from Human Feedback) would distort these information-measuring capabilities.
- The "How": While the paper proves the existence of this self-similar structure, it doesn't yet explain the internal mechanism of how an LLM represents this in its "KV cache" (memory). That’s the next frontier.
So, the next time you're struggling to finish a long document, take heart: mathematically speaking, every page you've already read is helping you predict the next one in a perfectly self-similar way. Your brain is just a very tired fractal.
Summary updated