Lune

AAAI2026Top-tier venue

Instance Dependent Testing of Samplers Using Interval Conditioning

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

Abstract

Sampling algorithms play a pivotal role in probabilistic AI. However, verifying if a sampler program indeed samples from the claimed distribution is a notoriously hard problem. Provably correct testers like Barbarik,Teq,Flash, Cubeprobe for testing of different kinds of samplers were proposed only in the last few years. All these testers focus on the worst-case efficiency, and do not support verification of samplers over infinite domains, a case occurring frequently in Astronomy, Finance, Network Security etc.

In this work, we design the first tester of samplers with instance-dependent efficiency, allowing us to test samplers over natural numbers. Our tests are developed via a novel distance estimation algorithm between an unknown and a known probability distribution using an 'interval conditioning' framework. The core technical contribution is a new connection with probability mass estimation of a continuous distribution. The practical gains are also substantial—our experiments establish up to 1000× speedup over state-of-the-art testers.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Testing Probabilistic Circuits cites On Testing of Samplers
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on9

  1. Scaling exact inference for discrete probabilistic programsSteven Holtzen, Guy Van den Broeck, Todd D. MillsteinOOPSLA 2020 · 85 citations
  2. Data Amplification: Instance-Optimal Property EstimationYi Hao, Alon OrlitskyICML 2020 · 23 citations
  3. On Testing of SamplersKuldeep S. Meel, Yash Pote, Sourav ChakrabortyNeurIPS 2020 · 20 citations
  4. Instance-Optimal Private Density Estimation in the Wasserstein DistanceVitaly Feldman, Audra McMillan, Satchit Sivakumar, Kunal TalwarNeurIPS 2024 · 10 citations
  5. Testing Probabilistic CircuitsYash Pote, Kuldeep S. MeelNeurIPS 2021 · 10 citations

Related papers

  1. Testing Self-Reducible SamplersRishiraj Bhattacharyya, Sourav Chakraborty, Yash Pote, Uddalok Sarkar et al.AAAI 2024 · 2 citations
  2. On Scalable Testing of SamplersYash Pote, Kuldeep S. MeelNeurIPS 2022 · 8 citations
  3. Deterministic stream-sampling for probabilistic programming: semantics and verificationFredrik Dahlqvist, Alexandra Silva, William SmithLICS 2023 · 4 citations
  4. Assessing the Quality of Binomial Samplers: A Statistical Distance FrameworkUddalok Sarkar, Sourav Chakraborty, Kuldeep S. MeelCAV 2025
  5. Testing Distributions against Bounded DistinguishersMark Bun, Rathin Desai, Renato Ferreira Pinto Jr.STOC 2026
Dusk over the sea between two cliffs drawn in fine vertical lines