Nearly optimal Bernoulli factories for linear functions

preprint2014arXivOpen access

Abstract

Suppose that X1,X2,…X_1,X_2,\ldots are independent identically distributed Bernoulli random variables with mean pp. A Bernoulli factory for a function ff takes as input X1,X2,…X_1,X_2,\ldots and outputs a random variable that is Bernoulli with mean f(p).f(p). A fast algorithm is a function that only depends on the values of X1,…,XTX_1,\ldots,X_T, where TT is a stopping time with small mean. When f(p)f(p) is a real analytic function the problem reduces to being able to draw from linear functions CpCp for a constant C>1C > 1. Also it is necessary that Cp≤1−εCp \leq 1 - ε for known ε>0ε> 0. Previous methods for this problem required extensive modification of the algorithm for every value of CC and εε. These methods did not have explicit bounds on E[T]\text{E}[T] as a function of CC and εε. This paper presents the first Bernoulli factory for f(p)=Cpf(p) = Cp with bounds on E[T]\text{E}[T] as a function of the input parameters. In fact, sup⁡p∈[0,(1−ε)/C]E[T]≤9.5Cε−1.\sup_{p \in [0,(1-ε)/C]} \text{E}[T] \leq 9.5Cε^{-1}. In addition, this method is very simple to implement. Furthermore, a lower bound on the average running time of any CpCp Bernoulli factory is shown. For ε≤1/2ε\leq 1/2, sup⁡p∈[0,(1−ε)/C]E[T]≥0.004Cε−1\sup_{p \in [0,(1 - ε)/C]} \text{E}[T] \geq 0.004 C ε^{-1}, so the new method is optimal up to a constant in the running time.

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.