arXiv:2611.01874v1 cs.DS

실행 길이 BWT를 이용한 효율적인 렘펠-지브 예측

Efficient Lempel-Ziv Prediction with the Run-Length BWT

Ohad Avnery

제출 2026-11-03

한국어 초록

렘펠-지브 다수결(Lempel-Ziv Plurality, LZP)은 Kosoy가 제안한 알고리즘으로, 문자열의 렘펠-지브 분해를 이용해 다음 기호를 예측하며, LZ77 구문이 $z$개인 길이 $n$의 모든 문자열에서 최대 $O(z\log n)$번만 오류를 범한다. 우리는 LZP와 그 새로운 변형의 효율적인 온라인 구현을 제시한다. 첫 번째 구현은 역순 이력의 실행 길이 부호화 버로우즈-휠러 변환(RLBWT)을 유지한다. 이는 LZP를 구현하고, $O(z\log z\log^2 n)$ 비트를 사용하며, 최악의 경우 갱신 및 예측 시간이 각각 $O(\log z+\log\log n)$과 $O(\sigma(\log z+\log\log n))$이다. 여기서 $\sigma$는 알파벳의 크기이다. 이는 갱신 시간이 $O(z\log^7 n)$인 Kosoy의 구현에 비해 지수적인 개선이다. 이어서 동일한 오류 상한과 갱신 시간을 가지면서 $\sigma$와 무관하게 $O(1)$ 시간에 예측하는 렘펠-지브 과반수(Lempel-Ziv Majority, LZM) 예측기를 소개한다. 이 두 예측기는 알파벳을 미리 알지 못해도 언제든 새로운 기호를 받아들인다. 알파벳이 미리 알려진 경우에는 다른 자료 구조를 통해 기호당 $O(\sigma(1+\log z/\log\log n))$ 시간이 소요되며, 이는 $\sigma=O(1)$이고 $z=\mathrm{polylog}(n)$일 때 상수이다.

원문 초록

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)$.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2611.01874v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.