ICML2024

Learning Multiple Secrets in Mastermind

Milind Prabhu, David P. Woodruff

摘要

In the Generalized Mastermind problem, there is an unknown subset HH of the hypercube {0,1}d\{0,1\}^d containing nn points. The goal is to learn HH by making a few queries to an oracle, which, given a point qq in {0,1}d\{0,1\}^d, returns the point in HH nearest to qq. We give a two-round adaptive algorithm for this problem that learns HH while making at most exp(O~(dlogn))\exp(\tilde{O}(\sqrt{d \log n})) queries. Furthermore, we show that any rr-round adaptive randomized algorithm that learns HH with constant probability must make exp(Ω(d3(r1)))\exp(\Omega(d^{3^{-(r-1)}})) queries even when the input has poly(d)\text{poly}(d) points; thus, any poly(d)\text{poly}(d) query algorithm must necessarily use Ω(loglogd)\Omega(\log \log d) rounds of adaptivity. We give optimal query complexity bounds for the variant of the problem where queries are allowed to be from {0,1,2}d\{0,1,2\}^d. We also study a continuous variant of the problem in which HH is a subset of unit vectors in Rd\mathbb{R}^d, and one can query unit vectors in Rd\mathbb{R}^d. For this setting, we give an O(nd/2)O(n^{d/2}) query deterministic algorithm to learn the hidden set of points.