Nearly optimal Bernoulli factories for linear functions
Abstract
Suppose that are independent identically distributed Bernoulli random variables with mean . A Bernoulli factory for a function takes as input and outputs a random variable that is Bernoulli with mean A fast algorithm is a function that only depends on the values of , where is a stopping time with small mean. When is a real analytic function the problem reduces to being able to draw from linear functions for a constant . Also it is necessary that for known . Previous methods for this problem required extensive modification of the algorithm for every value of and . These methods did not have explicit bounds on as a function of and . This paper presents the first Bernoulli factory for with bounds on as a function of the input parameters. In fact, In addition, this method is very simple to implement. Furthermore, a lower bound on the average running time of any Bernoulli factory is shown. For , , so the new method is optimal up to a constant in the running time.
Keywords
Cite
@article{arxiv.1308.1562,
title = {Nearly optimal Bernoulli factories for linear functions},
author = {Mark Huber},
journal= {arXiv preprint arXiv:1308.1562},
year = {2016}
}
Comments
15 pages; Corrected typo in Theorem 3: changed (1 - \gamma)^{2} to (1 - \gamma^{-2}) in the definition of r