Introduction
In the field of information theory, universal lossless compression algorithms like Lempel-Ziv have long provided optimal performance without requiring prior knowledge of the source statistics. However, achieving similar universality in lossy compression—where a trade-off between rate and distortion is necessary—has proven significantly more difficult. Existing universal lossy compressors typically suffer from one of two major drawbacks: they are either theoretically suboptimal or computationally "explosive," requiring exponential time to find an optimal solution.
This paper introduces a novel, implementable scheme for the universal lossy compression of discrete Markov sources. By linearizing a complex entropy-based cost function, the authors transform a daunting optimization problem into a linear one, allowing for the use of the efficient Viterbi algorithm. This approach achieves the theoretical Shannon rate-distortion limit while remaining computationally practical.
Methodology
The proposed scheme bridges the gap between high-level information theory and practical algorithm design through several key innovations:
1. Linearizing the Cost Function
The standard objective in lossy compression is to minimize a Lagrangian cost function $J = R + \lambda D$, where $R$ is the rate (often tied to empirical entropy) and $D$ is the distortion. Because entropy is a non-linear, concave function, optimizing it over a sequence is traditionally difficult. The authors leverage the concavity of entropy to create a linear approximation using a first-order Taylor expansion. They prove that this linear "upper bound" touches the entropy function at the optimal point, meaning the solution to the linearized problem is also the solution to the original non-linear problem.
2. The Viterbi Coder
Once the cost function is linearized, the total cost of a reconstruction sequence becomes the sum of individual transition costs. This structure allows the problem to be mapped onto a trellis diagram. The Viterbi algorithm can then be employed to find the globally optimal reconstruction sequence in time that is linear with respect to the sequence length.
3. Universal Coefficient Estimation and Two-Stage Encoding
To ensure universality, the encoder does not assume knowledge of the source statistics. Instead, it estimates these statistics directly from the input data to calculate the necessary weights (coefficients) for the linear cost function. The final encoding is a two-stage process: first, the Viterbi algorithm finds the best reconstruction sequence; second, this sequence is compressed using a standard universal lossless compressor (such as Lempel-Ziv) for transmission to the decoder.
Experimental Evaluation
The algorithm was evaluated using synthetic binary symmetric Markov sources, a standard benchmark in foundational information theory research. The authors used block lengths ($n$) of 5,000 and a context depth ($k$) of 7. These parameters were chosen to demonstrate the algorithm's convergence toward theoretical limits as the sequence length increases.
Results and Discussion
The Viterbi-based encoder demonstrated significant improvements in both speed and optimality. In head-to-head simulations, it was found to be at least 40 times faster than previous state-of-the-art methods based on Markov Chain Monte Carlo (MCMC) simulations. Unlike MCMC, which is probabilistic and may take an indeterminate amount of time to converge, the Viterbi approach is deterministic and computationally efficient.
As shown in Figure 1, the algorithm's performance (distortion vs. rate) closely tracks the Shannon lower bound, which represents the theoretical "gold standard" for compression. The experimental data points for various values of the parameter $\alpha$ (which relates to the slope of the rate-distortion curve) align closely with the theoretical curve, validating the optimality of the linearization approach.
Limitations and Future Directions
Despite its efficiency, the algorithm faces a "state explosion" challenge. While its complexity is linear in the data length ($n$), it is exponential in the context depth ($k$), with the number of states in the trellis growing as $2^{k+1}$. This may limit its applicability to sources with very long-range dependencies.
Future work includes extending the theoretical proofs to all stationary ergodic sources beyond the Markovian case and finding more efficient, closed-form methods for optimizing the linear coefficients. Currently, finding the absolute best coefficients requires a separate optimization step, which the authors aim to simplify in subsequent research.
Summary updated