ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 1912.09229
51
9
v1v2 (latest)

From the Bernoulli Factory to a Dice Enterprise via Perfect Sampling of Markov Chains

19 December 2019
Giulio Morina
Krzysztof Latuszynski
P. Nayar
Alex Wendland
ArXiv (abs)PDFHTML
Abstract

Given a ppp-coin that lands heads with unknown probability ppp, we wish to produce an f(p)f(p)f(p)-coin for a given function f:(0,1)→(0,1)f: (0,1) \rightarrow (0,1)f:(0,1)→(0,1). This problem is commonly known as the Bernoulli Factory and results on its solvability and complexity have been obtained in \cite{Keane1994,Nacu2005}. Nevertheless, generic ways to design a practical Bernoulli Factory for a given function fff exist only in a few special cases. We present a constructive way to build an efficient Bernoulli Factory when f(p)f(p)f(p) is a rational function with coefficients in R\mathbb{R}R. Moreover, we extend the Bernoulli Factory problem to a more general setting where we have access to an mmm-sided die and we wish to roll a vvv-sided one; i.e., we consider rational functions f:Δm−1→Δv−1f: \Delta^{m-1} \rightarrow \Delta^{v-1}f:Δm−1→Δv−1 between open probability simplices. Our construction consists of rephrasing the original problem as simulating from the stationary distribution of a certain class of Markov chains - a task that we show can be achieved using perfect simulation techniques with the original mmm-sided die as the only source of randomness. In the Bernoulli Factory case, the number of tosses needed by the algorithm has exponential tails and its expected value can be bounded uniformly in ppp. En route to optimizing the algorithm we show a fact of independent interest: every finite, integer valued, random variable will eventually become log-concave after convolving with enough Bernoulli trials.

View on arXiv
Comments on this paper