TL;DR
While Zipf’s law (a power-law distribution) famously describes natural data like word frequencies, it was mathematically unclear if this property actually helps compress or predict data when the ranking of symbols is unknown. This paper proves that while the worst-case compression difficulty remains unchanged, the average (expected) compression overhead for Zipf distributions is drastically lower than for unrestricted distributions. Crucially, this is the first natural class of distributions proven to exhibit such a massive divergence between worst-case and expected compression performance.
What Problem Does This Paper Address?
In data compression, if you know the exact probability distribution of your data, you can compress it perfectly down to its fundamental limit: entropy. In reality, the true distribution is rarely known. "Universal compression" attempts to solve this by designing encoders that perform well across an entire class of distributions (e.g., all i.i.d. distributions). Performance is measured by redundancy—the number of extra bits spent compared to the ideal entropy.
Prior research on "envelope classes" showed that if data probabilities follow a decaying curve (like a power law) and we know the exact ranking of the symbols (e.g., we know symbol 'A' is always more frequent than 'B'), we can compress the data very efficiently. However, in real-world scenarios like text compression, we don't know the symbol rankings in advance. This paper addresses a major gap: Does knowing that data follows a power law help us compress it if we don't know the underlying ordering of the symbols?
Methods
The authors combine information theory and combinatorics to analyze "unordered" power-law distributions. Their key methodological approaches include:
- Unordered Envelope Model: Instead of assuming $p_i \le f(i)$ for a fixed index $i$, they bound the sorted probabilities ($p_{(i)} \le f(i)$). This allows the actual symbols to be permuted in any arbitrary order, accurately modeling real-world ignorance of symbol frequencies.
- Poisson Sampling (Poissonization): In standard sampling, symbol counts are dependent because they must sum to the total sequence length $n$. To bypass this mathematical hurdle, the authors model the sequence length as a Poisson random variable. This decouples the symbol counts, making them independent and allowing the use of powerful concentration lemmas.
- Distinct Element Bounding: The authors establish a novel framework that bounds expected redundancy based on the expected number of distinct elements ($d$) appearing in a sequence. They then calculate $d$ specifically for power-law envelopes to derive tight bounds.
- Shtarkov Summation: Used to evaluate the worst-case redundancy by finding the maximum probability any distribution in the class assigns to a given sequence.
Datasets
This is a purely theoretical paper. No empirical datasets or experimental benchmarks were used.
Key Insights and Ideas
- The Expected vs. Worst-Case Split: For almost all standard distribution classes studied in information theory, worst-case and expected redundancies are nearly identical. Zipf distributions are uniquely different: their worst-case and expected behaviors completely diverge.
- Why the Worst Case Fails: In a worst-case scenario, an adversary can choose a permutation that hides the identity of the high-probability symbols. The encoder is forced to spend just as many bits figuring out the symbol identities as it would for a completely unrestricted distribution.
- Why the Expected Case Succeeds: On average, a power-law distribution naturally restricts the variety of symbols you actually see in a sample. Because you encounter fewer distinct elements, the "dictionary" mapping symbols to their frequencies is much smaller, allowing for drastically better average compression.
Key Results
-
Worst-Case Redundancy: For a sequence length $n$ and alphabet size $k$ where $n \le k^{1/\alpha}$, the worst-case redundancy $\hat{R}$ scales similarly to unrestricted distributions: $$\hat{R} = \Omega\left(n \log \frac{k}{n^\alpha}\right)$$ Knowing the data follows a power law provides no advantage in the worst case.
-
Expected Redundancy: For alphabet sizes larger than the sequence length ($k > n$) and a power-law order $\alpha > 1$, the expected redundancy $\bar{R}$ is tightly bounded as: $$\bar{R} = \Theta\left(n^{1/\alpha} \log k\right)$$
- The Power of Zipf: For unrestricted distributions, expected redundancy scales linearly with $n$. For Zipf distributions, it scales sub-linearly ($n^{1/\alpha}$). For example, if $\alpha = 2$ and $k = n$, the redundancy drops from a linear factor of $n$ down to $\Theta(\sqrt{n} \log n)$, proving that power-law data is significantly more compressible on average than previously known.
Limitations and Future Work
- Parameter Restrictions: The tight bounds for expected redundancy heavily rely on the power-law exponent being $\alpha > 1$. The behavior for $\alpha \le 1$ (where the distribution has a much heavier tail) is not fully explored.
- Lack of Practical Algorithms: The paper provides non-constructive mathematical proofs and bounds for universal compression. It does not present a low-complexity, practical algorithm (like a modified Huffman or Lempel-Ziv coding) ready to be deployed in commercial file compressors. Turning these theoretical limits into an efficient, real-world compressor remains an open engineering challenge.
Summary updated