Learning Multiple Secrets in Mastermind
Abstract
In the Generalized Mastermind problem, there is an unknown subset H of the hypercube \0,1\d containing n points. The goal is to learn H by making a few queries to an oracle, which, given a point q in \0,1\d, returns the point in H nearest to q. We give a two-round adaptive algorithm for this problem that learns H while making at most (O(d n)) queries. Furthermore, we show that any r-round adaptive randomized algorithm that learns H with constant probability must make ((d3-(r-1))) queries even when the input has poly(d) points; thus, any poly(d) query algorithm must necessarily use ( 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. We also study a continuous variant of the problem in which H is a subset of unit vectors in Rd, and one can query unit vectors in Rd. For this setting, we give an O(nd/2) query deterministic algorithm to learn the hidden set of points.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.