[Paper Review] On Bijective Variants of the Burrows-Wheeler Transform
This paper presents two bijective variants of the Burrows-Wheeler Transform (BWT) and the Sort Transform (ST), eliminating the need for an index or end-of-string marker by leveraging Lyndon factorization and a novel k-order context graph. The key contribution is a constructive proof of bijectivity for both transforms, along with efficient inverse algorithms using graph-based reconstruction, offering improved data compression and cryptographic security through lossless, one-to-one mappings without redundancy.
The sort transform (ST) is a modification of the Burrows-Wheeler transform (BWT). Both transformations map an arbitrary word of length n to a pair consisting of a word of length n and an index between 1 and n. The BWT sorts all rotation conjugates of the input word, whereas the ST of order k only uses the first k letters for sorting all such conjugates. If two conjugates start with the same prefix of length k, then the indices of the rotations are used for tie-breaking. Both transforms output the sequence of the last letters of the sorted list and the index of the input within the sorted list. In this paper, we discuss a bijective variant of the BWT (due to Scott), proving its correctness and relations to other results due to Gessel and Reutenauer (1993) and Crochemore, Desarmenien, and Perrin (2005). Further, we present a novel bijective variant of the ST.
Motivation & Objective
- To develop bijective variants of the Burrows-Wheeler Transform (BWT) that eliminate redundancy from indices or end-of-string markers.
- To extend bijectivity to the Sort Transform (ST), a BWT variant that uses only the first k letters for sorting conjugates.
- To provide constructive proofs of injectivity and surjectivity for both bijective transforms.
- To design efficient inverse algorithms using a novel k-order context graph structure for reconstructing the original word.
- To unify and clarify connections between Scott’s bijective BWT, Gessel-Reutenauer theory, and Crochemore-Désarménien-Perrin results in combinatorics on words.
Proposed method
- Uses Lyndon factorization as a core structural component to define the bijective BWT, ensuring a unique decomposition of the input word.
- Applies a k-order context graph to model the structure of conjugates in the bijective ST, where nodes represent k-length contexts and edges represent transitions.
- Employs a greedy traversal strategy on the k-order context graph, always selecting the smallest available outgoing edge by label, to reconstruct the original word from the transformed output.
- Constructs the inverse of the bijective ST by simulating the forward transform in reverse using the context graph and standard permutation of the output.
- Introduces a modified sorting criterion in the ST where tie-breaking uses rotation indices only when the first k letters are equal.
- Proves bijectivity through a constructive algorithm that recovers the original word from the transformed output and context graph, ensuring one-to-one correspondence.
Experimental results
Research questions
- RQ1Can the Burrows-Wheeler Transform be made bijective without using an index or end-of-string marker?
- RQ2How can the Sort Transform (ST) be modified to achieve bijectivity while preserving its structural properties?
- RQ3What is the role of Lyndon factorization in enabling a bijective BWT, and how does it relate to existing combinatorial results?
- RQ4Can a k-order context graph be used as a generalization of the standard permutation to enable efficient inverse computation for the bijective ST?
- RQ5How do the bijective BWT and bijective ST relate to the Gessel-Reutenauer transform and other known results in combinatorics on words?
Key findings
- The bijective BWT, based on Lyndon factorization, is proven to be a one-to-one correspondence between words of length n and their transformed outputs, eliminating the need for an index or end-of-string marker.
- The bijective ST is introduced as a novel variant of the ST that achieves bijectivity by using a k-order context graph to encode conjugate relationships and enable lossless reconstruction.
- The inverse of the bijective ST is computed via a greedy traversal of the k-order context graph, which systematically outputs symbols from right to left, reconstructing the original word as the reversal of the output sequence.
- The k-order context graph generalizes the standard permutation used in BWT inverse computation, providing a structural intermediate step for inverse algorithms.
- For the specific example with w = bcbccbcbcabbaaba and k=2, the bijective ST and bijective BWT produce identical outputs, demonstrating equivalence in certain cases.
- The algorithmic reconstruction of the original word from the bijective ST output is correct and terminates only when all edges in the context graph are consumed, ensuring completeness and correctness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.