# Optimal linear Bernoulli factories for small mean problems

arXiv: https://arxiv.org/abs/1507.00843 · HTML: https://mlsanity.com/paper/1507.00843/

## Key facts

- Cited by 1 papers in the map (data through 24 Nov 2026).
- Submitted 3 Jul 2015.

## Built on by (most cited first, 1 of 1)

- [Combinatorial Bernoulli Factories with Polynomially Many Coins](https://mlsanity.com/paper/2611.17223/) (2026)

## Abstract (arXiv)

Suppose a coin with unknown probability p of heads can be flipped as often as desired. A Bernoulli factory for a function f is an algorithm that uses flips of the coin together with auxiliary randomness to flip a single coin with probability f(p) of heads. Applications include near perfect sampling from the stationary distribution of regenerative processes. When f is analytic, the problem can be reduced to a Bernoulli factory of the form f(p) = Cp for constant C. Presented here is a new algorithm where for small values of Cp, requires roughly only C coin flips to generate a Cp 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 Cp 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 k coins, the kth coin has unknown probability pk of heads, and the goal is to simulate a coin flip with probability C1 p1 + cdots + Ck pk of heads.
