Abstract: The temperature-guidance construction, density accounting and evaluation definitions are checked against the published paper and a pinned public implementation. A sign error in the printed density identity and three local evaluation inconsistencies are established. The implementation uses the correct density sign, while the inspected transport and histogram routines do not implement the quantities stated in the paper. These are assessed as Minor within the demonstrated scope; their effect on historical benchmark conclusions requires evidence of the experiment version and retained samples. No training or benchmark reproduction was performed.

Author: AI-assisted technical review

Title: Technical Verification of
Progressive Tempering Sampler with Diffusion

# Identity, scope and assumptions

This report concerns Rissanen et al., Progressive Tempering Sampler with Diffusion, ICML 2025, PMLR 267, paper I25-43740 [paper]. All page references are one-based physical PDF pages (1–23), which match the printed page labels. The published PDF and embedded appendices A–D were consulted. The public repository is frozen at commit `5853c23b47f553fe1992494a26e6618329e85c5d`, dated 16 August 2025 [code]; it is not authenticated as the historical experimental commit.

The focused checks cover Eqs. (2), (5)–(12), Algorithm 1, the metrics in Appendix B and their current evaluation path, and the experimental qualifications in Sections 5–6 and Appendices C–D. The required probability-flow calculation assumes a smooth positive density and a differentiable flow. The metric examples use finite empirical distributions with finite second moments; there is no assumption in the stated definitions excluding repeated observations or outliers. Molecular dynamics, neural training, all benchmark scores and the full repository were not reproduced.

For the temperature guidance, writing \(s_T=\nabla\log p_t(\cdot,T)\), the first-order finite-difference substitution correctly gives \((1+w)s_{T_1}-ws_{T_2}\) with \(w=(T_1-T)/(T_2-T_1)\). This is explicitly an approximation. For a Gaussian base target, \(T_1=1.5\), \(T_2=2\), \(T=1\), noise variance one and \(x=1\), the proposed score is \(-0.466667\), whereas the exact score is \(-0.5\). This is a scope check, not a refutation of a claimed exact identity. Sections 3.3 and 6 acknowledge truncation bias, imperfect score extrapolation and wall-clock cost.

# Substantive findings

Problem 1 (Sign in the printed probability-flow density identity).  Equation (7), p. 3, has the wrong sign relative to the flow in Eq. (6). The supported impact is Minor because the inspected sampling code uses the correct sign.

With \(a(t)=\dot\sigma(t)\sigma(t)\), Eq. (6) has velocity \(f=-a\nabla\log p_t\). Conservation of mass gives \[\frac{d}{dt}\log p_t(x_t)=-\nabla\cdot f(x_t,t)
=+a(t)\operatorname{tr}\nabla^2\log p_t(x_t).\] Equation (7) instead prints a minus sign before \(a\). A direct example satisfies all smoothness and normalizability requirements: take \(p_0=N(0,1)\) and \(\sigma(t)=t\) for \(t>0\). Then \(p_t=N(0,1+t^2)\) and \(x_t=c\sqrt{1+t^2}\) solves Eq. (6). Along that path, \[\log p_t(x_t)=-\tfrac12\log(2\pi(1+t^2))-\tfrac12c^2,
\qquad \frac{d}{dt}\log p_t(x_t)=-\frac{t}{1+t^2}.\] At \(t=1\) the derivative is \(-0.5\); the printed expression yields \(+0.5\). The independent centered finite difference with \(c=0.7\) and \(h=10^{-5}\) confirms \(-0.5\) to numerical precision.

Decreasing integration time does not remove this discrepancy: both the flow and the density derivative must transform consistently. Nevertheless, `ptsd/utils/diffusion_utils.py`, lines 182–206, computes \(f=(x-D)/t\) and subtracts its divergence times \(dt\), which is correct. Appendix D.3, Eq. (20), does not supply an additional consistent identity: its printed path \(x_t=x_1-\int_1^t\widetilde f(x_u,u)\,du\) has velocity \(-\widetilde f\), whereas its displayed density integral uses the sign appropriate to velocity \(+\widetilde f\). Changing the path sign to plus makes those two expressions consistent. The active code, rather than that printed pair, supplies the positive counterevidence. The erroneous displayed identity should be corrected, but there is no evidence here that the trained sampler used that erroneous sign. The density calculation feeds the importance weights in Eq. (12); the inspected active code supplies counterevidence against a demonstrated failure of that core step.

Problem 2 (The released data-space transport statistic is not Eq. (15)).  Appendix B, p. 14, defines \(W_2=(\inf_\gamma E_\gamma d^2)^{1/2}\) with Euclidean \(d\). In `ptsd/utils/metrics.py`, lines 106–119, the two-dimensional tensor branch supplies Euclidean distances to the transport optimizer and returns their mean under the optimal plan, without squaring or taking a square root.

Consequently that branch computes \(W_1\) for empirical distributions, rather than the specified \(W_2\). It is connected to evaluation by `ptsd/eval.py`, lines 53–76, through `Wasserstain2_data`. This is not merely a constant rescaling. Let the reference empirical sample be \((0,0),(0,0)\), candidate A be \((0,0),(4,0)\) and candidate B be \((2.1,0),(2.1,0)\), all with equal weights. Every coupling to the reference has the same cost, so no solver choice is involved. The released objective gives \[W_1(A,\delta_0)=2<2.1=W_1(B,\delta_0),
\quad W_2(A,\delta_0)=\sqrt8>2.1=W_2(B,\delta_0).\] The independent computation reproduces these values. Merely taking the square root of the existing output does not repair the metric: squared costs must enter the optimization and the optimized mean must then be square-rooted. That prescription follows directly from Eq. (15), but no revised author implementation or benchmark rerun was tested.

Figures 1 and 6 and Table 1 label their principal sample-space statistic as \(W_2\). Their actual plotted values and labels were visually checked. The current source conflicts with that definition, but the available commit does not prove which metric generated those historical figures. The demonstrated release inconsistency is Minor; the validity of the published \(W_2\) comparisons is Needs Evidence. A core empirical conclusion could be affected if this version generated the published values. The example establishes possibility of changed rankings, not a changed ranking in these experiments. The one-dimensional and molecular branches are not certified by this argument.

Problem 3 (Histogram TVD discards generated mass outside the reference range).  The one-dimensional branch of `total_variation`, lines 61–69, builds bin edges from reference samples, bins generated samples using those edges, and normalizes by the number of retained generated samples. Appendix B, Eq. (16), instead defines total variation on the entire probability space.

Take reference energies \([0,0,1,1]\) and generated energies \([0,1,100,100]\). Both are finite, nonempty, one-dimensional, equal-sized inputs accepted by the routine. With 200 bins over the reference range \([0,1]\), only two generated observations are retained. After the separate normalizations, both histograms put probability \(1/2\) at each endpoint, giving zero. The empirical distributions on \(\{0,1,100\}\) have masses \((1/2,1/2,0)\) and \((1/4,1/4,1/2)\), hence \[\operatorname{TV}=\tfrac12\bigl(|1/2-1/4|+|1/2-1/4|+|0-1/2|\bigr)=\tfrac12.\] This is conditional comparison after discarded tail mass, not only the usual loss of information from binning. The computation in the evidence file reproduces zero and a retained count of two. The paper itself notes that energy summaries cannot establish mode coverage and discloses exclusion of undefined MW32 runs (p. 15); those admissions are relevant, but do not make the silently conditioned statistic full-space TVD. Overflow/underflow bins retaining all observations, or a declared common range containing both samples, would remove this particular loss of mass. Neither choice eliminates general binning bias. The source discrepancy is Minor; actual outlier fractions and historical implementation are needed to quantify benchmark impact.

Problem 4 (MMD conventions disagree between two definitions and the release).  On p. 15, Eq. (17) takes the square root of an RKHS unit-ball supremum, whereas Eq. (18) gives the usual square root of the kernel quadratic. These cannot both define the same quantity. The released implementation, `metrics.py`, lines 49–54, returns the kernel quadratic without a square root.

For the valid linear kernel \(k(x,y)=xy\), let \(P=\delta_0\) and \(Q=\delta_4\). The unit ball is \(f_a(x)=ax\), \(|a|\leq1\). The supremum of \(E_Pf-E_Qf\) is \(4\), so Eq. (17) gives \(2\); Eq. (18) gives \(\sqrt{16}=4\). The release returns a squared-MMD estimator. Calling that quantity MMD squared would be a legitimate convention, but it is not the literal Eq. (18) convention; removing the extraneous outer square root in Eq. (17) restores the definitional equality. Under a common fixed kernel, squaring preserves nonnegative population rankings, so no ranking reversal is claimed from this discrepancy. The units and numerical interpretation differ. This is a local Minor issue, not a challenge to the existence of the proposed sampler.

# Dependence, limits and conclusion

The PF sign issue is bounded by positive counterevidence in the active implementation. The temperature extrapolation is presented as heuristic, and finite MCMC refinement is not claimed here to certify exact samples. The release metric mismatches are proved independently of any expensive training; published benchmark influence remains conditional on provenance and sample data. The paper distinguishes target-evaluation efficiency from wall-clock efficiency (p. 9), and its Table 3 already shows mixed ALDP results. Nothing in this review overturns all sampling or cost conclusions. Later errata and external revision history were not established; the saved OpenReview metadata attempt returned 403, and was not bypassed.

Item | Judgment / repair | Adoption and remaining work

Printed PF identity | Minor; corrected identity proved | Unknown; active code sign is already correct

Transport and TVD release | Minor; analytical repairs specified | Unknown; historical version and retained samples needed

MMD definitions | Minor; convention reconciled | Unknown; metric labels/values need provenance

Scientific decision | Pending | Human reviews empty; independent AI check completed

9 Severi Rissanen, RuiKang OuYang, Jiajun He, Wenlin Chen, Markus Heinonen, Arno Solin, Jose Miguel Hernandez-Lobato. Progressive Tempering Sampler with Diffusion. Proceedings of ICML, PMLR 267 (2025). Published proceedings version. https://proceedings.mlr.press/v267/rissanen25a.html. Official PTSD source, commit 5853c23b47f553fe1992494a26e6618329e85c5d (2025-08-16). https://github.com/cambridge-mlg/Progressive-Tempering-Sampler-with-Diffusion/tree/5853c23b47f553fe1992494a26e6618329e85c5d.

# Supporting checks

The independent calculations are in and their actual output in . No author program was executed. The initial report has received a fresh, focused independent AI check; claim-level reasoning and its limits are recorded in the findings and coverage files. Scientific adjudication remains pending; no human review or author adoption is represented. Backend identity was not independently attested.
