Binary sampling from discrete distributions
Hiroyuki Masuyama

TL;DR
This paper introduces a binary sampling algorithm for discrete distributions that improves efficiency and accuracy over existing inverse transform sampling methods by utilizing a binary tree structure and parallelizable procedures.
Contribution
The paper proposes a novel binary sampling algorithm with two procedures, BBS and FBS, offering better parallelization and accuracy compared to traditional binary-search ITS methods.
Findings
BBS runs in O(N) time, FBS in O(ln N) time.
The algorithm has O(N) space complexity.
It outperforms standard binary-search ITS in accuracy and parallelizability.
Abstract
This paper considers direct sampling methods from discrete target distributions. The inverse transform sampling (ITS) method is one of the most popular direct sampling methods. The main purpose of this paper is to propose a direct sampling algorithm that supersedes the binary-search ITS method (which is an improvement of the ITS method with binary search). The proposed algorithm is based on binarizing the support set of the target distribution. Thus, the proposed algorithm is referred to as binary sampling (BS). The BS algorithm consists of two procedures: backward binary sampling (BBS) and forward binary sampling (FBS). The BBS procedure draws a single sample (the first sample) from the target distribution while constructing a one-way random walk on a binary tree for the FBS procedure. By running the random walk, the FBS procedure generates the second and subsequent samples. The BBS…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSparse and Compressive Sensing Techniques · Machine Learning and Algorithms · Image and Signal Denoising Methods
