On Testing of Samplers
Kuldeep S. Meel, Yash Pote, Sourav Chakraborty

TL;DR
This paper introduces Barbarik2, a scalable testing algorithm that verifies whether a sampler's output distribution is close to a target distribution, effectively handling arbitrary weight functions with fewer samples than previous methods.
Contribution
Barbarik2 extends prior work by providing a rigorous, efficient testing method for general weighted samplers, overcoming limitations of uniform sampling verification.
Findings
Barbarik2 requires significantly fewer samples than previous methods.
It successfully tests state-of-the-art samplers with arbitrary weights.
The prototype implementation demonstrates practical applicability.
Abstract
Given a set of items and a weight function , the problem of sampling seeks to sample an item proportional to its weight. Sampling is a fundamental problem in machine learning. The daunting computational complexity of sampling with formal guarantees leads designers to propose heuristics-based techniques for which no rigorous theoretical analysis exists to quantify the quality of generated distributions. This poses a challenge in designing a testing methodology to test whether a sampler under test generates samples according to a given distribution. Only recently, Chakraborty and Meel (2019) designed the first scalable verifier, called Barbarik1, for samplers in the special case when the weight function is constant, that is, when the sampler is supposed to sample uniformly from . The techniques in…
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.
Code & Models
Videos
Taxonomy
TopicsMachine Learning and Algorithms · Machine Learning and Data Classification · Adversarial Robustness in Machine Learning
