We study computational procedures that use both randomness and nondeterminism. Examples are Arthur-Merlin games and approximate counting and sampling of NP-witnesses. The goal of this paper is to derandomize such procedures under the weakest possible assumptions.
Our main technical contribution allows one to ``boost'' a given hardness assumption. One special case is a proof that
EXP \not\subseteq NP/poly implies EXP \not\subseteq P^{NP}_{||}/poly.
In words, if there is a problem in EXP that cannot be computed by poly-size nondeterministic circuits then there is one which cannot be computed by poly-size circuits which make non-adaptive NP oracle queries. This in particular shows that the various assumptions used over the last few years by several authors to derandomize Arthur-Merlin games (i.e., show AM=NP) are in fact all equivalent. In addition to simplifying the framework of AM derandomization, we show that this ``unified assumption'' suffices to derandomize several other probabilistic procedures.
For these results we define two new primitives that we regard as the natural pseudorandom objects associated with approximate counting and sampling of NP-witnesses. We use the ``boosting'' theorem (as well as some hashing techniques) to construct these primitives using an assumption that is no stronger than that used to derandomize Arthur-Merlin games. As a consequence, under this assumption, there are deterministic polynomial time algorithms that use non-adaptive NP-queries and perform the following tasks:
(1) approximate counting of NP-witnesses: given a Boolean circuit A, output r such that (1-\epsilon)|A^{-1}(1)| \le r \le |A^{-1}(1)|.
(2) pseudorandom sampling of NP-witnesses: given a Boolean circuit A, produce a polynomial-size sample space that is computationally indistinguishable from the uniform distribution over A^{-1}(1).
We also present applications. For example, we observe that Cai's proof that S_2^p \subseteq ZPP^{NP} and the learning algorithm of Bshouty et al. can be seen as non-randomized reductions to sampling. As a consequence they can be derandomized under the assumption stated above, which is weaker than the assumption that was previously known to suffice.