REVIEW 4 major objections 7 minor 35 references
Sampling Binary Data by Denoising through Score Functions
T0 review · 4 major / 7 minor · reviewed 2026-08-09 · deepseek-v4-flash
Pith's one-line read On the hypercube, the optimal denoiser is the sign of the score, and discrete Langevin sampling converges exponentially at high noise.
desk verdict A careful theory paper on binary walk-jump sampling whose contraction bounds are new and sound, but whose end-to-end claim is unproven because the learned score never appears in the analysis. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The carrying object is the binary Tweedie-Miyasawa identity $\mathbb{E}[x|y]=(1/\alpha)\nabla\log q_\alpha(y)$ for the Bernoulli sign-flip noise model. The score $\nabla\log q_\alpha$ is a continuous function on $\mathbb{R}^d$ obtained from an exponential tilt of $p$, and its regularity is controlled by $\|\nabla\log q_\alpha\|_\infty\le \alpha$ and the $\ell^1$-Lipschitz bound $\|\nabla\log q_\alpha(y)-\nabla\log q_\alpha(y')\|_\infty \le \alpha^2\|y-y'\|_1$, which come from $\nabla^2\log q_\alpha=\alpha^2\operatorname{cov}(x|y)$. These constants turn the sampling problem into a contraction problem for discrete Langevin kernels, and the multi-measurement variant uses the averaged argument $\bar y_{1:m}$ to reduce effective noise.
What would settle it
For the $d=8$ mixture model used in the paper, compute the exact transition matrix of the two-stage sampler, run it from uniform initialization, and compare the empirical Wasserstein distance to $q_\alpha$ with the bound $W(q',q)\le 12d\sqrt{\beta_2 d}$ and the contraction rate $1-\tfrac12 e^{-2/\eta-2\beta_1}$ under the stated conditions; a violation at allowed parameters would falsify the quantitative claim. A complementary check is to evaluate a trained denoiser at random averaged inputs $\bar y_{1:m}\in[-1,1]^d$ and compare with exact $\mathbb{E}[x|y_{1:m}]$ for a synthetic prior, testing whether the learned score is accurate where multi-measurement sampling uses it.
Extended reading notes
Core claim
For the random sign-flip model $y = x \circ \varepsilon$ with $\Pr(\varepsilon_i=1)=\sigma(2\alpha)$, the paper's central identity is $\mathbb{E}[x|y] = (1/\alpha)\nabla\log q_\alpha(y)$, where $q_\alpha(y) \propto \sum_{x} p(x) e^{\alpha x^\top y}$ is the law of the noisy data, defined for all $y\in\mathbb{R}^d$ even though the data live on the hypercube. Hence the optimal denoiser under Hamming loss is $f(y)=\operatorname{sign}(\mathbb{E}[x|y])=\operatorname{sign}(\nabla\log q_\alpha(y))$, and the score can be learned by logistic regression on pairs $(x, x\circ\varepsilon)$. For sampling, the paper introduces one-stage and two-stage discrete Langevin kernels and proves exponential contraction in the Wasserstein metric when $4\beta_2 d e^{2\beta_1}\le 1$ (respectively $8\beta_2 d e^{4\beta_1}\le 1$), with $\beta_1=\alpha$, $\beta_2=\alpha^2$ for the true score; the two-stage sampler has stationary bias at most $12d\sqrt{\beta_2 d}$ when $e^{-2/\eta+2\beta_1}\le 1/d$. For $m$ independent noisy measurements, $\mathbb{E}[x|y_{1:m}]=(1/m\alpha)\nabla\log q_{m\alpha}(\bar y_{1:m})$, so the effective noise is $m\alpha$ while each sampling step stays at level $\alpha$.
Load-bearing premise
The load-bearing premise is that the denoiser used in practice is close enough to the true mathematical score, with the same boundedness and smoothness, even at points inside the hypercube where it is only trained indirectly; the proofs assume that exact score, while the experiments run with a learned approximation.
Editorial extensions
If this is right
- Training a binary generative model reduces to logistic regression on noisy hypercube pairs, with no continuous-time diffusion or noise schedule, provided the learned denoiser approximates $\nabla\log q_\alpha$.
- At noise level $\alpha\le 1/(4\sqrt d)$, the one-stage discrete Langevin chain contracts exponentially in Wasserstein distance, so its mixing time is controlled by the rate $1-\tfrac12 e^{-2/\eta-\alpha}$.
- With $m$ independent noisy measurements, the denoising error bound improves from $d e^{-2\alpha}$ to $d e^{-m\alpha}$, while the sampler can still run at the easier fixed noise level $\alpha$.
- The two-stage sampler has stationary bias at most $12d\sqrt{\beta_2 d}=12\alpha d^{3/2}$ when $e^{-2/\eta+2\alpha}\le 1/d$, which is small compared with the hypercube diameter once $\alpha\ll 1/\sqrt d$; this is the paper's formal analogue of log-concave sampling in Euclidean space.
- On binarized MNIST, step size $\eta=1/\alpha$ gives fast mixing at $\alpha=0.5$ and breakdown at $\alpha=2$, consistent with the high-noise regime the theory covers.
Reading between the lines
- Extension: the same exponential-tilt structure should extend to other exponential-family noise channels, where the effective noise parameter would play the role of $\alpha$; the contraction constants would need to be re-derived for each channel.
- Extension: a practical test of the theory is to estimate the Lipschitz constant of trained denoisers at interior points $\bar y_{1:m}\in[-1,1]^d$; if it substantially exceeds $\alpha^2$, the guaranteed contraction regime may shrink and the two-stage advantage could vanish.
- Extension: because multi-measurement sampling evaluates the score at averaged points inside the hypercube, training data drawn only from vertices may under-cover that region; generating corrupted-and-averaged inputs during training is a direct way to close the gap.
Signed reviews
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper studies Bernoulli sign-flip smoothing y = x ∘ ε on {−1,1}^d, defines an extension q_α(y) of the noisy pmf to R^d via q_α(y) ∝ Σ_x p(x) e^{α x^⊤ y}, proves a Tweedie–Miyasawa identity E[x|y] = (1/α)∇ log q_α(y) (Lemma 2.2), proposes logistic-regression denoising to learn the score, and introduces one- and two-stage discrete Langevin samplers. It proves Wasserstein contraction and stationary-bias bounds for the exact-score chains (Propositions 3.1–3.4), extends the identity to multiple measurements with effective noise mα (Lemma 2.4), and reports synthetic and binarized-MNIST experiments.
Significance. If the theoretical claims held for the implemented algorithm, this would be a valuable alternative to discrete diffusion: it avoids SDE discretization, gives an exact denoising–score identity on the hypercube, and provides explicit Wasserstein contraction results for discrete Langevin-like kernels in this setting. The appendices are careful and the lemmas and propositions are proved from stated assumptions with explicit constants. The main caveat is that the theory is oracle-level: it uses the exact score, whereas the experiments use a learned U-Net, and the demonstrated operating points lie outside the theorem regimes. The contribution is nonetheless a solid conceptual and algorithmic framework.
major comments (4)
- [Section 3, Propositions 3.1–3.4] All four convergence results are proved for the exact score s = ∇ log q_α satisfying Eq. (4) and Eq. (8). The implemented method replaces s by a U-Net trained by logistic regression on hypercube vertices. No bound on ∥ŝ − s∥ is given, and it is not shown that ŝ inherits ∥ŝ∥∞ ≤ α or an α²-Lipschitz property. Since the stationary distribution in Propositions 3.2 and 3.4 is defined through a transition kernel built from the exact score, the end-to-end claim of "sampling binary data by denoising through score functions" is proved only for an oracle, not for the algorithm in Section 5.
- [Sections 2.4 and 3.2] Multi-measurement and sequential sampling require the score at interior points ȳ ∈ [−1,1]^d and at parameter mα. Section 2.3's training procedure uses single noisy vertices only. The remark in Section 2.4 that one can train on averaged measurements is not supported by experiments or analysis, and Section 3 correctly notes that the extension of q_α to R^d is non-unique up to additive linear score terms. Thus the learned denoiser's behavior on the interior, on which Lemma 2.4 and the sequential sampler rely, is unconstrained and unverified.
- [Section 5.2 and Propositions 3.3–3.4] The MNIST experiments are outside the stated theorem conditions. For d = 784 and α = 0.5, the condition 8dβ₂e^{4β₁} ≤ 1 of Propositions 3.3 and 3.4 gives 8 · 784 · 0.25 · e² ≈ 1.16 × 10⁴, and η = 1/α gives e^{−2/η + 2β₁} = 1, violating the assumption e^{−2/η + 2β₁} ≤ 1/d of Proposition 3.4. The claim that the experiments validate the theoretical findings is therefore unsupported; at best they are heuristics in a regime the theory does not cover.
- [Lemma 2.3 versus Propositions 3.1–3.4] There is a mismatch between the regime where the sampler is proven to converge and the regime where denoising is useful. Lemma 2.3 gives denoising error O(d e^{−2α}), which is small only for large α, while the contraction conditions hold only for α ≪ 1/d (one-stage) or α ≪ 1/√d (two-stage). No composite end-to-end bound quantifies the trade-off for the procedure "sample from q_α, then denoise"; the multi-measurement idea in Lemma 2.4 is the right remedy, but its combination with the sequential sampler's bias is not analyzed.
minor comments (7)
- [Section 2.1, Eq. (1)] The index set in "for i ∈ {-1, . . . ,1}^d" should be i ∈ {1, . . . , d}.
- [Appendix A] The proof of Lemma 2.4 says "Following the same reasoning that in the proof of Lemma 2.4"; the intended reference is Lemma 2.3.
- [Section 3, Eq. (4)] In the Lipschitz condition, "∥y − y∥₁" should read "∥y − y′∥₁".
- [Section 5.1 and Section 5.2] The text uses "learning rate equal to 1/α" in Section 5.1 and "step-size η" elsewhere; the terminology should be unified.
- [Figure 3 and surrounding text] The mixing time is reported as 1/(1 − λ₂), but λ₂ is not defined in the main text; it should be defined explicitly.
- [Appendices B–E] The use of Wikipedia links for the total variation distance, Chernoff bound, and Pinsker's inequality is informal; standard textbook references (e.g., Levin and Peres, 2017) would be more appropriate.
- [Section 5.2] The qualitative MNIST panels would benefit from quantitative metrics, especially because the theoretical bounds do not apply in that regime.
Circularity Check
No significant circularity: the central identities and convergence proofs are self-contained; self-citations serve only as template and comparison, not as load-bearing evidence.
full rationale
The paper's central identities (Lemma 2.2 and Lemma 2.4) are algebraic consequences of the exponential-tilt definition of q_alpha, not definitions of the target in terms of the method: the conditional expectation E[x|y] and the score function grad log q_alpha are independently defined, and the equality is proved from Eq. (3). The convergence results (Propositions 3.1-3.4) are proved from explicit regularity assumptions (Eqs. (4) and (8)) that are verified for the true q_alpha; no fitted parameter is renamed as a prediction. The frequent citations to the authors' prior work supply the Gaussian walk-jump template and provide comparisons, but the binary extension is derived in this paper rather than imported; no load-bearing claim rests on an unverified self-citation. The gap between the exact-score theory and the learned-score experiments is a correctness risk about score estimation error and regularity of the learned score, not a circularity in the derivation chain.
Assumptions & free parameters
free parameters (2)
- noise level α =
user-specified (e.g., 0.5 for MNIST)
- step-size η =
set to 1/α in experiments
assumptions (4)
- domain assumption The score s satisfies the regularity conditions Eq. (4): ||s(y)||∞ ≤ β1 and ||s(y) - s(y')||∞ ≤ β2||y - y'||1.
- domain assumption Smooth convexity Eq. (8): 0 ≤ log q(y) - log q(z) - s(z)ᵀ(y - z) ≤ (β2/2)||y - z||₁².
- standard math The noisy distribution q_α, defined by the exponential tilt in Eq. (2), is a valid density extension to R^d so that gradients can be taken on the interior of the hypercube.
- domain assumption Data lies on the Boolean hypercube {−1,1}^d and the noise is independent Bernoulli sign flips.
Cite this review
Pith. "Pith review of Sampling Binary Data by Denoising through Score Functions." pith.science (2026). https://pith.science/paper/47XN5W5F
@misc{pith2026250200557,
author = {Pith},
title = {Pith review of: Sampling Binary Data by Denoising through Score Functions},
year = {2026},
howpublished = {\url{https://pith.science/paper/47XN5W5F}},
note = {Machine review of arXiv:2502.00557}
}
read the original abstract
Gaussian smoothing combined with a probabilistic framework for denoising via the empirical Bayes formalism, i.e., the Tweedie-Miyasawa formula (TMF), are the two key ingredients in the success of score-based generative models in Euclidean spaces. Smoothing holds the key for easing the problem of learning and sampling in high dimensions, denoising is needed for recovering the original signal, and TMF ties these together via the score function of noisy data. In this work, we extend this paradigm to the problem of learning and sampling the distribution of binary data on the Boolean hypercube by adopting Bernoulli noise, instead of Gaussian noise, as a smoothing device. We first derive a TMF-like expression for the optimal denoiser for the Hamming loss, where a score function naturally appears. Sampling noisy binary data is then achieved using a Langevin-like sampler which we theoretically analyze for different noise levels. At high Bernoulli noise levels sampling becomes easy, akin to log-concave sampling in Euclidean spaces. In addition, we extend the sequential multi-measurement sampling of Saremi et al. (2024) to the binary setting where we can bring the "effective noise" down by sampling multiple noisy measurements at a fixed noise level, without the need for continuous-time stochastic processes. We validate our formalism and theoretical findings by experiments on synthetic data and binarized images.
Figures
Figures from the paper (3 more)
Reference graph
Works this paper leans on
-
[1]
Austin, J., Johnson, D., Ho, J., Tarlow, D., and van den Berg, R. (2021). Structured denoising diffusion models in discrete state-spaces. In Advances in Neural Information Processing Systems
work page 2021
-
[2]
Bach, F. (2024). Learning Theory from First Principles . MIT Press
2024
-
[3]
Campbell, A., Benton, J., De Bortoli, V., Rainforth, T., Deligiannidis, G., and Doucet, A. (2022). A continuous time framework for discrete denoising models. In Advances in Neural Information Processing Systems
work page 2022
-
[4]
Cheng, X., Chatterji, N. S., Bartlett, P. L., and Jordan, M. I. (2018). Underdamped L angevin MCMC : A non-asymptotic analysis. In Conference on Learning Theory
work page 2018
-
[5]
Chewi, S. (2024). Log-concave Sampling . Book draft
work page 2024
-
[6]
Dalalyan, A. S. (2017). Theoretical guarantees for approximate sampling from smooth and log-concave densities. Journal of the Royal Statistical Society. Series B (Statistical Methodology) , 79(3):651--676
work page 2017
-
[7]
Dhariwal, P. and Nichol, A. (2021). Diffusion models beat GAN s on image synthesis. In Advances in Neural Information Processing Systems
work page 2021
-
[8]
Durmus, A. and Moulines, \'E . (2017). Nonasymptotic convergence analysis for the unadjusted Langevin algorithm . The Annals of Applied Probability , 27(3):1551 -- 1587
work page 2017
Show all 35 references
-
[9]
C., Berenberg, D., Kleinhenz, J., Hotzel, I., Lafrance-Vanasse, J., Kelly, R
Frey, N. C., Berenberg, D., Kleinhenz, J., Hotzel, I., Lafrance-Vanasse, J., Kelly, R. L., Wu, Y., Rajpal, A., Ra, S., Bonneau, R., Cho, K., Loukas, A., Gligorijevic, V., and Saremi, S. (2024). Protein discovery with discrete walk-jump sampling. In International Conference on ...
2024
-
[10]
Grathwohl, W., Swersky, K., Hashemi, M., Duvenaud, D., and Maddison, C. (2021). Oops I took a gradient: Scalable sampling for discrete distributions. In International Conference on Machine Learning
2021
-
[11]
Hoogeboom, E., Nielsen, D., Jaini, P., Forr \'e , P., and Welling, M. (2021). Argmax flows and multinomial diffusion: Learning categorical distributions. In Advances in Neural Information Processing Systems
2021
-
[12]
Hyv \"a rinen, A. (2005). Estimation of non-normalized statistical models by score matching. Journal of Machine Learning Research , 6(Apr):695--709
2005
-
[13]
Hyv \"a rinen, A. (2007). Some extensions of score matching. Computational Statistics & Data Analysis , 51(5):2499--2512
2007
-
[14]
O., and Saremi, S
Kirchmeyer, M., Pinheiro, P. O., and Saremi, S. (2024). Score-based 3D molecule generation with neural fields. In Advances in Neural Information Processing Systems
2024
-
[15]
LeCun, Y., Bottou, L., Bengio, Y., and Haffner, P. (1998). Gradient-based learning applied to document recognition. Proceedings of the IEEE , 86(11):2278--2324
1998
-
[16]
T., Shen, R., and Tian, K
Lee, Y. T., Shen, R., and Tian, K. (2021). Structured logconcave sampling with a restricted gaussian oracle. In Conference on Learning Theory
2021
-
[17]
Levin, D. A. and Peres, Y. (2017). Markov Chains and Mixing Times . American Mathematical Society
2017
-
[18]
and Hutter, F
Loshchilov, I. and Hutter, F. (2019). Decoupled weight decay regularization. In International Conference on Learning Representations
2019
-
[19]
Lou, A., Meng, C., and Ermon, S. (2024). Discrete diffusion modeling by estimating the ratios of the data distribution. In International Conference on Machine Learning
2024
-
[20]
Meng, C., Choi, K., Song, J., and Ermon, S. (2022). Concrete score matching: Generalized score matching for discrete data. In Advances in Neural Information Processing Systems
2022
-
[21]
Miyasawa, K. (1961). An empirical B ayes estimator of the mean of a normal population. Bulletin of the International Statistical Institute , 38(4):181--188
1961
-
[22]
Montanari, A. (2023). Sampling, diffusions, and stochastic localization. arXiv preprint arXiv:2305.10690
2023 arXiv
-
[23]
and Cuturi, M
Peyr \'e , G. and Cuturi, M. (2019). Computational optimal transport: With applications to data science. Foundations and Trends in Machine Learning , 11(5-6):355--607
2019
-
[24]
O., Rackers, J., Kleinhenz, J., Maser, M., Mahmood, O., Watkins, A
Pinheiro, P. O., Rackers, J., Kleinhenz, J., Maser, M., Mahmood, O., Watkins, A. M., Ra, S., Sresht, V., and Saremi, S. (2023). 3 D molecule generation by denoising voxel grids. In Advances in Neural Information Processing Systems
2023
-
[25]
and Simoncelli, E
Raphan, M. and Simoncelli, E. P. (2011). Least squares estimation without priors or supervision. Neural Computation , 23(2):374--420
2011
-
[26]
Robbins, H. (1956). An empirical B ayes approach to statistics. In Proc. Third Berkeley Symp. , volume 1, pages 157--163
1956
-
[27]
Robert, C. P. and Casella, G. (2004). The M etropolis- H astings algorithm. Monte Carlo Statistical Methods , pages 267--320
2004
-
[28]
Ronneberger, O., Fischer, P., and Brox, T. (2015). U- N et: Convolutional networks for biomedical image segmentation. In International Conference on Medical Image Computing and Computer-assisted Intervention
2015
-
[29]
and Hyv \"a rinen, A
Saremi, S. and Hyv \"a rinen, A. (2019). Neural empirical B ayes. Journal of Machine Learning Research , 20(181):1--23
2019
-
[30]
W., and Bach, F
Saremi, S., Park, J. W., and Bach, F. (2024). Chain of log-concave M arkov chains. In International Conference on Learning Representations
2024
-
[31]
and Srivastava, R
Saremi, S. and Srivastava, R. K. (2022). Multimeasurement generative models. In International Conference on Learning Representations
2022
-
[32]
Sohl-Dickstein, J., Weiss, E., Maheswaranathan, N., and Ganguli, S. (2015). Deep unsupervised learning using nonequilibrium thermodynamics. In International Conference on Machine Learning
2015
-
[33]
P., Kumar, A., Ermon, S., and Poole, B
Song, Y., Sohl - Dickstein, J., Kingma, D. P., Kumar, A., Ermon, S., and Poole, B. (2021). Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations
2021
-
[34]
Vincent, P. (2011). A connection between score matching and denoising autoencoders. Neural Computation , 23(7):1661--1674
2011
-
[35]
Zhang, R., Liu, X., and Liu, Q. (2022). A L angevin-like sampler for discrete distributions. In International Conference on Machine Learning
2022
Reviewed August 9, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.