Lune

AAAI2024Top-tier venue

Testing Self-Reducible Samplers

Rishiraj Bhattacharyya, Sourav Chakraborty, Yash Pote, Uddalok Sarkar, Sayantan Sen

Abstract

Samplers are the backbone of the implementations of any randomised algorithm. Unfortunately, obtaining an efficient algorithm to test the correctness of samplers is very hard to find. Recently, in a series of works, testers like Barbarik, Teq, Flash for testing of some particular kinds of samplers, like CNF-samplers and Horn-samplers, were obtained. But their techniques have a significant limitation because one can not expect to use their methods to test for other samplers, such as perfect matching samplers or samplers for sampling linear extensions in posets. In this paper, we present a new testing algorithm that works for such samplers and can estimate the distance of a new sampler from a known sampler (say, uniform sampler). Testing the identity of distributions is the heart of testing the correctness of samplers. This paper's main technical contribution is developing a new distance estimation algorithm for distributions over high-dimensional cubes using the recently proposed sub-cube conditioning sampling model. Given subcube conditioning access to an unknown distribution P , and a known distribution Q defined over 0, 1 n , our algorithm CubeProbeEst estimates the variation distance between P and Q within additive error ζ using O n 2 /ζ 4 subcube conditional samples from P . Following the testing-via-learning paradigm, we also get a tester which distinguishes between the cases when P and Q are ε-close or η-far in variation distance with probability at least 0.99 using O(n 2 /(η -ε) 4 ) subcube conditional samples. The estimation algorithm in the sub-cube conditioning sampling model helps us to design the first tester for selfreducible samplers. The correctness of the testers is formally proved. On the other hand, we implement our algorithm to create CubeProbeEst and use it to test the quality of three samplers for sampling linear extensions in posets.

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.

3 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

  • Instance Dependent Testing of Samplers Using Interval Conditioning cites On Testing of Samplers
  • Instance Dependent Testing of Samplers Using Interval Conditioning cites On Scalable Testing of Samplers
  • Instance Dependent Testing of Samplers Using Interval Conditioning cites Testing Probabilistic Circuits
  • On Scalable Testing of Samplers cites On Testing of Samplers
  • On Scalable Testing of Samplers 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 On Scalable Testing of Samplers
  • Assessing the Quality of Binomial Samplers: A Statistical Distance Framework cites Testing Probabilistic Circuits
  • Uniformity Testing over Hypergrids with Subcube Conditioning cites Random Restrictions of High Dimensional Distributions and Uniformity Testing with Subcube Conditioning
  • Monotonicity Testing of High-Dimensional Distributions with Subcube Conditioning cites On Testing of Samplers
  • Monotonicity Testing of High-Dimensional Distributions with Subcube Conditioning cites On Scalable Testing of Samplers
  • Monotonicity Testing of High-Dimensional Distributions with Subcube Conditioning cites Uniformity Testing over Hypergrids with Subcube Conditioning
  • Monotonicity Testing of High-Dimensional Distributions with Subcube Conditioning cites Random Restrictions of High Dimensional Distributions and Uniformity Testing with Subcube Conditioning
  • Testing Probabilistic Circuits cites On Testing of Samplers
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

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

Builds on5

  1. On Testing of SamplersKuldeep S. Meel, Yash Pote, Sourav ChakrabortyNeurIPS 2020 · 20 citations
  2. Testing Probabilistic CircuitsYash Pote, Kuldeep S. MeelNeurIPS 2021 · 10 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 Scalable Testing of SamplersYash Pote, Kuldeep S. MeelNeurIPS 2022 · 8 citations
  5. Uniformity Testing over Hypergrids with Subcube ConditioningXi Chen, Cassandra MarcussenSODA 2024 · 2 citations

Related papers

  1. Tight Lower Bound on Equivalence Testing in Conditional Sampling ModelDiptarka Chakraborty, Sourav Chakraborty, Gunjan KumarSODA 2024 · 1 citation
  2. Testing Closeness of Multivariate Distributions via Ramsey TheoryIlias Diakonikolas, Daniel M. Kane, Sihan LiuSTOC 2024 · 1 citation
  3. Properly learning monotone functions via local correctionJane Lange, Ronitt Rubinfeld, Arsen VasilyanFOCS 2022 · 5 citations
  4. Optimal Algorithms for Augmented Testing of Discrete DistributionsMaryam Aliakbarpour, Piotr Indyk, Ronitt Rubinfeld, Sandeep SilwalNeurIPS 2024 · 3 citations
  5. Optimal mass estimation in the conditional sampling modelTomer Adar, Eldar Fischer, Amit LeviSODA 2026
Dusk over the sea between two cliffs drawn in fine vertical lines