HackerPapers

arXiv:1209.0730cs.IT

Streaming Algorithms for Optimal Generation of Random Bits

Hongchao Zhou, Jehoshua Bruck

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

Generating random bits from a source of biased coins (the biased is unknown) is a classical question that was originally studied by von Neumann. There are a number of known algorithms that have asymptotically optimal information efficiency, namely, the expected number of generated random bits per input bit is asymptotically close to the entropy of the source. However, only the original von Neumann algorithm has a `streaming property' - it operates on a single input bit at a time and it generates random bits when possible, alas, it does not have an optimal information efficiency. The main contribution of this paper is an algorithm that generates random bit streams from biased coins, uses bounded space and runs in expected linear time. As the size of the allotted space increases, the algorithm approaches the information-theoretic upper bound on efficiency. In addition, we discuss how to extend this algorithm to generate random bit streams from m-sided dice or correlated sources such as Markov chains.

arXiv comments
2 columns, 13 pages
Journal reference
DOI
Subjects
cs.ITInformation Theory cs.DSData Structures and Algorithms math.PRProbability

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Mar 2022 to Mar 2022.

Comments linking this paper, per year.

Discussed in comments1 thread

    • See also the paper "Streaming Algorithms for Optimal Generation of Random Bits" https://arxiv.org/pdf/1209.0730.pdf

      sjaakView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.