English

The Sample Complexity of Lossless Data Compression

Information Theory 2026-04-16 v4 math.IT Statistics Theory Statistics Theory

Abstract

A new framework is introduced for examining and evaluating the fundamental limits of lossless data compression, that emphasizes genuinely non-asymptotic results. The {\em sample complexity} of compressing a given source is defined as the smallest blocklength at which it is possible to compress that source at a specifically constrained rate and to within a specified excess-rate probability. This formulation parallels corresponding developments in statistics and computer science, and it facilitates the use of existing results on the sample complexity of various hypothesis testing problems. For arbitrary sources, the sample complexity of general variable-length compressors is shown to be tightly coupled with the sample complexity of prefix-free codes and fixed-length codes. For memoryless sources, it is shown that the sample complexity is characterized not by the source entropy, but by its R\'{e}nyi entropy of order~1/21/2. Nonasymptotic bounds on the sample complexity are obtained, with explicit constants. Generalizations to Markov sources are established, showing that the sample complexity is determined by the source's R\'{e}nyi entropy rate of order~1/21/2. Finally, bounds on the sample complexity of universal data compression are developed for families of memoryless sources. There, the sample complexity is characterized by the minimum R\'{e}nyi divergence of order~1/21/2 between elements of the family and the uniform distribution. The connection of this problem with identity testing and with the associated separation rates is explored and discussed.

Keywords

Cite

@article{arxiv.2601.06688,
  title  = {The Sample Complexity of Lossless Data Compression},
  author = {Terence Viaud and Ioannis Kontoyiannis},
  journal= {arXiv preprint arXiv:2601.06688},
  year   = {2026}
}

Comments

Details added for the case of a uniformly distributed source, and comparisons of the results with gaussian approximations using graphs

R2 v1 2026-07-01T08:59:11.522Z