English

Resolution of the Burrows-Wheeler Transform Conjecture

Data Structures and Algorithms 2021-04-13 v3

Abstract

The Burrows-Wheeler Transform (BWT) is an invertible text transformation that permutes symbols of a text according to the lexicographical order of its suffixes. BWT is the main component of popular lossless compression programs (such as bzip2) as well as recent powerful compressed indexes (such as rr-index [Gagie et al., J. ACM, 2020]), central in modern bioinformatics. The compression ratio of BWT is quantified by the number rr of equal-letter runs. Despite the practical significance of BWT, no non-trivial bound on the value of rr is known. This is in contrast to nearly all other known compression methods, whose sizes have been shown to be either always within a polylogn{\rm polylog}\,n factor (where nn is the length of text) from zz, the size of Lempel-Ziv (LZ77) parsing of the text, or significantly larger in the worst case (by a nεn^{\varepsilon} factor for ε>0\varepsilon > 0). In this paper, we show that r=O(zlog2n)r = \mathcal{O}(z \log^2n) holds for every text. This result has numerous implications for text indexing and data compression; for example: (1) it proves that many results related to BWT automatically apply to methods based on LZ77, e.g., it is possible to obtain functionality of the suffix tree in O(zpolylogn)\mathcal{O}(z\,{\rm polylog}\,n) space; (2) it shows that many text processing tasks can be solved in the optimal time assuming the text is compressible using LZ77 by a sufficiently large polylogn{\rm polylog}\,n factor; (3) it implies the first non-trivial relation between the number of runs in the BWT of the text and its reverse. In addition, we provide an O(zpolylogn)\mathcal{O}(z\,{\rm polylog}\,n)-time algorithm converting the LZ77 parsing into the run-length compressed BWT. To achieve this, we develop a number of new data structures and techniques of independent interest.

Cite

@article{arxiv.1910.10631,
  title  = {Resolution of the Burrows-Wheeler Transform Conjecture},
  author = {Dominik Kempa and Tomasz Kociumaka},
  journal= {arXiv preprint arXiv:1910.10631},
  year   = {2021}
}

Comments

50 pages, full version of a paper accepted to FOCS 2020

R2 v1 2026-06-23T11:52:44.948Z