An asymptotically optimal algorithm for generating bin cardinalities
April 10, 2024 Β· Declared Dead Β· π Mathematics and Computers in Simulation
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Luc Devroye, Dimitrios Los
arXiv ID
2404.07011
Category
cs.DS: Data Structures & Algorithms
Cross-listed
cs.DM
Citations
2
Venue
Mathematics and Computers in Simulation
Last Checked
4 months ago
Abstract
In the balls-into-bins setting, $n$ balls are thrown uniformly at random into $n$ bins. The naΓ―ve way to generate the final load vector takes $Ξ(n)$ time. However, it is well-known that this load vector has with high probability bin cardinalities of size $Ξ(\frac{\log n}{\log \log n})$. Here, we present an algorithm in the RAM model that generates the bin cardinalities of the final load vector in the optimal $Ξ(\frac{\log n}{\log \log n})$ time in expectation and with high probability. Further, the algorithm that we present is still optimal for any $m \in [n, n \log n]$ balls and can also be used as a building block to efficiently simulate more involved load balancing algorithms. In particular, for the Two-Choice algorithm, which samples two bins in each step and allocates to the least-loaded of the two, we obtain roughly a quadratic speed-up over the naΓ―ve simulation.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
π Similar Papers
In the same crypt β Data Structures & Algorithms
π
π
The Cartographer
R.I.P.
π»
Ghosted
Route Planning in Transportation Networks
R.I.P.
π»
Ghosted
Near-linear time approximation algorithms for optimal transport via Sinkhorn iteration
R.I.P.
π»
Ghosted
Hierarchical Clustering: Objective Functions and Algorithms
R.I.P.
π»
Ghosted
Graph Isomorphism in Quasipolynomial Time
π
π
The Cartographer
Simulation optimization: A review of algorithms and applications
Died the same way β π» Ghosted
R.I.P.
π»
Ghosted
Federated Learning: Strategies for Improving Communication Efficiency
R.I.P.
π»
Ghosted
In-Datacenter Performance Analysis of a Tensor Processing Unit
R.I.P.
π»
Ghosted
Deep Convolutional Neural Networks for Computer-Aided Detection: CNN Architectures, Dataset Characteristics and Transfer Learning
R.I.P.
π»
Ghosted