Twenty (simple) questions
A basic combinatorial interpretation of Shannon's entropy function is via the "20 questions" game. This cooperative game is played by two players, Alice and Bob: Alice picks a distribution over the numbers , and announces it to Bob. She then chooses a number according to , and Bob attempts to identify using as few Yes/No queries as possible, on average. An optimal strategy for the "20 questions" game is given by a Huffman code for : Bob's questions reveal the codeword for bit by bit. This strategy finds using fewer than questions on average. However, the questions asked by Bob could be arbitrary. In this paper, we investigate the following question: Are there restricted sets of questions that match the performance of Huffman codes, either exactly or approximately? Our first main result shows that for every distribution , Bob has a strategy that uses only questions of the form "?" and "?", and uncovers using at most questions on average, matching the performance of Huffman codes in this sense. We also give a natural set of questions that achieve a performance of at most , and show that questions are required to achieve such a guarantee. Our second main result gives a set of questions such that for every distribution , Bob can implement an optimal strategy for using only questions from . We also show that questions are needed, for infinitely many . If we allow a small slack of over the optimal strategy, then roughly questions are necessary and sufficient.
View on arXiv