The Query Complexity of a Permutation-Based Variant of Mastermind

12/20/2018
by   Peyman Afshani, et al.
0

We study the query complexity of a permutation-based variant of the guessing game Mastermind. In this variant, the secret is a pair (z,π) which consists of a binary string z ∈{0,1}^n and a permutation π of [n]. The secret must be unveiled by asking queries of the form x ∈{0,1}^n. For each such query, we are returned the score f_z,π(x):= { i ∈ [0..n]|∀ j ≤ i: z_π(j) = x_π(j)} ; i.e., the score of x is the length of the longest common prefix of x and z with respect to the order imposed by π. The goal is to minimize the number of queries needed to identify (z,π). This problem originates from the study of black-box optimization heuristics, where it is known as the LeadingOnes problem. In this work, we prove matching upper and lower bounds for the deterministic and randomized query complexity of this game, which are Θ(n n) and Θ(n n), respectively.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/25/2020

The Exact Query Complexity of Yes-No Permutation Mastermind

Mastermind is famous two-players game. The first player (codemaker) choo...
research
12/23/2017

Query-limited Black-box Attacks to Classifiers

We study black-box attacks on machine learning classifiers where each qu...
research
01/05/2023

Diagonalization Games

We study several variants of a combinatorial game which is based on Cant...
research
09/21/2019

Optimal query complexity for private sequential learning

Motivated by privacy concerns in many practical applications such as Fed...
research
11/13/2020

Substring Query Complexity of String Reconstruction

Suppose an oracle knows a string S that is unknown to us and we want to ...
research
06/23/2023

On the Two-sided Permutation Inversion Problem

In the permutation inversion problem, the task is to find the preimage o...
research
02/25/2020

The Power of Many Samples in Query Complexity

The randomized query complexity R(f) of a boolean function f{0,1}^n→{0,1...

Please sign up or login with your details

Forgot password? Click here to reset