Document Open Access Logo

Balanced Allocations with Incomplete Information: The Power of Two Queries

Authors Dimitrios Los, Thomas Sauerwald

Thumbnail PDF


  • Filesize: 1.1 MB
  • 23 pages

Document Identifiers

Author Details

Dimitrios Los
  • Department of Computer Science & Technology, University of Cambridge, UK
Thomas Sauerwald
  • Department of Computer Science & Technology, University of Cambridge, UK

Cite AsGet BibTex

Dimitrios Los and Thomas Sauerwald. Balanced Allocations with Incomplete Information: The Power of Two Queries. In 13th Innovations in Theoretical Computer Science Conference (ITCS 2022). Leibniz International Proceedings in Informatics (LIPIcs), Volume 215, pp. 103:1-103:23, Schloss Dagstuhl - Leibniz-Zentrum fΓΌr Informatik (2022)


We consider the allocation of m balls into n bins with incomplete information. In the classical Two-Choice process a ball first queries the load of two randomly chosen bins and is then placed in the least loaded bin. In our setting, each ball also samples two random bins but can only estimate a bin’s load by sending binary queries of the form "Is the load at least the median?" or "Is the load at least 100?". For the lightly loaded case m = π’ͺ(n), Feldheim and Gurel-Gurevich (2021) showed that with one query it is possible to achieve a maximum load of π’ͺ(√{log n/log log n}), and they also pose the question whether a maximum load of m/n+π’ͺ(√{log n/log log n}) is possible for any m = Ξ©(n). In this work, we resolve this open problem by proving a lower bound of m/n+Ξ©(√{log n}) for a fixed m = Θ(n √{log n}), and a lower bound of m/n+Ξ©(log n/log log n) for some m depending on the used strategy. We complement this negative result by proving a positive result for multiple queries. In particular, we show that with only two binary queries per chosen bin, there is an oblivious strategy which ensures a maximum load of m/n+π’ͺ(√{log n}) for any m β‰₯ 1. Further, for any number of k = π’ͺ(log log n) binary queries, the upper bound on the maximum load improves to m/n + π’ͺ(k(log n)^{1/k}) for any m β‰₯ 1. This result for k queries has several interesting consequences: (i) it implies new bounds for the (1+Ξ²)-process introduced by Peres, Talwar and Wieder (2015), (ii) it leads to new bounds for the graphical balanced allocation process on dense expander graphs, and (iii) it recovers and generalizes the bound of m/n+π’ͺ(log log n) on the maximum load achieved by the Two-Choice process, including the heavily loaded case m = Ξ©(n) which was derived in previous works by Berenbrink et al. (2006) as well as Talwar and Wieder (2014). One novel aspect of our proofs is the use of multiple super-exponential potential functions, which might be of use in future work.

Subject Classification

ACM Subject Classification
  • Mathematics of computing β†’ Probability and statistics
  • Mathematics of computing β†’ Discrete mathematics
  • Theory of computation β†’ Randomness, geometry and discrete structures
  • Theory of computation β†’ Design and analysis of algorithms
  • power-of-two-choices
  • balanced allocations
  • potential functions
  • thinning


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads


  1. Dan Alistarh, Trevor Brown, Justin Kopinsky, Jerry Zheng Li, and Giorgi Nadiradze. Distributionally linearizable data structures. In Proceedings of 30th on Symposium on Parallelism in Algorithms and Architectures (SPAA'18), pages 133-142, 2018. URL:
  2. Dan Alistarh, Rati Gelashvili, and Joel Rybicki. Fast graphical population protocols, 2021. URL:
  3. Dan Alistarh, Giorgi Nadiradze, and Amirmojtaba Sabour. Dynamic averaging load balancing on cycles. In Proceedings of the 47th International Colloquium on Automata, Languages, and Programming (ICALP'20), volume 168, pages 7:1-7:16, 2020. URL:
  4. Noga Alon, Ori Gurel-Gurevich, and Eyal Lubetzky. Choice-memory tradeoff in allocations. Ann. Appl. Probab., 20(4):1470-1511, 2010. URL:
  5. Yossi Azar, Andrei Z. Broder, Anna R. Karlin, and Eli Upfal. Balanced allocations. SIAM J. Comput., 29(1):180-200, 1999. URL:
  6. Nikhil Bansal and Ohad Feldheim. Well-balanced allocation on general graphs, 2021. URL:
  7. Itai Benjamini and Yury Makarychev. Balanced allocation: memory performance tradeoffs. Ann. Appl. Probab., 22(4):1642-1649, 2012. URL:
  8. Petra Berenbrink, Artur Czumaj, Matthias Englert, Tom Friedetzky, and Lars Nagel. Multiple-choice balanced allocation in (almost) parallel. In Proceedings of 16th International Workshop on Approximation, Randomization, and Combinatorial Optimization (RANDOM'12), pages 411-422, 2012. URL:
  9. Petra Berenbrink, Artur Czumaj, Angelika Steger, and Berthold VΓΆcking. Balanced allocations: the heavily loaded case. SIAM J. Comput., 35(6):1350-1385, 2006. URL:
  10. Petra Berenbrink, Kamyar Khodamoradi, Thomas Sauerwald, and Alexandre Stauffer. Balls-into-bins with nearly optimal load distribution. In Proceedings of 25th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA'13), pages 326-335, 2013. URL:
  11. Fan Chung and Linyuan Lu. Concentration inequalities and martingale inequalities: a survey. Internet Math., 3(1):79-127, 2006. URL:
  12. Fan R. K. Chung. Spectral graph theory, volume 92 of CBMS Regional Conference Series in Mathematics. Published for the Conference Board of the Mathematical Sciences, Washington, DC; by the American Mathematical Society, Providence, RI, 1997. URL:
  13. Artur Czumaj and Volker Stemann. Randomized allocation processes. Random Structures Algorithms, 18(4):297-331, 2001. URL:
  14. D. L. Eager, E. D. Lazowska, and J. Zahorjan. Adaptive load sharing in homogeneous distributed systems. IEEE Transactions on Software Engineering, SE-12(5):662-675, 1986. URL:
  15. Guy Even and Moti Medina. Parallel randomized load balancing: a lower bound for a more general model. Theoret. Comput. Sci., 412(22):2398-2408, 2011. URL:
  16. Ohad N. Feldheim and Ori Gurel-Gurevich. The power of thinning in balanced allocation. Electron. Commun. Probab., 26:Paper No. 34, 8, 2021. URL:
  17. Ohad N. Feldheim, Ori Gurel-Gurevich, and Jiange Li. Long-term balanced allocation via thinning, 2021. URL:
  18. Ohad Noy Feldheim and Jiange Li. Load balancing under d-thinning. Electronic Communications in Probability, 25:Paper No. 1, 13, 2020. URL:
  19. Kazuo Iwama and Akinori Kawachi. Approximated two choices in randomized load balancing. In Proceedings of 15th International Symposium on Algorithms and Computation (ISAAC'04), volume 3341, pages 545-557. Springer-Verlag, 2004. URL:
  20. Y. Kanizo, D. Raz, and A. Zlotnik. Efficient use of geographically spread cloud resources. In Proceedings of 13th IEEE/ACM International Symposium on Cluster, Cloud, and Grid Computing, pages 450-457, 2013. URL:
  21. R. M. Karp, M. Luby, and F. Meyer auf der Heide. Efficient PRAM simulation on a distributed memory machine. Algorithmica, 16(4-5):517-542, 1996. URL:
  22. Krishnaram Kenthapadi and Rina Panigrahy. Balanced allocation on graphs. In Proceedings of 17th ACM-SIAM Symposium on Discrete Algorithms (SODA'06), pages 434-443, 2006. URL:
  23. Christoph Lenzen, Merav Parter, and Eylon Yogev. Parallel balanced allocations: The heavily loaded case. In Proceedings of the 31st ACM on Symposium on Parallelism in Algorithms and Architectures (SPAA'19), pages 313-322. ACM, 2019. URL:
  24. Christoph Lenzen and Roger Wattenhofer. Tight bounds for parallel randomized load balancing [extended abstract]. In Proceedings of the 43rd ACM Symposium on Theory of Computing (STOC'11), pages 11-20, 2011. URL:
  25. Dimitrios Los, Thomas Sauerwald, and John Sylvester. Balanced allocations: Caching and packing, twinning and thinning, 2021. URL:
  26. M. Mitzenmacher. On the analysis of randomized load balancing schemes. Theory Comput. Syst., 32(3):361-386, 1999. URL:
  27. Michael Mitzenmacher, AndrΓ©a W. Richa, and Ramesh Sitaraman. The power of two random choices: a survey of techniques and results. In Handbook of randomized computing, Vol. I, II, volume 9 of Comb. Optim., pages 255-312. Kluwer Acad. Publ., Dordrecht, 2001. URL:
  28. Yuval Peres, Kunal Talwar, and Udi Wieder. Graphical balanced allocations and the (1+Ξ²)-choice process. Random Structures Algorithms, 47(4):760-775, 2015. URL:
  29. A. Steger and N. C. Wormald. Generating random regular graphs quickly. Combinatorics, Probability and Computing, 8(4):377-396, 1999. URL:
  30. Volker Stemann. Parallel balanced allocations. In Proceedings of the 8th Annual ACM Symposium on Parallel Algorithms and Architectures (SPAA'96), pages 261-269, 1996. URL:
  31. Kunal Talwar and Udi Wieder. Balanced allocations: the weighted case. In Proceedings of 39th ACM Symposium on Theory of Computing (STOC'07), pages 256-265, 2007. URL:
  32. Kunal Talwar and Udi Wieder. Balanced allocations: a simple proof for the heavily loaded case. In Proceedings of the 41st International Colloquium on Automata, Languages, and Programming (ICALP'14), volume 8572, pages 979-990, 2014. URL:
  33. Konstantin Tikhomirov and Pierre Youssef. The spectral gap of dense random regular graphs. Ann. Probab., 47(1):362-419, 2019. URL:
  34. Udi Wieder. Hashing, load balancing and multiple choice. Found. Trends Theor. Comput. Sci., 12(3-4):275-379, 2017. URL:
  35. S. Zhou. A trace-driven simulation study of dynamic load balancing. IEEE Transactions on Software Engineering, 14(9):1327-1341, 1988. URL:
Questions / Remarks / Feedback

Feedback for Dagstuhl Publishing

Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail