English

Greedy Poisson Rejection Sampling

Information Theory 2024-04-01 v5 math.IT

Abstract

One-shot channel simulation is a fundamental data compression problem concerned with encoding a single sample from a target distribution QQ using a coding distribution PP using as few bits as possible on average. Algorithms that solve this problem find applications in neural data compression and differential privacy and can serve as a more efficient alternative to quantization-based methods. Sadly, existing solutions are too slow or have limited applicability, preventing widespread adoption. In this paper, we conclusively solve one-shot channel simulation for one-dimensional problems where the target-proposal density ratio is unimodal by describing an algorithm with optimal runtime. We achieve this by constructing a rejection sampling procedure equivalent to greedily searching over the points of a Poisson process. Hence, we call our algorithm greedy Poisson rejection sampling (GPRS) and analyze the correctness and time complexity of several of its variants. Finally, we empirically verify our theorems, demonstrating that GPRS significantly outperforms the current state-of-the-art method, A* coding. Our code is available at https://github.com/gergely-flamich/greedy-poisson-rejection-sampling.

Keywords

Cite

@article{arxiv.2305.15313,
  title  = {Greedy Poisson Rejection Sampling},
  author = {Gergely Flamich},
  journal= {arXiv preprint arXiv:2305.15313},
  year   = {2024}
}

Comments

V5: Fixed an error in the proof of Theorem 3.5

R2 v1 2026-06-28T10:44:51.485Z