Skip to main content
QUICK 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 Science被引用 0
一句话总结

论文提出一种长度限制的移动结构,该结构将平均移动查询限定在最优时间,同时改进构建时间,降低空间占用,并在 RLBWT 置换中实现最优时间的 BWT 反转和 SA 枚举。

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.

研究动机与目标

  • 使用 RLBWT 和移动结构来推动对重复基因组数据的压缩索引的研究。
  • 提出一种长度受限的分割方法,在减少空间的同时界定平均移动查询时间。
  • 证明不平衡移动结构可以通过线性时间构造转换为长度受限的变体。
  • 通过 RunPerm 库在 LF 和 φ 置换上展示实际性能收益。

提出的方法

  • 为含 r 条运行的置换定义移动结构,空间复杂度为 O(r)。
  • 引入长度截断:将区间分割,使最大长度 L = c * (n/r)。
  • 证明长度受限移动结构在 n 步(单循环)上平均每次移动查询的时间为 O(1),总时间为 O(n)。
  • 在不平衡情况下,最坏情况的每次移动查询提升为 O(log(n/r))。
  • 给出 O(r) 时间、O(r) 空间的构造,并使 BWT 反转和 SA 枚举在 O(n) 时间内实现,额外空间为 O(r)。
  • 实现 RunPerm 库,采用位打包表示,并支持 LF、FL、phi 及 phi^{-1} 变体。

实验结果

研究问题

  • RQ1长度截断是否能在完整循环置换中保证移动查询的常数时间摊销?
  • RQ2用长度受限表示替代 O(r log n) 位组件能节省多少空间?
  • RQ3长度受限移动结构能否在 RLBWT 置换中支持最优时间的 BWT 反转和 SA 枚举?
  • RQ4与像 Move-r 这样的平衡移动结构在真实基因组数据集上的实际性能和空间权衡如何?

主要发现

  • 长度上限(最大区间长度 L = c * n/r)在 n 次不同移动查询中平均至多产生 c+1 次快速向前跳转。
  • 在所有 n 次查询中,快速向前跳转的总次数被约束为 n*c + n,从而对 n 次查询得到 O(n) 的总时间(摊销每次查询 O(1))。
  • 用长度受限表示替换 O(r log n) 位组件可将空间大致降低为 O(r log r) 位。
  • 在长度受限结构上通过指数搜索,最坏情况的每次移动查询提升为 O(log(n/r))。
  • 对于 RLBWT 置换的 LF 和 φ(及其逆变体),长度受限移动结构使在额外 O(r) 空间情况下实现最优的 O(n) BWT 反转和 SA 枚举成为可能。
  • 实验结果表明,与未平衡或传统平衡方法相比,在 LF 基础设置中,长度截断能带来更快的平均移动查询和显著的空间减少(约 40-46%),RunPerm 库实现了长度截断,且通常优于仅平衡的方法,当将长度截断与平衡结合时效果最好。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。