Abstract
Data structures for efficient sampling from a set of weighted items are an important building block of many applications. However, few parallel solutions are known. We close many of these gaps both for shared-memory and distributed-memory machines. We give efficient, fast, and practicable algorithms for sampling single items, k items with/without replacement, permutations, subsets, and reservoirs. We also give improved sequential algorithms for alias table construction and for sampling with replacement. Experiments on shared-memory parallel machines with up to 158 threads show near linear speedups both for construction and queries.
| Zugehörige Institution am KIT | Institut für Theoretische Informatik (ITI) |
|---|---|
| Sprache | englisch |
| KITopen-ID | 1000097067 |
| Schlagwörter | categorical distribution, multinoulli distribution, parallel algorithm, alias method, PRAM, communication efficient algorithm, subset sampling, reservoir sampling |
| Verlag | Schloss Dagstuhl - Leibniz-Zentrum für Informatik (LZI) |
| Serie | Leibniz International Proceedings in Informatics (144) ISSN: 0000-2008 |
| Veranstaltung | 27th Annual European Symposium on Algorithms (ESA), Garching bei München, Deutschland, 09. – 11.09.2019 |
| Nachgewiesen in | Scopus OpenAlex arXiv |
| HGF-Programm | 46.12.02 (POF III, LK 01) Data Activities |