English

The entropy of lies: playing twenty questions with a liar

Data Structures and Algorithms 2018-11-07 v1 Discrete Mathematics Combinatorics

Abstract

`Twenty questions' is a guessing game played by two players: Bob thinks of an integer between 11 and nn, and Alice's goal is to recover it using a minimal number of Yes/No questions. Shannon's entropy has a natural interpretation in this context. It characterizes the average number of questions used by an optimal strategy in the distributional variant of the game: let μ\mu be a distribution over [n][n], then the average number of questions used by an optimal strategy that recovers xμx\sim \mu is between H(μ)H(\mu) and H(μ)+1H(\mu)+1. We consider an extension of this game where at most kk questions can be answered falsely. We extend the classical result by showing that an optimal strategy uses roughly H(μ)+kH2(μ)H(\mu) + k H_2(\mu) questions, where H2(μ)=xμ(x)loglog1μ(x)H_2(\mu) = \sum_x \mu(x)\log\log\frac{1}{\mu(x)}. This also generalizes a result by Rivest et al. for the uniform distribution. Moreover, we design near optimal strategies that only use comparison queries of the form `xcx \leq c?' for c[n]c\in[n]. The usage of comparison queries lends itself naturally to the context of sorting, where we derive sorting algorithms in the presence of adversarial noise.

Keywords

Cite

@article{arxiv.1811.02177,
  title  = {The entropy of lies: playing twenty questions with a liar},
  author = {Yuval Dagan and Yuval Filmus and Daniel Kane and Shay Moran},
  journal= {arXiv preprint arXiv:1811.02177},
  year   = {2018}
}