Metraipolis › archive › dc_f2e337f9d3f9

Efficient Lempel-Ziv Prediction with the Run-Length BWT — arXiv:2611.01874

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.01874
License (as archived)
CC0-1.0
Archived
2026-11-03T11:25:12.953Z
SHA-256 of the archived text
3c9c0de79295952e445110b3ff83df09cf840c8dee271c0b35ad9e1b534d6441
Stable URL of this page
https://metraipolis.com/documento/dc_f2e337f9d3f9

How to cite

Efficient Lempel-Ziv Prediction with the Run-Length BWT — arXiv:2611.01874 — arXiv (en), https://arxiv.org/abs/2611.01874 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_f2e337f9d3f9 (Metraipolis archive dc_f2e337f9d3f9, sha256 3c9c0de79295952e445110b3ff83df09cf840c8dee271c0b35ad9e1b534d6441)
BibTeX
@misc{dcf2e337f9d3f9,
  title = {Efficient Lempel-Ziv Prediction with the Run-Length BWT — arXiv:2611.01874},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.01874},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_f2e337f9d3f9; sha256 3c9c0de79295952e445110b3ff83df09cf840c8dee271c0b35ad9e1b534d6441},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.01874. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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(z\log 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(z\log z\log^2 n)$ bits, and has worst-case update and prediction times $O(\log z+\log\log n)$ and $O(\sigma(\log z+\log\log n))$, respectively, where $\sigma$ is the size of the alphabet. This is an exponential improvement over Kosoy's implementation, whose update time is $O(z\log^7 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 $\sigma$. 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(\sigma(1+\log z/\log\log n))$ time per symbol, which is constant when $\sigma=O(1)$ and $z=\mathrm{polylog}(n)$.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.LG, nuovi lavori del giorno).
Categorie arXiv: Data Structures and Algorithms (cs.DS) ; Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2611.01874 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-03T11:02:37.838Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).