Abstract
To distinguish between random generation in bounded, as opposed to expected, polynomial time, a model of Probabalisic Turing Machine (PTM) with the ability to make random choices with any (small) rational bias is necessary. This ability is equivalent to that of being able to simulate rolling any k-sided die (where |k| is polynomial in the length of the input). We would like to minimize the amount of hardware required for a machine with this capability. This leads to the problem of efficiently simulating a family of dice with as few different types of biased coins as possible.
In the special case of simulaing one n-sided die, we prove that only two types of biased coins are necessary, which can be reduced to one if we allow irrationally biased coins. This simulation is efficient, taking O(log n) coin flips. For the general case we get a tight time vs. number of biases tradeoff; for example, with O(log n) different biases, we can simulate, for any i<n, an i-sided die in O(log n) coin flips.
Supported by NSF grant DCF-85-13926.
Supported by a grant from Digital Equipment Corporation.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Shimon Even, Graph Algorithms, Computer Science Press, 1979.
John Gill, “Computational Complexity of Probabilistic Turing Machines.,” Siam Journal on Computing, vol. 6, pp. 675–695, 1977.
Hardy and Wright, Introduction to Number Theory, Academic Press, 1972.
Hartshorne, Algebraic Geometry, Springer-Verlag, 1977.
Mark Jerrum, Leslie Valiant, and Vijay Vazirani, “Random Generation of Combinatorial Structures from a Uniform Distribution.,” Theoretical Computer Science, vol. 43, pp. 169–188, 1986.
Richard Karp, and Michael Luby, “Monte Carlo algorithms for enumeration and reliability problems.,” Proc. 24th IEEE Symp. on Foundations of Computer Science, pp. 56–64, 1983.
B. L. van der Waerden, Algebra, Frederick Ungar, 1970.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1989 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Feldman, D., Impagliazzo, R., Naor, M., Nisan, N., Rudich, S., Shamir, A. (1989). On dice and coins: models of computation for random generation. In: Ausiello, G., Dezani-Ciancaglini, M., Della Rocca, S.R. (eds) Automata, Languages and Programming. ICALP 1989. Lecture Notes in Computer Science, vol 372. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0035769
Download citation
DOI: https://doi.org/10.1007/BFb0035769
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-51371-1
Online ISBN: 978-3-540-46201-9
eBook Packages: Springer Book Archive
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
