[Paper Review] Indexing Highly Repetitive String Collections
This paper surveys advanced indexing techniques for highly repetitive string collections—common in bioinformatics, versioned software, and web archives—by exploiting structural repetitiveness beyond statistical compression. It presents a unified framework of compression paradigms (e.g., Lempel-Ziv, grammar compression, Burrows-Wheeler Transform) and data structures (e.g., compressed suffix arrays, CDAWGs) that enable efficient pattern search in compressed space, achieving sublinear search times and space proportional to repetitiveness measures like $ z $, $ \gamma $, or $ r^* $, rather than full text size.
Two decades ago, a breakthrough in indexing string collections made it possible to represent them within their compressed space while at the same time offering indexed search functionalities. As this new technology permeated through applications like bioinformatics, the string collections experienced a growth that outperforms Moore's Law and challenges our ability of handling them even in compressed form. It turns out, fortunately, that many of these rapidly growing string collections are highly repetitive, so that their information content is orders of magnitude lower than their plain size. The statistical compression methods used for classical collections, however, are blind to this repetitiveness, and therefore a new set of techniques has been developed in order to properly exploit it. The resulting indexes form a new generation of data structures able to handle the huge repetitive string collections that we are facing. In this survey we cover the algorithmic developments that have led to these data structures. We describe the distinct compression paradigms that have been used to exploit repetitiveness, the fundamental algorithmic ideas that form the base of all the existing indexes, and the various structures that have been proposed, comparing them both in theoretical and practical aspects. We conclude with the current challenges in this fascinating field.
Motivation & Objective
- Address the challenge of indexing massive, highly repetitive string collections—common in genomics and versioned systems—where traditional compressed indexes fail due to poor compression ratios.
- Develop indexing methods that exploit structural repetitiveness (e.g., shared substrings, common versions) rather than just statistical redundancy.
- Design data structures that support fast pattern matching and queries (e.g., locate, count, document retrieval) directly on compressed representations.
- Achieve space efficiency proportional to repetitiveness measures (e.g., $ z $, $ \gamma $, $ r^* $) rather than the full text size, enabling scalable analysis of petabyte-scale collections.
- Introduce and formalize new query models—like contextual locating and range document listing—that reduce output bloat in repetitive settings.
Proposed method
- Use Lempel-Ziv-based measures ($ z $, $ z_{no} $, $ z_{end} $) to quantify repetitiveness and guide compression and indexing.
- Employ run-length grammars and enhanced context-free grammars to represent repetitive strings compactly and support efficient substring extraction and fingerprint computation.
- Leverage block trees and bookmarking techniques to enable fast random access and Karp-Rabin fingerprinting in compressed text.
- Apply BWT and CDAWG (Compressed Directed Acyclic Word Graph) to build suffix-based indexes that support pattern search and document retrieval in compressed space.
- Integrate parsing-based and suffix-based indexing with geometric data structures to track primary and secondary occurrences of patterns in the text.
- Design new query models such as contextual locating and granular document listing to reduce output size by clustering occurrences by context or version hierarchy.
Experimental results
Research questions
- RQ1How can we design compressed indexes that exploit structural repetitiveness in string collections more effectively than statistical compression?
- RQ2What are the fundamental algorithmic and data structure techniques that enable fast pattern search in compressed, highly repetitive text?
- RQ3Can we achieve sublinear search time and space proportional to repetitiveness measures (e.g., $ z $, $ \gamma $, $ r^* $) rather than full text size?
- RQ4How can we design new query models that reduce output bloat in repetitive collections, such as contextual or range-based document listing?
- RQ5What are the practical and theoretical tradeoffs between grammar-based, BWT-based, and block-tree-based compressed indexes in terms of space, time, and functionality?
Key findings
- The paper establishes that repetitiveness measures like $ z $, $ \gamma $, $ r^* $, and $ b $ are critical for characterizing the compressibility of string collections and guiding efficient indexing.
- Grammar-based indexes can support pattern search in $ O(m + occ \log n) $ time and $ O(g \log n) $ space, where $ g $ is the size of the smallest grammar compressing the text.
- Block trees and bookmarking enable efficient substring extraction and Karp-Rabin fingerprinting in $ O(\log n) $ time per operation, even in compressed form.
- BWT-based indexes can support pattern search in $ O(m + occ) $ time and $ O(r^*) $ space, where $ r^* $ is the sum of runs in the BWT and its reverse.
- The paper demonstrates that contextual locating can be solved in $ O(m + cocc \log n) $ time and $ O(r^* \log(n/r^*)) $ space, where $ cocc $ is the number of distinct contexts, significantly reducing output size.
- New query models like range and granular document listing can be supported in time proportional to the output size $ nrange $, rather than the number of documents $ docc $, by adapting inverted list structures to versioned hierarchies.
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.