Entropy testing and its application to testing Bayesian networks

Clément L. Canonne, Joy Qiping Yang
2/3/2026

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

This paper studies the problem of entropy identity testing : given sample access to a distribution p and a fully described distribution q (both discrete distributions over a domain of size k ), and the promise that either p = q or | H ( p ) − H ( q ) | ⩾ ε , where H ( · ) denotes the Shannon entropy, a tester needs to distinguish between the two cases with high probability. We establish a near-optimal sample complexity bound of ˜Θ( √ k/ε + 1 /ε 2 ) for this problem, and show how to apply it to the problem of identity testing for in-degree-d n -dimensional Bayesian networks, obtaining an upper bound of ˜ O (2 d/ 2 n 3 / 2 /ε 2 + n 2 /ε 4 ) . This improves on the sample complexity bound of ˜ O (2 d/ 2 n 2 /ε 4 ) from [CDKS20], which required an additional assumption on the structure of the (unknown) Bayesian network.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{canonne2026entropy,
  title  = {Entropy testing and its application to testing Bayesian networks},
  author = {Clément L. Canonne and Joy Qiping Yang},
  year   = {2026},
  doi    = {10.52202/079017-4227},
  url    = {https://doi.org/10.52202/079017-4227},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/31f2a82469ad5cecf37118ba035c76c2466230b2.svg)](https://codeofpaper.com/paper/31f2a82469ad5cecf37118ba035c76c2466230b2)

Discussion