{"title":"在高手中学习多重秘密","authors":"Milind Prabhu, David Woodruff","doi":"arxiv-2409.06453","DOIUrl":null,"url":null,"abstract":"In the Generalized Mastermind problem, there is an unknown subset $H$ of the\nhypercube $\\{0,1\\}^d$ containing $n$ points. The goal is to learn $H$ by making\na few queries to an oracle, which, given a point $q$ in $\\{0,1\\}^d$, returns\nthe point in $H$ nearest to $q$. We give a two-round adaptive algorithm for\nthis problem that learns $H$ while making at most $\\exp(\\tilde{O}(\\sqrt{d \\log\nn}))$ queries. Furthermore, we show that any $r$-round adaptive randomized\nalgorithm that learns $H$ with constant probability must make\n$\\exp(\\Omega(d^{3^{-(r-1)}}))$ queries even when the input has $\\text{poly}(d)$\npoints; thus, any $\\text{poly}(d)$ query algorithm must necessarily use\n$\\Omega(\\log \\log d)$ rounds of adaptivity. We give optimal query complexity\nbounds for the variant of the problem where queries are allowed to be from\n$\\{0,1,2\\}^d$. We also study a continuous variant of the problem in which $H$\nis a subset of unit vectors in $\\mathbb{R}^d$, and one can query unit vectors\nin $\\mathbb{R}^d$. For this setting, we give an $O(n^{d/2})$ query\ndeterministic algorithm to learn the hidden set of points.","PeriodicalId":501525,"journal":{"name":"arXiv - CS - Data Structures and Algorithms","volume":"4 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Learning Multiple Secrets in Mastermind\",\"authors\":\"Milind Prabhu, David Woodruff\",\"doi\":\"arxiv-2409.06453\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In the Generalized Mastermind problem, there is an unknown subset $H$ of the\\nhypercube $\\\\{0,1\\\\}^d$ containing $n$ points. The goal is to learn $H$ by making\\na few queries to an oracle, which, given a point $q$ in $\\\\{0,1\\\\}^d$, returns\\nthe point in $H$ nearest to $q$. We give a two-round adaptive algorithm for\\nthis problem that learns $H$ while making at most $\\\\exp(\\\\tilde{O}(\\\\sqrt{d \\\\log\\nn}))$ queries. Furthermore, we show that any $r$-round adaptive randomized\\nalgorithm that learns $H$ with constant probability must make\\n$\\\\exp(\\\\Omega(d^{3^{-(r-1)}}))$ queries even when the input has $\\\\text{poly}(d)$\\npoints; thus, any $\\\\text{poly}(d)$ query algorithm must necessarily use\\n$\\\\Omega(\\\\log \\\\log d)$ rounds of adaptivity. We give optimal query complexity\\nbounds for the variant of the problem where queries are allowed to be from\\n$\\\\{0,1,2\\\\}^d$. We also study a continuous variant of the problem in which $H$\\nis a subset of unit vectors in $\\\\mathbb{R}^d$, and one can query unit vectors\\nin $\\\\mathbb{R}^d$. For this setting, we give an $O(n^{d/2})$ query\\ndeterministic algorithm to learn the hidden set of points.\",\"PeriodicalId\":501525,\"journal\":{\"name\":\"arXiv - CS - Data Structures and Algorithms\",\"volume\":\"4 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-09-10\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Data Structures and Algorithms\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2409.06453\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Data Structures and Algorithms","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.06453","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
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 $\exp(\tilde{O}(\sqrt{d \log
n}))$ queries. Furthermore, we show that any $r$-round adaptive randomized
algorithm that learns $H$ with constant probability must make
$\exp(\Omega(d^{3^{-(r-1)}}))$ queries even when the input has $\text{poly}(d)$
points; thus, any $\text{poly}(d)$ query algorithm must necessarily use
$\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$. We also study a continuous variant of the problem in which $H$
is a subset of unit vectors in $\mathbb{R}^d$, and one can query unit vectors
in $\mathbb{R}^d$. For this setting, we give an $O(n^{d/2})$ query
deterministic algorithm to learn the hidden set of points.