Universal Weak Variable-Length Source Coding on Countable Infinite Alphabets

Jorge F. Silva, Pablo PiantanidaarXiv 2017 · DOI

Abstract: Motivated from the fact that universal source coding on countably infinite alphabets is not feasible, this work introduces the notion of almost lossless source coding. Analog to the weak variable-length source coding problem studied by Han (IEEE TIT, 2000, 46, 1217-1226), almost lossless source coding aims at relaxing the lossless block-wise assumption to allow an average per-letter distortion that vanishes asymptotically as the block-length tends to infinity. In this setup, we show on one hand that Shannon entropy characterizes the minimum achievable rate (similarly to the case of finite alphabet sources) while on the other that almost lossless universal source coding becomes feasible for the family of finite-entropy stationary memoryless sources with infinite alphabets. Furthermore, we study a stronger notion of almost lossless universality that demands uniform convergence of the average per-letter distortion to zero, where we establish a necessary and sufficient condition for the so-called family of envelope distributions to achieve it. Remarkably, this condition is the same necessary and sufficient condition needed for the existence of a strongly minimax (lossless) universal source code for the family of envelope distributions. Finally, we show that an almost lossless coding scheme offers faster rate of convergence for the (minimax) redundancy compared to the well-known information radius developed for the lossless case at the expense of tolerating a non-zero distortion that vanishes to zero as the block-length grows. This shows that even when lossless universality is feasible, an almost lossless scheme can offer different regimes on the rates of convergence of the (worst case) redundancy versus the (worst case) distortion.

1. Introduction

Universal source coding (USC) is a fundamental concept in information theory, aiming to design encoders that achieve the best possible compression rate (Shannon entropy) for any source within a class without prior knowledge of the specific distribution. While USC is well-established for finite alphabets, it faces significant theoretical hurdles when applied to countably infinite alphabets (e.g., the set of all integers).

In the strictly lossless regime, it has been proven that the "minimax redundancy"—the extra bits required due to ignorance of the true distribution—can be infinite for infinite alphabets. This implies that a single lossless compressor cannot work universally for every possible infinite-alphabet source. This paper addresses this limitation by introducing "Almost Lossless Source Coding," which relaxes the perfection requirement to allow a negligible amount of distortion that vanishes as the block length $n$ tends toward infinity.

2. Methodology: The Two-Stage Coding Scheme

The core of the proposed approach is a framework that utilizes a fidelity criterion based on the Hamming distance, requiring the average per-letter distortion to vanish asymptotically. To achieve this, the authors propose a robust two-stage architecture.

The two-stage encoding and decoding process for almost lossless source coding.

As illustrated in the figure above, the process is divided into two distinct stages:

  1. Quantization (First Stage): The infinite-alphabet source $X^n$ is mapped via $\Phi_n$ to a sequence $Y^n$ over a finite set. This step introduces a small, controlled amount of distortion but makes the data manageable for standard compression techniques.
  2. Lossless Compression (Second Stage): A variable-length lossless code $\mathcal{C}_n$ is applied to the resulting finite-alphabet symbols.

On the decoding side, the process is reversed: a lossless mapping $\mathcal{D}_n$ recovers $Y^n$, followed by a lossy mapping $\Psi_n$ to produce the final reconstruction $\hat{X}^n$. By carefully balancing the size of the quantization set with the block length, the scheme effectively controls both the distortion and the redundancy.

3. Key Theoretical Insights

The research evaluates performance across families of probability distributions, such as finite-entropy sources ($\mathcal{P}_H(\mathcal{X})$) and Envelope Families ($\Lambda_f$), where probabilities are bounded by a specific function $f$. Several key insights emerge:

  • Feasibility Regained: The most striking finding is that while universal lossless coding is impossible for the family of finite-entropy sources, universal almost lossless coding is entirely feasible.
  • Entropy as the Limit: Even in the almost lossless regime on infinite alphabets, Shannon entropy remains the fundamental limit for the minimum achievable rate, paralleling the finite-alphabet case.
  • Uniform Convergence: For envelope distributions, the condition required for uniform convergence (where distortion vanishes at the same rate for an entire family) is identical to the condition needed for "strongly minimax" lossless coding in specific sub-families.
  • Trading Distortion for Speed: By tolerating a vanishing distortion, the scheme can converge to the optimal compression rate much faster than a lossless scheme could, offering a non-trivial reduction in minimax redundancy.

4. Conclusion and Future Work

This work demonstrates that by relaxing the requirement for zero error, universal compression becomes a viable tool for infinite-alphabet sources. The proposed two-stage scheme offers a new way to navigate the trade-offs between redundancy and distortion.

While the current study focuses on stationary memoryless (i.i.d.) sources, future research could extend these results to sources with memory (stationary and ergodic) or investigate alternative distortion metrics beyond the Hamming distance to refine the scheme for practical applications.

Summary updated

BibTeX
@misc{silva2017universal,
  author = {Jorge F. Silva and Pablo Piantanida},
  title = {{Universal Weak Variable-Length Source Coding on Countable Infinite Alphabets}},
  year = {2017},
  eprint = {1708.08103},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.08103},
}
Figure