Bit Catastrophes for the Burrows-Wheeler Transform
Abstract A bit catastrophe, loosely defined, is when a change in just one character of a string causes a significant change in the size of the compressed string. We study this phenomenon for the Burrows-Wheeler Transform (BWT), a string transform at the heart of several of the most popular compressors and aligners today. The parameter determining the size of the compressed data is the number of equal-letter runs of the BWT, commonly denoted r . We exhibit infinite families of strings in which insertion, deletion, resp. substitution of one character increases r from constant to $$\Theta (\log n)$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mi>Θ</mml:mi> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo> </mml:mrow> </mml:math> , where n is the length of the string. These strings can be interpreted both as examples for an increase by a multiplicative or an additive $$\Theta (\log n)$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mi>Θ</mml:mi> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo> </mml:mrow> </mml:math> -factor. As regards the multiplicative factor, they attain the upper bound given by Akagi, Funakoshi, and Inenaga [Inf & Comput. 2023] of $$\mathcal{O}(\log n \log r)$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:mi>n</mml:mi> <mml:mo>log</mml:mo> <mml:mi>r</mml:mi> <mml:mo>)</mml:mo> </mml:mrow> </mml:math> , since here $$r=\mathcal{O}(1)$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mi>r</mml:mi> <mml:mo>=</mml:mo> <mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:mn>1</mml:mn> <mml:mo>)</mml:mo> </mml:mrow> </mml:math> . We then give examples of strings in which insertion, deletion, resp. substitution of a character increases r by a $$\Theta (\sqrt{n})$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mi>Θ</mml:mi> <mml:mo>(</mml:mo> <mml:msqrt> <mml:mi>n</mml:mi> </mml:msqrt> <mml:mo>)</mml:mo> </mml:mrow> </mml:math> additive factor. These strings significantly improve the best known lower bound for an additive factor of $$\Omega (\log n)$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mi>Ω</mml:mi> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo> </mml:mrow> </mml:math> [Giuliani et al., SOFSEM 2021].
Authors
- Shunsuke Inenaga (ORCID: https://orcid.org/0000-0002-1833-010X)
- Marinella Sciortino (ORCID: https://orcid.org/0000-0001-6928-0168)
- Zsuzsanna Lipták (ORCID: https://orcid.org/0000-0002-3233-0691)
- Sara Giuliani
- C. Urbina (ORCID: https://orcid.org/0000-0001-9145-8081)
- Giuseppe Romana (ORCID: https://orcid.org/0000-0002-3489-0684)
Institutions
- University of Verona (IT)
- Kyushu University (JP)
- University of Chile (CL)
- University of Palermo (IT)
Publication Details
- Journal
- Theory of Computing Systems
- Published
- 2025-04-15
- DOI
- https://doi.org/10.1007/s00224-024-10212-9
- Citations
- 3
- Primary Topic
- Algorithms and Data Compression
- Type
- article
- Field-Weighted Citation Impact
- 7.44
Funders
- Università degli Studi di Siena
- Università degli Studi di Palermo
- Agencia Nacional de Investigación y Desarrollo
- Ministero dell'Università e della Ricerca
- Gruppo Nazionale per il Calcolo Scientifico
- Japan Society for the Promotion of Science