Skip to main navigation Skip to search Skip to main content

Hierarchical Relative Lempel-Ziv Compression

  • University of Helsinki

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

87 Downloads (Orbit)

Abstract

Relative Lempel-Ziv (RLZ) parsing is a dictionary compression method in which a string S is compressed relative to a second string R (called the reference) by parsing S into a sequence of substrings that occur in R. RLZ is particularly effective at compressing sets of strings that have a high degree of similarity to the reference string, such as a set of genomes of individuals from the same species. With the now cheap cost of DNA sequencing, such datasets have become extremely abundant and are rapidly growing. In this paper, instead of using a single reference string for the entire collection, we investigate the use of different reference strings for subsets of the collection, with the aim of improving compression. In particular, we propose a new compression scheme hierarchical relative Lempel-Ziv (HRLZ) which form a rooted tree (or hierarchy) on the strings and then compress each string using RLZ with parent as reference, storing only the root of the tree in plain text. To decompress, we traverse the tree in BFS order starting at the root, decompressing children with respect to their parent. We show that this approach leads to a twofold improvement in compression on bacterial genome datasets, with negligible effect on decompression time compared to the standard single reference approach. We show that an effective hierarchy for a given set of strings can be constructed by computing the optimal arborescence of a completed weighted digraph of the strings, with weights as the number of phrases in the RLZ parsing of the source and destination vertices. We further show that instead of computing the complete graph, a sparse graph derived using locality-sensitive hashing can significantly reduce the cost of computing a good hierarchy, without adversely effecting compression performance.
Original languageEnglish
Title of host publicationProceedings of the 21st International Symposium on Experimental Algorithms (SEA 2023)
Volume265
PublisherSchloss Dagstuhl - Leibniz-Zentrum für Informatik
Publication date2023
Pages18:1-18:16
ISBN (Print)978-3-95977-279-2
DOIs
Publication statusPublished - 2023
Event21st Symposium on Experimental Algorithms - Barcelona, Spain
Duration: 24 Jul 202326 Jul 2023

Conference

Conference21st Symposium on Experimental Algorithms
Country/TerritorySpain
CityBarcelona
Period24/07/202326/07/2023

Keywords

  • Relative compression
  • Lempel-Ziv compression
  • RLZ
  • LZ77
  • String collections
  • Compressed representation
  • Data structures
  • Efficient algorithms

Fingerprint

Dive into the research topics of 'Hierarchical Relative Lempel-Ziv Compression'. Together they form a unique fingerprint.

Cite this