mlsanityData to 26 Nov 2026

Efficient Lempel-Ziv Prediction with the Run-Length BWT

arXiv 2611.01874 ↗Submitted 1 Nov 2026cs.DS cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Lempel-Ziv Plurality (LZP) is an algorithm of Kosoy that predicts the next symbol of a string by using its Lempel-Ziv factorization, and makes at most O(zlog n) mistakes on every string of length n with z LZ77 phrases. We give efficient online implementations of LZP and of a new variant of it. Our first implementation maintains a run-length encoded Burrows-Wheeler transform (RLBWT) of the reversed history. It implements LZP, uses O(zlog zlog2 n) bits, and has worst-case update and prediction times O(log z+loglog n) and O(σ(log z+loglog n)), respectively, where σ is the size of the alphabet. This is an exponential improvement over Kosoy's implementation, whose update time is O(zlog7 n). We then introduce the Lempel-Ziv Majority (LZM) predictor, which has the same mistake bound and update time, and predicts in O(1) time independently of σ. These two predictors accept new symbols at any time, without knowing the alphabet in advance. For an alphabet known in advance, a different data structure gives O(σ(1+log z/loglog n)) time per symbol, which is constant when σ=O(1) and z=polylog(n).

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 6 of its 27 references that are in the map. Submitted 1 Nov 2026.

Builds on

6 of 27 references.

References · 6

  1. 2026Stringological sequence prediction I: efficient algorithms for predicting highly repetitive sequencescited by 3
  2. 2014Dynamic Integer Sets with Optimal Rank, Select, and Predecessor Searchcited by 1
  3. 2015Dynamic Relative Compression, Dynamic Partial Sums, and Substring Concatenationcited by 1
  4. 2015Compressed Data Structures for Dynamic Sequencescited by 1
  5. 2022An Optimal-Time RLBWT Construction in BWT-runs Bounded Spacecited by 1
  6. 2026Stringological sequence prediction III: layered ziplines and a tradeoff between efficiency and expressivitycited by 1

Built on by

Not cited yet.