English

Optimal linear Bernoulli factories for small mean problems

Probability 2016-09-29 v2 Computational Complexity Data Structures and Algorithms Computation

Abstract

Suppose a coin with unknown probability pp of heads can be flipped as often as desired. A Bernoulli factory for a function ff is an algorithm that uses flips of the coin together with auxiliary randomness to flip a single coin with probability f(p)f(p) of heads. Applications include near perfect sampling from the stationary distribution of regenerative processes. When ff is analytic, the problem can be reduced to a Bernoulli factory of the form f(p)=Cpf(p) = Cp for constant CC. Presented here is a new algorithm where for small values of CpCp, requires roughly only CC coin flips to generate a CpCp coin. From information theory considerations, this is also conjectured to be (to first order) the minimum number of flips needed by any such algorithm. For CpCp large, the new algorithm can also be used to build a new Bernoulli factory that uses only 80\% of the expected coin flips of the older method, and applies to the more general problem of a multivariate Bernoulli factory, where there are kk coins, the kkth coin has unknown probability pkp_k of heads, and the goal is to simulate a coin flip with probability C1p1++CkpkC_1 p_1 + \cdots + C_k p_k of heads.

Cite

@article{arxiv.1507.00843,
  title  = {Optimal linear Bernoulli factories for small mean problems},
  author = {Mark Huber},
  journal= {arXiv preprint arXiv:1507.00843},
  year   = {2016}
}

Comments

21 pages

R2 v1 2026-06-22T10:05:06.632Z