On Scalable Testing of Samplers
Yash Pote, Kuldeep S. Meel
Abstract
In this paper we study the problem of testing of constrained samplers over highdimensional distributions with (ε, η, δ) guarantees. Samplers are increasingly used in a wide range of safety-critical ML applications, and hence the testing problem has gained importance. For n-dimensional distributions, the existing state-of-theart algorithm, Barbarik2, has a worst case query complexity of exponential in n and hence is not ideal for use in practice. Our primary contribution is an exponentially faster algorithm that has a query complexity linear in n and hence can easily scale to larger instances. We demonstrate our claim by implementing our algorithm and then comparing it against Barbarik2. Our experiments on the samplers wUnigen3 and wSTS, find that Barbarik3 requires 10× fewer samples for wUnigen3 and 450× fewer samples for wSTS as compared to Barbarik2. * The accompanying tool, available open source, can be found at https://github.com/meelgroup/barbarik † The authors decided to forgo the old convention of alphabetical ordering of authors in favor of a randomized ordering, denoted by r . The publicly verifiable record of the randomization is available at https://www.aeaweb.org/journals/policies/random-author-order/search with confirmation code: Lrr1ecP-xv14. For citations, the authors request that the citation guidelines by AEA for random author ordering be followed. The multiplicative distance of D 2 from D 1 is defined as: d ∞ (D 1 , D 2 ) = 3 A simple modification reveals that in terms of n, η, ε, the bound is Õ 4 n η(η-3ε) 3
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 62e88edc-2aa6-4f32-96f8-2326f7317d75Cited by top-tier papers4
- Testing Self-Reducible SamplersRishiraj Bhattacharyya, Sourav Chakraborty, Yash Pote, Uddalok Sarkar et al.AAAI 2024 · 2 citations
- Monotonicity Testing of High-Dimensional Distributions with Subcube ConditioningDeeparnab Chakrabarty, Xi Chen, Simeon Ristic, C. Seshadhri et al.STOC 2025 · 2 citations
- Instance Dependent Testing of Samplers Using Interval ConditioningRishiraj Bhattacharyya, Sourav Chakraborty, Yash Pote, Uddalok Sarkar et al.AAAI 2026
- Assessing the Quality of Binomial Samplers: A Statistical Distance FrameworkUddalok Sarkar, Sourav Chakraborty, Kuldeep S. MeelCAV 2025
Builds on4
- Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and SamplingMate Soos, Stephan Gocht, Kuldeep S. MeelCAV 2020 · 102 citations
- On Testing of SamplersKuldeep S. Meel, Yash Pote, Sourav ChakrabortyNeurIPS 2020 · 20 citations
- Random Restrictions of High Dimensional Distributions and Uniformity Testing with Subcube ConditioningClément L. Canonne, Xi Chen, Gautam Kamath, Amit Levi et al.SODA 2021 · 10 citations
- On Tolerant Distribution Testing in the Conditional Sampling ModelShyam NarayananSODA 2021 · 2 citations
Related papers
- Testing Probabilistic CircuitsYash Pote, Kuldeep S. MeelNeurIPS 2021 · 10 citations
- Beyond Pairwise Testing: Advancing 3-wise Combinatorial Interaction Testing for Highly Configurable SystemsChuan Luo, Shuangyu Lyu, Qiyuan Zhao, Wei Wu et al.ISSTA 2024 · 6 citations
- Scalable Sampling of Highly-Configurable Systems: Generating Random Instances of the Linux KernelDavid Fernández-Amorós, Ruben Heradio, Christoph Mayr-Dorn, Alexander EgyedASE 2022 · 1 citation
- Sampling with Riemannian Hamiltonian Monte Carlo in a Constrained SpaceYunbum Kook, Yin Tat Lee, Ruoqi Shen, Santosh S. VempalaNeurIPS 2022 · 53 citations
- LS-sampling: an effective local search based sampling approach for achieving high t-wise coverageChuan Luo, Binqi Sun, Bo Qiao, Junjie Chen et al.FSE 2021 · 24 citations
