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.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.