Skip to main content
QUICK REVIEW

[Paper Review] Bounding the Average Move Structure Query for Faster and Smaller RLBWT Permutations

Nathaniel K. Brown, Ben Langmead|arXiv (Cornell University)|Feb 11, 2026
Algorithms and Data CompressionComputer Science0 citations
TL;DR

The paper introduces a length capped move structure that bounds average move queries to optimal time with improved construction time, reducing space and enabling optimal-time BWT inversion and SA enumeration in RLBWT permutations.

ABSTRACT

The move structure represents permutations with long contiguously permuted intervals in compressed space with optimal query time. They have become an important feature of compressed text indexes using space proportional to the number of Burrows-Wheeler Transform (BWT) runs, often applied in genomics. This is in thanks not only to theoretical improvements over past approaches, but great cache efficiency and average case query time in practice. This is true even without using the worst case guarantees provided by the interval splitting balancing of the original result. In this paper, we show that an even simpler type of splitting, length capping by truncating long intervals, bounds the average move structure query time to optimal whilst obtaining a superior construction time than the traditional approach. This also proves constant query time when amortized over a full traversal of a single cycle permutation from an arbitrary starting position. Such a scheme has surprising benefits both in theory and practice. For a move structure with $r$ runs over a domain $n$, we replace all $O(r \log n)$-bit components to reduce the overall representation by $O(r \log r)$-bits. The worst case query time is also improved to $O(\log \frac{n}{r})$ without balancing. An $O(r)$-time and $O(r)$-space construction lets us apply the method to run-length encoded BWT (RLBWT) permutations such as LF and $ϕ$ to obtain optimal-time algorithms for BWT inversion and suffix array (SA) enumeration in $O(r)$ additional working space. Finally, we provide the RunPerm library, providing flexible plug and play move structure support, and use it to evaluate our splitting approach. Experiments find length capping results in faster move structures, but also a space reduction: at least $\sim 40\%$ for LF across large repetitive genomic collections.

Motivation & Objective

  • Motivate compressed indexes for repetitive genomic data using RLBWT and move structures.
  • Propose a length capped splitting method to bound average move query time while reducing space.
  • Show that unbalanced move structures can be transformed with linear-time construction into length capped variants.
  • Demonstrate practical performance benefits via the RunPerm library on LF and phi permutations.

Proposed method

  • Define move structure for permutations with r runs and O(r) space.
  • Introduce length capping: split intervals so max length L = c * (n/r).
  • Prove that length capped move structures have average O(1) time per move query over n steps (single cycle) and total O(n) time.
  • Show worst-case per-move query improves to O(log(n/r)) without balancing.
  • Provide O(r)-time, O(r)-space construction and enable BWT inversion and SA enumeration in O(n) time with O(r) space.
  • Implement RunPerm library with bitpacked representations and support for LF, FL, phi, and phi^{-1} variants.

Experimental results

Research questions

  • RQ1Can length capping guarantee constant amortized time for move queries across a full cycle permutation?
  • RQ2How much space can be saved by replacing O(r log n) bit components with length capped representations?
  • RQ3Can length capped move structures support optimal-time BWT inversion and SA enumeration in RLBWT permutations?
  • RQ4What are the practical performance and space trade-offs compared to balanced move structures like Move-r in real genomic datasets?

Key findings

  • Length cap (max interval length L = c * n/r) yields an average of at most c+1 fast forwards per query across n distinct move queries.
  • Total number of fast forwards across all n queries is bounded by n*c + n, giving O(n) total time for n queries (amortized O(1) per query).
  • Replacing O(r log n) bit components with length capped representations reduces space by roughly O(r log r) bits.
  • Worst-case per-move query improves to O(log(n/r)) with exponential search on a length capped structure.
  • For RLBWT permutations LF and φ (and inverses), length capped move structures enable optimal O(n) BWT inversion and SA enumeration with O(r) extra space.
  • Experimental results show length capping yields faster average move queries and substantial space reductions (≈40-46%) compared to unbalanced or traditional balancing approaches in LF-based settings.
  • RunPerm library implements length capping and shows it often outperforms balancing-only methods, with best results when combining length capping and balancing.

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.