Score: 0

Systematic Alias Sampling: an efficient and low-variance way to sample from a discrete distribution

Published: September 28, 2025 | arXiv ID: 2509.24089v1

By: Ilari Vallivaara , Katja Poikselkä , Pauli Rikula and more

Potential Business Impact:

Makes computers pick random numbers much faster.

Business Areas:
A/B Testing Data and Analytics

In this paper we combine the Alias method with the concept of systematic sampling, a method commonly used in particle filters for efficient low-variance resampling. The proposed method allows very fast sampling from a discrete distribution: drawing k samples is up to an order of magnitude faster than binary search from the cumulative distribution function (cdf) or inversion methods used in many libraries. The produced empirical distribution function is evaluated using a modified Cram\'er-Von Mises goodness-of-fit statistic, showing that the method compares very favourably to multinomial sampling. As continuous distributions can often be approximated with discrete ones, the proposed method can be used as a very general way to efficiently produce random samples for particle filter proposal distributions, e.g. for motion models in robotics.

Page Count
11 pages

Category
Computer Science:
Data Structures and Algorithms