Efficient Online Random Sampling via Randomness Recycling
Thomas L. Draper, Feras A. Saad

TL;DR
This paper introduces an efficient online random sampling method using randomness recycling, achieving near-optimal entropy cost with minimal space, and demonstrates practical improvements in sampling algorithms.
Contribution
It presents a novel randomness recycling technique that reduces entropy consumption and space requirements in online sampling algorithms, improving upon prior methods.
Findings
Achieves near Shannon lower bound in entropy cost with logarithmic space complexity.
Enhances the efficiency of Fisher-Yates shuffle with cryptographic PRNGs.
Reduces entropy cost in discrete Gaussian sampling.
Abstract
This article studies the fundamental problem of using i.i.d. coin tosses from an entropy source to efficiently generate random variables , where is a random sequence of rational discrete probability distributions subject to an \textit{arbitrary} stochastic process. Our method achieves an amortized expected entropy cost within bits of the information-theoretically optimal Shannon lower bound using space. This result holds both pointwise in terms of the Shannon information content conditioned on and , and in expectation to obtain a rate of bits per sample as (where is the Shannon entropy). The combination of space, time, and entropy properties of our method improves upon the Knuth and Yao (1976) entropy-optimal…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
