Heuristics for the Run-length Encoded Burrows-Wheeler Transform Alphabet Ordering Problem

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Major, Lily, Clare, Amanda, Daykin, Jacqueline W., Mora, Benjamin, Zarges, Christine
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916952362975232
author Major, Lily
Clare, Amanda
Daykin, Jacqueline W.
Mora, Benjamin
Zarges, Christine
author_facet Major, Lily
Clare, Amanda
Daykin, Jacqueline W.
Mora, Benjamin
Zarges, Christine
contents The Burrows-Wheeler Transform (BWT) is a string transformation technique widely used in areas such as bioinformatics and file compression. Many applications combine a run-length encoding (RLE) with the BWT in a way which preserves the ability to query the compressed data efficiently. However, these methods may not take full advantage of the compressibility of the BWT as they do not modify the alphabet ordering for the sorting step embedded in computing the BWT. Indeed, any such alteration of the alphabet ordering can have a considerable impact on the output of the BWT, in particular on the number of runs. For an alphabet $Σ$ containing $σ$ characters, the space of all alphabet orderings is of size $σ!$. While for small alphabets an exhaustive investigation is possible, finding the optimal ordering for larger alphabets is not feasible. Therefore, there is a need for a more informed search strategy than brute-force sampling the entire space, which motivates a new heuristic approach. In this paper, we explore the non-trivial cases for the problem of minimizing the size of a run-length encoded BWT (RLBWT) via selecting a new ordering for the alphabet. We show that random sampling of the space of alphabet orderings usually gives sub-optimal orderings for compression and that a local search strategy can provide a large improvement in relatively few steps. We also inspect a selection of initial alphabet orderings, including ASCII, letter appearance, and letter frequency. While this alphabet ordering problem is computationally hard we demonstrate gain in compressibility.
format Preprint
id arxiv_https___arxiv_org_abs_2401_16435
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Heuristics for the Run-length Encoded Burrows-Wheeler Transform Alphabet Ordering Problem
Major, Lily
Clare, Amanda
Daykin, Jacqueline W.
Mora, Benjamin
Zarges, Christine
Discrete Mathematics
I.2.8
The Burrows-Wheeler Transform (BWT) is a string transformation technique widely used in areas such as bioinformatics and file compression. Many applications combine a run-length encoding (RLE) with the BWT in a way which preserves the ability to query the compressed data efficiently. However, these methods may not take full advantage of the compressibility of the BWT as they do not modify the alphabet ordering for the sorting step embedded in computing the BWT. Indeed, any such alteration of the alphabet ordering can have a considerable impact on the output of the BWT, in particular on the number of runs. For an alphabet $Σ$ containing $σ$ characters, the space of all alphabet orderings is of size $σ!$. While for small alphabets an exhaustive investigation is possible, finding the optimal ordering for larger alphabets is not feasible. Therefore, there is a need for a more informed search strategy than brute-force sampling the entire space, which motivates a new heuristic approach. In this paper, we explore the non-trivial cases for the problem of minimizing the size of a run-length encoded BWT (RLBWT) via selecting a new ordering for the alphabet. We show that random sampling of the space of alphabet orderings usually gives sub-optimal orderings for compression and that a local search strategy can provide a large improvement in relatively few steps. We also inspect a selection of initial alphabet orderings, including ASCII, letter appearance, and letter frequency. While this alphabet ordering problem is computationally hard we demonstrate gain in compressibility.
title Heuristics for the Run-length Encoded Burrows-Wheeler Transform Alphabet Ordering Problem
topic Discrete Mathematics
I.2.8
url https://arxiv.org/abs/2401.16435