Abstract
In this paper we present a new technique for worst-case analysis of compression algorithms which are based on the Burrows-Wheeler Transform. We deal mainly with the algorithm purposed by Burrows and Wheeler in their first paper on the subject [6], called bw0. This algorithm consists of the following three steps: 1) Compute the Burrows-Wheeler transform of the text, 2) Convert the transform into a sequence of integers using the move-to-front algorithm, 3) Encode the integers using Arithmetic code or any order-0 encoding (possibly with run-length encoding).
We prove a strong upper bound on the worst-case compression ratio of this algorithm. This bound is significantly better than bounds known to date and is obtained via simple analytical techniques. Specifically, we show that for any input string s, and μ> 1, the length of the compressed string is bounded by μ
|s| H
k
(s) + log(ζ(μ))
|s| + g
k
where H
k
is the k-th order empirical entropy, g
k
is a constant depending only on k and on the size of the alphabet, and \(\zeta(\mu) = \frac{1}{1^\mu} + \frac{1}{2^\mu} + \ldots \) is the standard zeta function. As part of the analysis we prove a result on the compressibility of integer sequences, which is of independent interest.
Finally, we apply our techniques to prove a worst-case bound on the compression ratio of a compression algorithm based on the Burrows-Wheeler transform followed by distance coding, for which worst-case guarantees have never been given. We prove that the length of the compressed string is bounded by 1.7286 |s| H
k
(s) + g
k
. This bound is better than the bound we give for bw0.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
The canterbury corpus, http://corpus.canterbury.ac.nz
Abel, J.: Web page about Distance Coding, http://www.data-compression.info/Algorithms/DC/
Apostolico, A., Fraenkel, A.S.: Robust transmission of unbounded strings using fibonacci representations. IEEE Transactions on Information Theory 33(2), 238–245 (1987)
Bentley, J.L., Sleator, D.D., Tarjan, R.E., Wei, V.K.: A locally adaptive data compression scheme. Communications of the ACM 29(4), 320–330 (1986)
Binder, E.: Distance coder. Usenet group comp.compression (2000)
Burrows, M., Wheeler, D.J.: A block sorting lossless data compression algorithm. Technical Report 124, Digital Equipment Corporation, Palo Alto, California (1994)
Cormen, T.H., Leiserson, C.E., Rivest, R.L., Stein, C.: Introduction to Algorithms, ch. 16.3, 2nd edn., pp. 385–392. MIT Press and McGraw-Hill (2001)
Deorowicz, S.: Second step algorithms in the Burrows–Wheeler compression algorithm. Software – Practice and Experience 32(2), 99–111 (2002)
Elias, P.: Universal codeword sets and representation of the integers. IEEE Trans. on Information Theory 21(2), 194–203 (1975)
Ferragina, P., Giancarlo, R., Manzini, G., Sciortino, M.: Boosting textual compression in optimal linear time. Journal of the ACM 52, 688–713 (2005)
Fraenkel, A.S., Klein, S.T.: Robust universal complete codes for transmission and compression. Discrete Applied Mathematics 64(1), 31–55 (1996)
Huffman, D.A.: A method for the construction of minimum-redundancy codes. Proceedings of the IRE 40(9), 1098–1101 (1952)
Lelewer, D.A., Hirschberg, D.S.: Data compression. ACM Computing Surveys 19(3), 261–296 (1987)
Manzini, G.: Personal communication
Manzini, G.: An analysis of the Burrows-Wheeler transform. Journal of the ACM 48(3), 407–430 (2001)
Manzini, G., Ferragina, P.: Engineering a lightweight suffix array construction algorithm. Algorithmica 40, 33–50 (2004)
Moffat, A., Neal, R.M., Witten, I.H.: Arithmetic coding revisited. ACM Trans. Inf. Syst. 16(3), 256–294 (1998)
Seward, J.: bzip2, a program and library for data compression, http://www.bzip.org/
Witten, I.H., Neal, R.M., Cleary, J.G.: Arithmetic coding for data compression. Communications of the ACM 30(6), 520–540 (1987)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Kaplan, H., Landau, S., Verbin, E. (2006). A Simpler Analysis of Burrows-Wheeler Based Compression. In: Lewenstein, M., Valiente, G. (eds) Combinatorial Pattern Matching. CPM 2006. Lecture Notes in Computer Science, vol 4009. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11780441_26
Download citation
DOI: https://doi.org/10.1007/11780441_26
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-35455-0
Online ISBN: 978-3-540-35461-1
eBook Packages: Computer ScienceComputer Science (R0)