SIAM Journal on Computing · 2000 · 109 citations · 16 references
ComputingComputer ScienceMathematicsAlgorithmsComputational LinguisticsInformation TheoryCoding TheoryData CompressionEntropyLossy Data CompressionString AlgorithmsCompressionCompression AlgorithmsCompression BoundsCompression RatioLempel-ziv CodingLempel-ziv CompressionRun-length EncodingString Compression
We compare the compression ratio of the Lempel--Ziv algorithms with the empirical entropy of the input string. This approach makes it possible to analyze the performance of these algorithms without any assumption on the input and to obtain worst case results. We show that in this setting the standard definition of optimal compression algorithm is not satisfactory. In fact, although Lempel--Ziv algorithms are optimal according to the standard definition, there exist families of low entropy strings which are not compressed optimally. More precisely, the compression ratio achieved by LZ78 (resp., LZ77)can be much higher than the zeroth order entropy H0 (resp., the first order entropy H1 ). For this reason we introduce the concept of $\lambda$-optimal algorithm. An algorithm is $\lambda$-optimal with respect to Hk if, loosely speaking, its compression ratio is asymptotically bounded by $\lambda$ times the kth order empirical entropy Hk. We prove that LZ78 cannot be $\lambda$-optimal with respect to any Hk with $k\geq 0$. Then, we describe a new algorithm which combines LZ78 with run length encoding (RLE) and is 3-optimal with respect to H0 . Finally, we prove that LZ77 is 8-optimal with respect to H0 , and that it cannot be $\lambda$-optimal with respect to Hk for any $k\geq 1$.
16
A locally adaptive data compression scheme
Jon Bentley, Daniel D. Sleator, Robert E. Tarjan et al. · Communications of the ACM · 1986 · 530 citations · Full text
Linear Algorithm for Data Compression via String Matching
Michael Rodeh, Vaughan Pratt, Shimon Even · Journal of the ACM · 1981 · 227 citations · Full text
The sliding-window Lempel-Ziv algorithm is asymptotically optimal
A.D. Wyner, J. Ziv · Proceedings of the IEEE · 1994 · 124 citations