Skip to main content
QUICK REVIEW

[Paper Review] Improved ESP-index: a practical self-index for highly repetitive texts

Yoshimasa Takabatake, Yasuo Tabei|arXiv (Cornell University)|Apr 19, 2014
Natural Language Processing TechniquesComputer Science10 references9 citations
TL;DR

This paper proposes ESP-index-I, an improved self-index for highly repetitive texts that accelerates query searches by replacing binary searches in ESP-index with fast rank/select operations on succinct data structures. It achieves faster query performance while maintaining high compression, outperforming SLP-index, LZ-index, and FM-index in both speed and space efficiency on real-world repetitive datasets including genomes and Wikipedia.

ABSTRACT

While several self-indexes for highly repetitive texts exist, developing a practical self-index applicable to real world repetitive texts remains a challenge. ESP-index is a grammar-based self-index on the notion of edit-sensitive parsing (ESP), an efficient parsing algorithm that guarantees upper bounds of parsing discrepancies between different appearances of the same subtexts in a text. Although ESP-index performs efficient top-down searches of query texts, it has a serious issue on binary searches for finding appearances of variables for a query text, which resulted in slowing down the query searches. We present an improved ESP-index (ESP-index-I) by leveraging the idea behind succinct data structures for large alphabets. While ESP-index-I keeps the same types of efficiencies as ESP-index about the top-down searches, it avoid the binary searches using fast rank/select operations. We experimentally test ESP-index-I on the ability to search query texts and extract subtexts from real world repetitive texts on a large-scale, and we show that ESP-index-I performs better that other possible approaches.

Motivation & Objective

  • To address the performance bottleneck in ESP-index caused by slow binary searches during query processing.
  • To develop a practical, grammar-based self-index suitable for large-scale repetitive texts such as genomic sequences and version-controlled source code.
  • To improve query search efficiency without sacrificing the high compression ratio inherent in grammar-compressed self-indexes.
  • To enable scalable processing of massive repetitive text collections beyond 32-bit input limits, where prior methods fail.

Proposed method

  • Replaces the DAG encoding of ESP-index using two succinct data structures with a single bit string and integer array based on rank/select dictionaries for large alphabets.
  • Leverages fast O(1)-time select operations to eliminate binary searches for locating variable appearances in query matching.
  • Encodes the ESP parse tree using succinct representations that support efficient top-down traversal and subtext extraction.
  • Integrates the edit-sensitive parsing (ESP) framework to ensure bounded parsing discrepancies across repeated subtexts.
  • Uses a compact representation of the context-free grammar (CFG) derived from ESP parsing to minimize space usage.
  • Supports both counting and locating queries via optimized traversal of the grammar-based index structure.

Experimental results

Research questions

  • RQ1Can the binary search bottleneck in ESP-index be eliminated to improve query performance?
  • RQ2Does replacing traditional DAG encoding with rank/select-based succinct structures yield faster query times?
  • RQ3Can the improved index scale to large-scale repetitive texts like 12GB human genomes and 7.8GB Wikipedia dumps?
  • RQ4How does ESP-index-I compare in space efficiency and query speed to SLP-index, LZ-index, and FM-index on real-world data?
  • RQ5Is the new encoding method practical for real-world applications involving highly repetitive data?

Key findings

  • ESP-index-I reduced counting and locating query times by 1.4 to 4.3 times compared to ESP-index on 200MB DNA and English texts.
  • ESP-index-I achieved the smallest memory footprint among all tested methods, using only 156MB and 165MB for DNA and English texts, respectively, outperforming FM-index's 325MB and 482MB.
  • Construction time for ESP-index-I was comparable to ESP-index (around 80–95 seconds) and significantly faster than SLP-index (over 1,900 seconds).
  • On 12GB human genomes and 7.8GB Wikipedia texts, ESP-index-I successfully indexed and processed data beyond the 32-bit limit, where other methods failed.
  • ESP-index-I demonstrated competitive subtext extraction times among grammar-based self-indexes, outperforming SLP-index and LZ-index on large repetitive datasets.
  • The method achieved a 3.8GB index size for 12GB genomes and 594MB for 7.8GB Wikipedia, with 1.5GB and 246MB for position storage, showing high compressibility.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.