arXiv:2611.17223cs.DSNov 2026

Manuscript Offprint

arXiv:2611.17223

Combinatorial Bernoulli Factories with Polynomially Many Coins

Renato Paes Leme, Rad Niazadeh

Abstract

We provide an efficient implementation of combinatorial Bernoulli factories. Such a factory turns coins of unknown biases xx into a random vertex of a polytope PP whose mean is exactly xx. For every affine slice of the cube (the class of polytopes that admit a factory), we give a single algorithm whose expected number of coin flips and running time at every interior xx are polynomial in the dimension and in 1/δ∗1/{δ_*}, where ${δ_*}=\min_i\{x_i,1-x_i\}$ is never supplied to the algorithm. For perfect matchings this gives O(n8δ∗−2log⁡(n/δ∗))O(n^{8}{δ_*}^{-2}\log(n/{δ_*})) flips, while the factory of Niazadeh, Paes Leme, and Schneider [STOC 2021] spends at least n2n−1n^{2n-1} flips in expectation at the uniform doubly stochastic matrix. For other polytopes, our method rounds exactly given a point deep inside PP and the promise that xx is far from the boundary of PP.

A PDF page turning into lines of clean text

Preparing the full text

It will appear here by itself. You can read the abstract meanwhile.