On multidimensional generalization of binary search (2404.13193v1)
Abstract: This work generalizes the binary search problem to a $d$-dimensional domain $S_1\times\cdots\times S_d$, where $S_i={0, 1, \ldots,n_i-1}$ and $d\geq 1$, in the following way. Given $(t_1,\ldots,t_d)$, the target element to be found, the result of a comparison of a selected element $(x_1,\ldots,x_d)$ is the sequence of inequalities each stating that either $t_i < x_i$ or $t_i>x_i$, for $i\in{1,\ldots,d}$, for which at least one is correct, and the algorithm does not know the coordinate $i$ on which the correct direction to the target is given. Among other cases, we show asymptotically almost matching lower and upper bounds of the query complexity to be in $\Omega(n{d-1}/d)$ and $O(nd)$ for the case of $n_i=n$. In particular, for fixed $d$ these bounds asymptotically do match. This problem is equivalent to the classical binary search in case of one dimension and shows interesting differences for higher dimensions. For example, if one would impose that each of the $d$ inequalities is correct, then the search can be completed in $\log_2\max{n_1,\ldots,n_d}$ queries. In an intermediate model when the algorithm knows which one of the inequalities is correct the sufficient number of queries is $\log_2(n_1\cdot\ldots\cdot n_d)$. The latter follows from a graph search model proposed by Emamjomeh-Zadeh et al. [STOC 2016].
- Optimal search in trees. SIAM J. Comput., 28(6):2090–2102, 1999.
- The bayesian learner is optimal for noisy binary search (and pretty good for quantum as well). In FOCS, pages 221–230, 2008.
- Navigating in trees with permanently noisy advice. ACM Trans. Algorithms, 17(2):15:1–15:27, 2021.
- Group testing with unreliable tests. Inf. Sci., 96(1&2):1–14, 1997.
- A group testing problem. SIAM J. Algebraic Discret. Methods, 1(1):21–24, 1980.
- The binary identification problem for weighted trees. Theor. Comput. Sci., 459:100–112, 2012.
- On the tree search problem with non-uniform costs. Theor. Comput. Sci., 647:22–32, 2016.
- Binary search in graphs revisited. Algorithmica, 81(5):1757–1780, 2019.
- Christian Deppe. Coding with Feedback and Searching with Lies, pages 27–70. Springer Berlin Heidelberg, Berlin, Heidelberg, 2007.
- Dariusz Dereniowski. Edge ranking and searching in partial orders. Discret. Appl. Math., 156(13):2493–2500, 2008.
- Edge and pair queries-random graphs and complexity. Electron. J. Comb., 30(2), 2023.
- Approximation strategies for generalized binary search in weighted trees. In ICALP, pages 84:1–84:14, 2017.
- An efficient noisy binary search in graphs via median approximation. In IWOCA, volume 12757, pages 265–281, 2021.
- Noisy searching: simple, fast and correct. CoRR, abs/2107.05753, 2021.
- On a hypergraph approach to multistage group testing problems. In ISIT, pages 1183–1191. IEEE, 2016.
- A general framework for robust interactive learning. In NIPS, pages 7085–7094, 2017.
- Interactive learning of a dynamic structure. In ALT, pages 277–296, 2020.
- Deterministic and probabilistic binary search in graphs. In STOC, pages 519–532, 2016.
- Computing with noisy information. SIAM J. Comput., 23(5):1001–1018, 1994.
- Noisy binary search and its applications. In SODA, pages 881–890, 2007.
- Optimal edge ranking of trees in linear time. Algorithmica, 30(1):12–33, 2001.
- Finding an optimal tree searching strategy in linear time. In SODA, pages 1096–1105, 2008.
- Tree-depth, subgraph coloring and homomorphism bounds. Eur. J. Comb., 27(6):1022–1041, 2006.
- Generalization of binary search: Searching in trees and forest-like partial orders. In FOCS, pages 379–388, 2006.
- Andrzej Pelc. Searching games with errors—fifty years of coping with liars. Theoretical Computer Science, 270(1):71 – 109, 2002.