paper

Randomized Algorithms for Learning Partitions with Near Optimal Query Complexity in Constant Rounds

arXiv:2608.02176

Abstract

We study the round complexity of learning a hidden partition of an -element universe using PAIR queries: PAIR() tells us whether and belong to the same part of the partition or not. While it is easy to learn using queries using a basic algorithm and this query complexity is optimal, this basic algorithm is highly sequential. Black, Mazumdar, and Saha [COLT 2025] recently gave tight deterministic round/query tradeoffs when the number of parts of is known. In particular they prove rounds are sufficient and necessary to limit the number of queries to . They leave proving a randomized lower bound as an open direction. We show that randomization dramatically changes the picture. When the number of parts is known, we give a simple 3-round randomized algorithm using queries with high probability, and prove that 2 rounds require queries -- the same as deterministic algorithms. We also study a more general setting where the number of parts is unknown. In this case, we give a 4-round randomized algorithm using queries with high probability, and prove that 3-rounds cannot achieve near-optimal query complexity. Furthermore, we show an even bigger separation in this regime between randomized and deterministic algorithms: for the latter, rounds are necessary and sufficient to obtain near-optimal query complexity.