Learning Partitions with Optimal Query and Round Complexities

We consider the basic problem of learning an unknown partition of elements into at most sets using simple queries that reveal information about a small subset of elements. Our starting point is the well-studied pairwise same-set queries which ask if a pair of elements belong to the same class. It is known that non-adaptive algorithms require queries, while adaptive algorithms require queries, and the best known algorithm uses rounds. This problem has been studied extensively over the last two decades in multiple communities due to its fundamental nature and relevance to clustering, active learning, and crowd sourcing. In many applications, it is of high interest to reduce adaptivity while minimizing query complexity. We give a complete characterization of the deterministic query complexity of this problem as a function of the number of rounds, , interpolating between the non-adaptive and adaptive settings: for any constant , the query complexity is . Our algorithm only needs rounds to attain the optimal query complexity.Next, we consider two generalizations of pairwise queries to subsets of size at most : (1) weak subset queries which return the number of classes intersected by , and (2) strong subset queries which return the entire partition restricted on . Once again in crowd sourcing applications, queries on large sets may be prohibitive. For non-adaptive algorithms, we show strong queries are needed. Perhaps surprisingly, we show that there is a non-adaptive algorithm using weak queries that matches this bound up to log-factors for all . More generally, we obtain nearly matching upper and lower bounds for algorithms using subset queries in terms of both the number of rounds, , and the query size bound, .
View on arXiv@article{black2025_2505.05009, title={ Learning Partitions with Optimal Query and Round Complexities }, author={ Hadley Black and Arya Mazumdar and Barna Saha }, journal={arXiv preprint arXiv:2505.05009}, year={ 2025 } }