English

Probabilistic analysis of arithmetic coding showing its robustness

Data Structures and Algorithms 2025-02-18 v1

Abstract

We probabilistically analyze the performance of the arithmetic coding algorithm under a probability model for binary data in which a message is received by a coder from a source emitting independent equally distributed bits, with 1 occurring with probability p(0,1)p\in(0,1) and 0 occurring with probability 1p1-p. We establish a functional equation for the bivariate moment generating function for the two ends of the final interval delivered by the algorithm. Via the method of moments, we show that the transmitted message converges in distribution to the standard continuous uniform random variable on the interval [0,1]. It is remarkable that the limiting distribution is the same for all pp, indicating robustness in the performance of arithmetic coding across an entire family of bit distributions. The nuance with pp appears only in the rate of convergence.

Keywords

Cite

@article{arxiv.2502.10935,
  title  = {Probabilistic analysis of arithmetic coding showing its robustness},
  author = {Hosam M. Mahmoud and Hans J. Rivertz},
  journal= {arXiv preprint arXiv:2502.10935},
  year   = {2025}
}
R2 v1 2026-06-28T21:45:41.237Z