Is your permutation algorithm unbiased for n ≠ 2m?

  • Authors:
  • Michael Waechter;Kay Hamacher;Franziska Hoffgaard;Sven Widmer;Michael Goesele

  • Affiliations:
  • GRIS, TU Darmstadt, Germany;Bioinformatics and Theoretical Biology, TU Darmstadt, Germany;Bioinformatics and Theoretical Biology, TU Darmstadt, Germany;GRIS, TU Darmstadt, Germany;GRIS, TU Darmstadt, Germany

  • Venue:
  • PPAM'11 Proceedings of the 9th international conference on Parallel Processing and Applied Mathematics - Volume Part I
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Many papers on parallel random permutation algorithms assume the input size n to be a power of two and imply that these algorithms can be easily generalized to arbitrary n. We show that this simplifying assumption is not necessarily correct since it may result in a bias. Many of these algorithms are, however, consistent, i.e., iterating them ultimately converges against an unbiased permutation. We prove this convergence along with proving exponential convergence speed. Furthermore, we present an analysis of iterating applied to a butterfly permutation network, which works in-place and is well-suited for implementation on many-core systems such as GPUs. We also show a method that improves the convergence speed even further and yields a practical implementation of the permutation network on current GPUs.