The Alternating BWT: an algorithmic perspective
Pith reviewed 2026-05-25 09:20 UTC · model grok-4.3
The pith
The Alternating Burrows-Wheeler Transform shares rank-invertibility with the BWT and supports generalized backward search for compressed indices.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
BWT and ABWT are the only transformations in the larger class of reversible transformations that are rank-invertible, and the backward-search procedure can be efficiently generalized to the ABWT, implying it can serve as the basis for efficient compressed full text indices. The ABWT can be efficiently computed by using a combination of the Difference Cover suffix sorting algorithm with a linear time algorithm for finding the minimal cyclic rotation of a word with respect to the alternating lexicographical order.
What carries the argument
Rank-invertibility, a property guaranteeing efficient invertibility that holds only for transformations using the standard or alternating lexicographical ordering rules.
If this is right
- The ABWT supports efficient compressed full-text indices via the generalized backward-search procedure.
- ABWT admits an efficient computation algorithm based on difference-cover suffix sorting plus linear-time minimal rotation under alternating order.
- The rank-invertibility property distinguishes BWT and ABWT from the rest of the reversible class for algorithmic purposes.
Where Pith is reading between the lines
- Reversible transforms outside BWT and ABWT likely require different inversion techniques that may not scale as well for indexing.
- The dependence of rank-invertibility on the ordering rule suggests a route to test whether other ordering variants could acquire the same property.
- Data structures built on BWT could be adapted to ABWT for strings whose periodic or cyclic properties interact favorably with alternating order.
Load-bearing premise
The larger class of reversible transformations is correctly characterized and rank-invertibility depends only on the ordering rule.
What would settle it
Identification of any other transformation inside the reversible class that satisfies rank-invertibility, or an input string on which backward search for the ABWT fails to run in time linear in the pattern length.
Figures
read the original abstract
The Burrows-Wheeler Transform (BWT) is a word transformation introduced in 1994 for Data Compression. It has become a fundamental tool for designing self-indexing data structures, with important applications in several area in science and engineering. The Alternating Burrows-Wheeler Transform (ABWT) is another transformation recently introduced in [Gessel et al. 2012] and studied in the field of Combinatorics on Words. It is analogous to the BWT, except that it uses an alternating lexicographical order instead of the usual one. Building on results in [Giancarlo et al. 2018], where we have shown that BWT and ABWT are part of a larger class of reversible transformations, here we provide a combinatorial and algorithmic study of the novel transform ABWT. We establish a deep analogy between BWT and ABWT by proving they are the only ones in the above mentioned class to be rank-invertible, a novel notion guaranteeing efficient invertibility. In addition, we show that the backward-search procedure can be efficiently generalized to the ABWT; this result implies that also the ABWT can be used as a basis for efficient compressed full text indices. Finally, we prove that the ABWT can be efficiently computed by using a combination of the Difference Cover suffix sorting algorithm [K\"{a}rkk\"{a}inen et al., 2006] with a linear time algorithm for finding the minimal cyclic rotation of a word with respect to the alternating lexicographical order.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper provides a combinatorial and algorithmic study of the Alternating Burrows-Wheeler Transform (ABWT). Building on the class of reversible transformations from Giancarlo et al. 2018, it proves that BWT and ABWT are the only rank-invertible members of this class (a property guaranteeing efficient invertibility), shows that the backward-search procedure generalizes efficiently to ABWT (implying use in compressed full-text indices), and gives a linear-time ABWT construction via the difference-cover suffix sorting algorithm combined with a linear-time minimal cyclic rotation finder under alternating lexicographic order.
Significance. If the central claims hold, the work establishes a precise analogy between BWT and ABWT by isolating rank-invertibility as a distinguishing combinatorial property within the reversible class, while also extending ABWT to practical indexing applications. The explicit linear-time construction and the generalization of backward search are concrete algorithmic contributions that could broaden the set of transforms usable for self-indexes.
major comments (2)
- [Section on rank-invertibility uniqueness (likely §3 or §4)] The uniqueness proof that only BWT and ABWT are rank-invertible within the reversible class (the load-bearing claim for the combinatorial contribution) is stated to depend only on the ordering rule. However, this rests entirely on the precise definition of the class in the cited Giancarlo et al. 2018 paper; the manuscript must include an explicit recap of that definition (including any constraints on input strings, periodicity, or alphabet) to confirm no additional structural assumptions are implicitly used.
- [Section on backward-search generalization] The generalization of backward search to ABWT claims efficient implementation, but the manuscript provides no visible edge-case analysis or rank-update formulas for strings with periodic structure or when the alternating order produces different LF-mapping behavior than standard BWT; this is load-bearing for the indexing-application claim.
minor comments (2)
- [Introduction / Preliminaries] Notation for the alternating lexicographic order should be introduced with a small concrete example in the preliminaries to aid readability.
- Ensure the bibliography entry for Giancarlo et al. 2018 is complete and that all references to the reversible class are cross-cited consistently.
Simulated Author's Rebuttal
We thank the referee for the positive summary and for identifying two points that require clarification or expansion. Both comments are addressed below with concrete plans for revision.
read point-by-point responses
-
Referee: [Section on rank-invertibility uniqueness (likely §3 or §4)] The uniqueness proof that only BWT and ABWT are rank-invertible within the reversible class (the load-bearing claim for the combinatorial contribution) is stated to depend only on the ordering rule. However, this rests entirely on the precise definition of the class in the cited Giancarlo et al. 2018 paper; the manuscript must include an explicit recap of that definition (including any constraints on input strings, periodicity, or alphabet) to confirm no additional structural assumptions are implicitly used.
Authors: We agree that the uniqueness proof would benefit from an explicit, self-contained recap of the reversible-transform class. In the revised manuscript we will insert a short subsection (new §2.2) that reproduces the definition from Giancarlo et al. 2018 verbatim, states the alphabet and string constraints, and notes the absence of periodicity restrictions. This addition will make the subsequent uniqueness argument independent of the reference. revision: yes
-
Referee: [Section on backward-search generalization] The generalization of backward search to ABWT claims efficient implementation, but the manuscript provides no visible edge-case analysis or rank-update formulas for strings with periodic structure or when the alternating order produces different LF-mapping behavior than standard BWT; this is load-bearing for the indexing-application claim.
Authors: The current manuscript derives the generalized LF-mapping and shows that rank queries remain O(1) per step under the alternating order, but we concede that periodic cases and explicit update formulas are not illustrated. We will add a dedicated subsection (new §4.3) containing (i) the precise rank-update recurrence for ABWT, (ii) a short proof that periodicity does not alter the asymptotic cost, and (iii) two worked examples (one periodic, one non-periodic) that compare the ABWT and BWT LF-mappings side-by-side. revision: yes
Circularity Check
Minor self-citation on class definition; uniqueness and generalization proved as independent combinatorial facts
specific steps
-
self citation load bearing
[Abstract]
"Building on results in [Giancarlo et al. 2018], where we have shown that BWT and ABWT are part of a larger class of reversible transformations, here we provide a combinatorial and algorithmic study of the novel transform ABWT. We establish a deep analogy between BWT and ABWT by proving they are the only ones in the above mentioned class to be rank-invertible"
The scope of the uniqueness claim is delimited by the class definition taken from the self-cited prior work; while the proof itself is new, the central premise that only BWT and ABWT are rank-invertible is meaningful only inside that externally supplied (self-authored) characterization.
full rationale
The paper cites overlapping-author prior work solely to define the larger class of reversible transformations and then proves rank-invertibility uniqueness and backward-search generalization as new results inside that class. No step reduces a claimed prediction or uniqueness theorem to a fitted parameter, self-referential definition, or unverified self-citation chain. The derivation consists of explicit combinatorial arguments that remain externally falsifiable and do not collapse by construction to the inputs.
Axiom & Free-Parameter Ledger
axioms (2)
- domain assumption The class of reversible transformations introduced in Giancarlo et al. 2018 is well-defined and closed under the operations used here.
- standard math Standard properties of cyclic rotations and suffix arrays hold under the alternating lexicographic order.
Reference graph
Works this paper leans on
-
[1]
D. Belazzougui and G. Navarro. Optimal lower and upper bounds for representing sequences. ACM T. Algorithms , 11(4):31:1–31:21, 2015
work page 2015
- [2]
-
[3]
K. S. Booth. Lexicographically least circular substrings. Inf. Process. Lett., 10(4/5):240–242, 1980
work page 1980
-
[4]
M. Burrows and D. J. Wheeler. A block sorting data compression a lgo- rithm. Technical report, DIGITAL System Research Center, 199 4
-
[5]
B. Chapin and S. Tate. Higher compression from the burrows- wheeler transform by modified sorting. In DCC, page 532. IEEE Computer Society, 1998. Full version available from https://www.uncg.edu/cmp/faculty/srtate/papers/bwtsort.pdf
work page 1998
-
[6]
C. J. Colbourn and A. C. H. Ling. Quorums from difference covers . Inf. Process. Lett., 75(1-2):9–12, 2000. 24
work page 2000
-
[7]
A. Cox, M. Bauer, T. Jakobi, and G. Rosone. Large-scale compr ession of genomic sequence databases with the Burrows-Wheeler transf orm. Bioinformatics, 28(11):1415–1419, 2012
work page 2012
-
[8]
M. Crochemore, J. D´ esarm´ enien, and D. Perrin. A note on theBurrows- Wheeler transformation. Theor. Comput. Sci. , 332:567–572, 2005
work page 2005
- [9]
- [10]
-
[11]
J.-P. Duval. Factorizing words over an ordered alphabet. J. Algorithms, 4(4):363–381, 1983
work page 1983
-
[12]
P. Fenwick. The Burrows-Wheeler transform for block sorting text com- pression: Principles and improvements. Comput. J. , 39(9):731–740, 1996
work page 1996
-
[13]
S. Ferenczi and L. Q. Zamboni. Clustering Words and Interval Ex- changes. Journal of Integer Sequences , 16(2):Article 13.2.1, 2013
work page 2013
-
[14]
P. Ferragina, R. Giancarlo, G. Manzini, and M. Sciortino. Boostin g textual compression in optimal linear time. J. ACM , 52(4):688–713, 2005
work page 2005
-
[15]
P. Ferragina and G. Manzini. Opportunistic data structures wit h appli- cations. In FOCS 2000 , pages 390–398. IEEE Computer Society, 2000
work page 2000
-
[16]
P. Ferragina and G. Manzini. Indexing compressed text. J. ACM , 52:552–581, 2005
work page 2005
- [17]
-
[18]
I. M. Gessel, A. Restivo, and C. Reutenauer. A bijection betwe en words and multisets of necklaces. Eur. J. Combin. , 33(7):1537 – 1546, 2012
work page 2012
-
[19]
I. M. Gessel and C. Reutenauer. Counting permutations with g iven cycle structure and descent set. J. Comb. Theory A , 64(2):189–215, 1993
work page 1993
-
[20]
R. Giancarlo, G. Manzini, A. Restivo, G. Rosone, and M. Sciortino . Block Sorting-Based Transformations on Words: Beyond the Magic BWT. In DLT, pages 1–17. Springer International Publishing, 2018. 25
work page 2018
-
[21]
A New Class of Searchable and Provably Highly Compressible String Transformations
R. Giancarlo, G. Manzini, G. Rosone, and M. Sciortino. A new class of searchable and provably highly compressible string transformat ions. CoRR, abs/1902.01280, 2019
work page internal anchor Pith review Pith/arXiv arXiv 1902
-
[22]
R. Giancarlo, A. Restivo, and M. Sciortino. From first principles t o the Burrows and Wheeler transform and beyond, via combinatorial opt i- mization. Theor. Comput. Sci. , 387:236 – 248, 2007
work page 2007
-
[23]
D. Gusfield. Algorithms on Strings, Trees, and Sequences - Computer Science and Computational Biology . Cambridge University Press, 1997
work page 1997
-
[24]
J. K¨ arkk¨ ainen and P. Sanders. Simple linear work suffix array construc- tion. In Automata, Languages and Programming, volume 2719 of LNCS, pages 943–955. Springer Berlin Heidelberg, 2003
work page 2003
-
[25]
J. K¨ arkk¨ ainen, P. Sanders, and S. Burkhardt. Linear work suffix array construction. J. ACM , 53:918–936, 2006
work page 2006
-
[26]
K. Kimura and A. Koike. Ultrafast SNP analysis using the Burrows - Wheeler transform of short-read data. Bioinformatics, 31(10):1577– 1583, 2015
work page 2015
- [27]
- [28]
-
[29]
V. M¨ akinen, D. Belazzougui, F. Cunial, and A. I. Tomescu. Genome- Scale Algorithm Design: Biological Sequence Analysis in th e Era of High- Throughput Sequencing. Cambridge University Press, 2015
work page 2015
-
[30]
S. Mantaci, A. Restivo, G. Rosone, and M. Sciortino. An extens ion of the Burrows-Wheeler Transform. Theor. Comput. Sci. , 387(3):298–312, 2007
work page 2007
-
[31]
S. Mantaci, A. Restivo, G. Rosone, and M. Sciortino. A new com- binatorial approach to sequence comparison. Theory Comput. Syst. , 42(3):411–429, 2008
work page 2008
-
[32]
S. Mantaci, A. Restivo, G. Rosone, and M. Sciortino. Burrows- Wheeler Transform and Run-Length Enconding. In Combinatorics on Words - 11th International Conference, WORDS 2017. Proceedings , volume 10432 of LNCS, pages 228–239. Springer, 2017. 26
work page 2017
-
[33]
S. Mantaci, A. Restivo, G. Rosone, M. Sciortino, and L. Versar i. Mea- suring the clustering effect of BWT via RLE. Theor. Comput. Sci. , 698:79–87, 2017
work page 2017
-
[34]
S. Mantaci, A. Restivo, and M. Sciortino. Burrows-Wheeler tra nsform and Sturmian words. Information Processing Letters, 86:241–246, 2003
work page 2003
-
[35]
S. Mantaci, A. Restivo, and M. Sciortino. Distance measures fo r bio- logical sequences: Some recent approaches. Int. J. Approx. Reasoning , 47(1):109–124, 2008
work page 2008
-
[36]
G. Manzini. An analysis of the Burrows-Wheeler transform. J. ACM , 48(3):407–430, 2001
work page 2001
-
[37]
G. Manzini and P. Ferragina. Engineering a lightweight suffix arra y construction algorithm. Algorithmica, 40:33–50, 2004
work page 2004
-
[38]
G. Navarro. Compact Data Structures - A Practical Approach . Cam- bridge University Press, 2016
work page 2016
- [39]
- [40]
-
[41]
A. Restivo and G. Rosone. Burrows-Wheeler transform and pa lindromic richness. Theor. Comput. Sci. , 410(30-32):3018 – 3026, 2009
work page 2009
-
[42]
A. Restivo and G. Rosone. Balancing and clustering of words in th e Burrows-Wheeler transform. Theor. Comput. Sci. , 412(27):3019 – 3032, 2011
work page 2011
-
[43]
C. Reutenauer. Mots de Lyndon g´ en´ eralis´ es 54.S´ em. Lothar. Combin., pages 16, B54h, 2006
work page 2006
-
[44]
G. Rosone and M. Sciortino. The Burrows-Wheeler Transform b e- tween Data Compression and Combinatorics on Words. In The Nature of Computation. Logic, Algorithms, Applications - 9th Conf erence on Computability in Europe, CiE 2013. Proceedings , volume 7921 of LNCS, pages 353–364. Springer, 2013
work page 2013
- [45]
- [46]
-
[47]
J. Simpson and S. J. Puglisi. Words with simple Burrows-Wheeler tr ans- forms. Electronic Journal of Combinatorics , 15, article R83, 2008
work page 2008
-
[48]
L. Yang, X. Zhang, and T. Wang. The Burrows-Wheeler similarity dis- tribution between biological sequences based on Burrows-Wheeler trans- form. Journal of Theoretical Biology , 262(4):742–749, 2010. 28
work page 2010
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.