Lune

NeurIPS2022Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Testing Self-Reducible Samplers cites On Testing of Samplers
  • Testing Self-Reducible Samplers cites Random Restrictions of High Dimensional Distributions and Uniformity Testing with Subcube Conditioning
  • Instance Dependent Testing of Samplers Using Interval Conditioning cites On Testing of Samplers
  • Instance Dependent Testing of Samplers Using Interval Conditioning cites Testing Self-Reducible Samplers
  • On Tolerant Distribution Testing in the Conditional Sampling Model cites Random Restrictions of High Dimensional Distributions and Uniformity Testing with Subcube Conditioning
  • Assessing the Quality of Binomial Samplers: A Statistical Distance Framework cites On Testing of Samplers
  • Assessing the Quality of Binomial Samplers: A Statistical Distance Framework cites Testing Self-Reducible Samplers
  • Monotonicity Testing of High-Dimensional Distributions with Subcube Conditioning cites On Testing of Samplers
  • Monotonicity Testing of High-Dimensional Distributions with Subcube Conditioning cites Testing Self-Reducible Samplers
  • Monotonicity Testing of High-Dimensional Distributions with Subcube Conditioning cites On Tolerant Distribution Testing in the Conditional Sampling Model
  • Monotonicity Testing of High-Dimensional Distributions with Subcube Conditioning cites Random Restrictions of High Dimensional Distributions and Uniformity Testing with Subcube Conditioning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Testing Self-Reducible SamplersRishiraj Bhattacharyya, Sourav Chakraborty, Yash Pote, Uddalok Sarkar et al.AAAI 2024 · 2 citations
  2. Monotonicity Testing of High-Dimensional Distributions with Subcube ConditioningDeeparnab Chakrabarty, Xi Chen, Simeon Ristic, C. Seshadhri et al.STOC 2025 · 2 citations
  3. Instance Dependent Testing of Samplers Using Interval ConditioningRishiraj Bhattacharyya, Sourav Chakraborty, Yash Pote, Uddalok Sarkar et al.AAAI 2026
  4. Assessing the Quality of Binomial Samplers: A Statistical Distance FrameworkUddalok Sarkar, Sourav Chakraborty, Kuldeep S. MeelCAV 2025

Builds on4

  1. Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and SamplingMate Soos, Stephan Gocht, Kuldeep S. MeelCAV 2020 · 102 citations
  2. On Testing of SamplersKuldeep S. Meel, Yash Pote, Sourav ChakrabortyNeurIPS 2020 · 20 citations
  3. 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
  4. On Tolerant Distribution Testing in the Conditional Sampling ModelShyam NarayananSODA 2021 · 2 citations

Related papers

  1. Testing Probabilistic CircuitsYash Pote, Kuldeep S. MeelNeurIPS 2021 · 10 citations
  2. 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
  3. 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
  4. Sampling with Riemannian Hamiltonian Monte Carlo in a Constrained SpaceYunbum Kook, Yin Tat Lee, Ruoqi Shen, Santosh S. VempalaNeurIPS 2022 · 53 citations
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines