ELVIA analysis of: Certification for Differentially Private Prediction in Gradient-Based Training — Problem 2: Neighboring dataset can change update count and escape certified interval
Original paper: Matthew Wicker; Philip Sosnin; Igor Shilov; Adrianna Janik; Mark Müller; Yves-Alexandre de Montjoye; Adrian Weller; Calvin Tsay. Certification for Differentially Private Prediction in Gradient-Based Training. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/wicker25a.html
Source version: Published ICML 2025 proceedings PDF (PMLR 267)
Source location: PDF pp. 4-5 Definition4.3/Theorem4.5; pp. 15-16 AppendixD.3; training_utils.py168-223; privacy.py53,94-121
Question: What does the recorded analysis establish about “Neighboring dataset can change update count and escape certified interval”?
Bounded finding:
Adjacent trained parameter lies outside enclosure and changes allegedly stable prediction. Core parameter-enclosure and stability guarantees fail for accessible minibatch training semantics, independently of noise-scale issue.
Removing a skip alone would not establish neighboring-dataset consistency: a new last partial batch can instead introduce an additional update. The per-batch theorem can support a properly coupled training definition; it does not prove the unqualified minibatch claim for the accessible schedule.
Recorded check:
Theorem 4.5, p. 5, and Appendix D.3, pp. 15–16, claim valid parameter bounds for gradient training with fixed hyperparameters. The induction encloses a common sequence of updates but does not ensure that neighboring datasets have the same number or correspondence of updates. Fixed data ordering does not establish that property. The released incomplete-batch policy gives an explicit false prediction-stability certificate.
Use a scalar bias logit \(\theta\), binary prediction \(1\{\theta>0\}\), BCE loss, 20 identical zero-input/zero-label records, and \[\theta_0=3/20,\quad \gamma=1/10,\quad
\alpha=1,\quad b=10,\quad E=1,\quad k=1.\] All original gradients over the relevant pre-update parameter intervals exceed \(1/10\), so clipping gives exactly \(1/10\). Each nominal full batch has certified gradient bounds \[g_L=\frac{9(1/10)-1/10}{10}=\frac{2}{25},
\qquad g_U=\frac{9(1/10)+1/10}{10}=\frac1{10}.\] Interval SGD therefore gives \[[0.15,0.15]\longrightarrow[0.05,0.07]
\longrightarrow[-0.05,-0.01].\] The nominal parameter is \(-0.05\), and the entire final interval predicts zero. The method therefore certifies stability at distance one.
Delete one individual. The neighbor has 19 records. The released wrapper processes ten, then skips the final batch of nine, leaving the actual parameter \[\theta(D')=0.15-0.10=0.05>0.\] This lies outside the certified enclosure and predicts one. Identical records remove any dependence on shuffle order, and the sign margins avoid numerical boundary cases.
The active loop in `abstract_gradient_training/privacy.py` calls `dataloader_pair_wrapper`; the latter in `training_utils.py`, lines 168–223, sets full batch size from the first batch and skips subsequent unequal sizes. The experiment training helper, lines 135–146, uses an ordinary shuffled DataLoader. Coordinate clipping is at `training_utils.py` lines 255–259. The private accumulator’s lines 253–317 implement the trimmed sums and nominal-batch denominator. Bounded SGD lines 102–104 apply the interval update. These static paths yield the exact arithmetic above.
The counterexample invalidates Definition 4.3’s enclosure and the prediction certificate inferred from it. It is independent of Problem 1: there, the enclosure is sound and the noise scale is wrong; here, the enclosure itself fails for the released training schedule. The main experiments use maximum/full batches, so this example does not prove their reported certificates encountered this particular multi-batch boundary.
Case-wide limitations:
- P1 — Pointwise sensitivity upper bound lacks required neighboring-dataset smoothness — Counterevidence: Theorem5.1 pointwise bound remains valid and intervals are sound; exact maximal true radius has smoothness unavailable to incomplete/grid-rounded certificates. Witness does not claim historical datasets instantiate it.
- P2 — Neighboring dataset can change update count and escape certified interval — Counterevidence: Main experiments use maximum/full batches, which can avoid this particular boundary. Per-batch bounds are sound. A properly coupled fixed update schedule could support a restricted theorem.
- Limitations: No author-code execution, training, dataset/checkpoint download or empirical replication.
- Limitations: Current public release not certified historical experiment identity.
- Limitations: No formal floating-point soundness guarantee, external-proof audit or later-version review.
- Unresolved claim: Raw runs/checkpoints/config-to-table mappings absent; surprising values alone insufficient to assert error.
- Unresolved claim: Mathematical repair may require global dataset-space optimization; no practical repair verified.
- Unresolved claim: Main radius needs edit-stable assignment; displayed tie produces negative radius. No additional implemented ensemble counterexample established.
- Missing materials: Historical raw runs, caches, checkpoints and exact experiment source bindings
- Missing materials: Efficient verified privacy repair
- Missing materials: External proof/later-version verification
- Work not performed: author-code execution
- Work not performed: training
- Work not performed: dataset/weight downloads
- Work not performed: software installation
- Work not performed: human review
- Work not performed: post-batch acceptance
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p2
Source report index: 2
Review status: Independent review pending
Case: icml2025-0286-certification-for-differentially-private-prediction-in-gradient-ba
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0286-certification-for-differentially-private-prediction-in-gradient-ba.html#problem-2
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0286-certification-for-differentially-private-prediction-in-gradient-ba/records/icml2025-0286-certification-for-differentially-private-prediction-in-gradient-ba.r1.json
Canonical record SHA-256: 9f1af64e03fe5bccfb81db25dd184bceb12f461ce3d6983491131c61ef43e951
The page follows the latest revision; the versioned record identifies this snapshot.
Analysis citation:
Minhao Liu. ELVIA analysis of: Certification for Differentially Private Prediction in Gradient-Based Training — Problem 2: Neighboring dataset can change update count and escape certified interval. ELVIA, 2026. https://elvia-atlas.org/atlas/cases/icml2025-0286-certification-for-differentially-private-prediction-in-gradient-ba.html#problem-2
Case icml2025-0286-certification-for-differentially-private-prediction-in-gradient-ba; revision 1; Independent review pending. Assessment is limited to the inspected claims. Versioned record: https://elvia-atlas.org/atlas/evidence/icml2025-0286-certification-for-differentially-private-prediction-in-gradient-ba/records/icml2025-0286-certification-for-differentially-private-prediction-in-gradient-ba.r1.json
Claim in the source (paraphrase):
Algorithm1/Theorem4.5 encloses all neighboring retrained parameters and supports prediction-stability certification.
Scalar bias classifier, BCE, identicalzero-input/zero-label records. theta0=.15,gamma=.1,\(\alpha=1\),batch10,oneepoch,k1. Released wrapper processes first full batch then skips differently sized later batches. No regularization or momentum; fixed or shuffled ordering immaterial for identical records.
Full finding analysis:
Theorem 4.5, p. 5, and Appendix D.3, pp. 15–16, claim valid parameter bounds for gradient training with fixed hyperparameters. The induction encloses a common sequence of updates but does not ensure that neighboring datasets have the same number or correspondence of updates. Fixed data ordering does not establish that property. The released incomplete-batch policy gives an explicit false prediction-stability certificate.
Use a scalar bias logit \(\theta\), binary prediction \(1\{\theta>0\}\), BCE loss, 20 identical zero-input/zero-label records, and \[\theta_0=3/20,\quad \gamma=1/10,\quad
\alpha=1,\quad b=10,\quad E=1,\quad k=1.\] All original gradients over the relevant pre-update parameter intervals exceed \(1/10\), so clipping gives exactly \(1/10\). Each nominal full batch has certified gradient bounds \[g_L=\frac{9(1/10)-1/10}{10}=\frac{2}{25},
\qquad g_U=\frac{9(1/10)+1/10}{10}=\frac1{10}.\] Interval SGD therefore gives \[[0.15,0.15]\longrightarrow[0.05,0.07]
\longrightarrow[-0.05,-0.01].\] The nominal parameter is \(-0.05\), and the entire final interval predicts zero. The method therefore certifies stability at distance one.
Delete one individual. The neighbor has 19 records. The released wrapper processes ten, then skips the final batch of nine, leaving the actual parameter \[\theta(D')=0.15-0.10=0.05>0.\] This lies outside the certified enclosure and predicts one. Identical records remove any dependence on shuffle order, and the sign margins avoid numerical boundary cases.
The active loop in `abstract_gradient_training/privacy.py` calls `dataloader_pair_wrapper`; the latter in `training_utils.py`, lines 168–223, sets full batch size from the first batch and skips subsequent unequal sizes. The experiment training helper, lines 135–146, uses an ordinary shuffled DataLoader. Coordinate clipping is at `training_utils.py` lines 255–259. The private accumulator’s lines 253–317 implement the trimmed sums and nominal-batch denominator. Bounded SGD lines 102–104 apply the interval update. These static paths yield the exact arithmetic above.
The counterexample invalidates Definition 4.3’s enclosure and the prediction certificate inferred from it. It is independent of Problem 1: there, the enclosure is sound and the noise scale is wrong; here, the enclosure itself fails for the released training schedule. The main experiments use maximum/full batches, so this example does not prove their reported certificates encountered this particular multi-batch boundary.
Finding and scope:
Adjacent trained parameter lies outside enclosure and changes allegedly stable prediction. Core parameter-enclosure and stability guarantees fail for accessible minibatch training semantics, independently of noise-scale issue.
Removing a skip alone would not establish neighboring-dataset consistency: a new last partial batch can instead introduce an additional update. The per-batch theorem can support a properly coupled training definition; it does not prove the unqualified minibatch claim for the accessible schedule.
Recorded correction and verification scope:
Specify and enforce neighboring-dataset-consistent step/batch schedule or enclose changed update counts; removing skip alone does not fix extra-step possibility.
Displayed problem statement:
Algorithm1/Theorem4.5 encloses all neighboring retrained parameters and supports prediction-stability certification.
Scalar bias classifier, BCE, identicalzero-input/zero-label records. theta0=.15,gamma=.1,\(\alpha=1\),batch10,oneepoch,k1. Released wrapper processes first full batch then skips differently sized later batches. No regularization or momentum; fixed or shuffled ordering immaterial for identical records.
Complete retained report:
Abstract: The paper’s pointwise sensitivity bound survives inspection, but its substitution into a dataset-dependent Cauchy mechanism is invalid. A one-step logistic example with sound AGT intervals and a sparse certification grid violates the advertised pure differential privacy inequality after binary thresholding. Separately, the released minibatch schedule can produce a false stability certificate after one record deletion. Both failures concern central guarantees. Per-batch clipped-gradient bounds and conditional stability lemmas remain valid within stated scopes. The overall assessment is Major; scientific adjudication is pending.
Author: AI-assisted technical review
Title: Certification for Differentially Private Prediction in Gradient-Based Training
# Identity and scope
This review concerns M. Wicker, P. Sosnin, I. Shilov, A. Janik, M. N. Mueller, Y.-A. de Montjoye, A. Weller and C. Tsay, Certification for Differentially Private Prediction in Gradient-Based Training, ICML 2025, PMLR 267 [paper], assigned 0286/I25-43655. All 20 original PDF pages were read as text; decisive equations and proofs were additionally inspected in rendered original pages. Page references are one-based PDF pages. Source references use one-based file lines.
All 98 staged manifest entries matched their recorded hashes; the preserved source archive contains 91 members. The public repository [code] is pinned to
f409c6ea8d308660673423add3165d02bfcd37f7.
This identity is not asserted to be the historical experiment commit. Static inspection covered active privacy training, gradient accumulation, clipping, interval SGD, certificate selection and prediction mechanisms. No author code was executed. The independent check recomputed the decisive examples and checked original pixels.
The method first encloses parameters reachable after bounded dataset edits, then certifies a constant binary prediction on that enclosure. It uses a certified stability radius \(k_c(D)\) to obtain the pointwise bound \[SS_\beta(f_x,D)\le B(D):=e^{-\beta k_c(D)}.\] The final step uses \(B(D)\) as a noise scale. These logically distinct stages must be checked separately.
# Problems
Problem 1 (Major: a pointwise upper bound is not a smooth noise scale). Theorem 5.1 and Eq. 9, p. 6, establish a pointwise sensitivity upper bound. Corollary 5.2, p. 7, substitutes it into Cauchy noise and claims pure \((\epsilon,0)\)-DP. Appendix D.6, p. 17, justifies this by saying that any upper bound can replace smooth sensitivity because increasing noise cannot reduce privacy. That assertion is false for dataset-dependent increases.
A suitable scale must control variation between neighboring datasets. Pointwise domination \(B(D)\ge SS_\beta(f_x,D)\) does not imply \[B(D)\le e^\beta B(D')\quad\text{whenever }d(D,D')=1.\] Appendix C, pp. 14–15, explicitly selects the largest certified value from an affordable grid. A sound but incomplete or grid-rounded certificate can jump between neighbors.
## A counterexample using sound AGT bounds
Use a scalar logistic model with logit \(\theta x\), label \(1\{\theta x>0\}\), binary cross-entropy loss, public initialization \(\tau=1/10000\), learning rate \(1\), one epoch, coordinate clipping \(\gamma=1/2\), and a public maximum batch size of 121. Let the public dataset domain contain labeled multisets with sizes between 61 and 121. Thus every permissible dataset has exactly one batch and all selected radii below are smaller than the batch size. This restriction makes the example independent of the batch-count defect in Problem 2.
Let \(D_{121}\) contain 121 individuals with \((x,y)=(1,0)\), and obtain adjacent \(D_{120}\) by deleting one. Query \(x=1\). The original gradients at initialization are \(\sigma(\tau)>1/2\), hence clip exactly to \(1/2\). Both nominal trained parameters are \[\theta_{\rm nom}=\tau-\tfrac12=-0.4999,\qquad f_x(D_{121})=f_x(D_{120})=0.\] Theorem 4.6 and Algorithm 1 give, for \(n=120,121\), \[\Delta\Theta_k=[\tfrac12-k/n,\tfrac12],
\qquad
\Theta_k(D_n)=[\tau-\tfrac12,\;\tau-\tfrac12+k/n].\] These are sound bounds: arbitrary added gradients are clipped to \([-1/2,1/2]\), and the formula even covers independently up to \(k\) removals and \(k\) additions, a larger perturbation set than a total edit budget \(k\).
Take the permissible grid \(\mathcal K=\{0,50,60\}\). Its 50-to-60 gap also occurs in both released OCT and IMDB grids; the example is not a reproduction of those datasets or hyperparameters.
Dataset | Upper endpoint, \(k=50\) | Upper endpoint, \(k=60\) | Selected \(k_c\)
\(D_{121}\) | \(-104879/1210000\) | \(-4879/1210000\) | 60
\(D_{120}\) | \(-2497/30000\) | \(1/10000\) | 50
The first interval at \(k=60\) is strictly negative; the second contains negative and positive logits. There is no floating-point tie. All certificates that succeed are sound. The released loader also accepts each sole batch: it infers the full size from the first observed batch, so the 120-record neighbor is processed.
## Violation for the actual released binary event
At \(\epsilon=1\), Eq. 10 uses \(s_k=6e^{-k/6}\). Since both nominal labels are zero, the event \(R=1\) has probability \[p_k=\Pr\{\operatorname{Cauchy}(s_k)>1/2\}
=\frac{\arctan(2s_k)}{\pi}.\] Independent calculation yields \[p_{60}=0.00017341494055,\qquad
p_{50}=0.00091814122188,\qquad
\frac{p_{50}}{p_{60}}=5.294475891>e.\] Equivalently, \(p_{50}-e\,p_{60}=0.0004467505402>0\). This violates the pure-DP inequality for neighboring datasets after binary postprocessing. Adding the released helper’s \(10^{-8}\) scale floor leaves the ratio \(5.294318243>e\).
#### Implementation and core dependency.
In `abstract_gradient_training/privacy_utils.py`, lines 82–123 choose the largest available certified \(k\), and lines 149–150 exponentiate it. In `scripts/privacy_paper/dp_mechanisms.py`, lines 134–160 add Cauchy noise with scale \(6e^{-\epsilon k/6}/\epsilon+10^{-8}\) and threshold the binary prediction. The OCT script line 49 and IMDB script line 36 contain consecutive candidates 50 and 60. The independent calculation models these formulas without importing them.
Corollary 5.2 supplies the principal privacy guarantee, its ensemble application and subsequent composition. Its failure therefore supports Major directly. Theorem 5.1’s pointwise inequality remains valid; the counterexample uses valid enclosures. No claim that historical experiment records instantiate the example is needed to refute the theorem.
#### Possible repairs and their limits.
The exact maximal true stable radius is 1-Lipschitz across neighboring datasets: for equal predicted labels, distances to the opposite-label set differ by at most one; opposite-label neighbors both have radius zero. A certified lower bound need not inherit that property. One mathematical repair is a global smooth majorant \[\overline B(D)=\sup_Z e^{-\beta d(D,Z)}B(Z).\] It dominates \(B\), and the triangle inequality proves its neighbor ratio is at most \(e^\beta\). But this may reintroduce the intractable dataset-space optimization the paper avoids. A practical replacement must prove smoothness or supply a different valid mechanism, then revisit utility at the claimed privacy levels. No efficient repair or revised benchmark curve is verified here.
Problem 2 (Major: changed update counts can invalidate parameter enclosures). Theorem 4.5, p. 5, and Appendix D.3, pp. 15–16, claim valid parameter bounds for gradient training with fixed hyperparameters. The induction encloses a common sequence of updates but does not ensure that neighboring datasets have the same number or correspondence of updates. Fixed data ordering does not establish that property. The released incomplete-batch policy gives an explicit false prediction-stability certificate.
Use a scalar bias logit \(\theta\), binary prediction \(1\{\theta>0\}\), BCE loss, 20 identical zero-input/zero-label records, and \[\theta_0=3/20,\quad \gamma=1/10,\quad
\alpha=1,\quad b=10,\quad E=1,\quad k=1.\] All original gradients over the relevant pre-update parameter intervals exceed \(1/10\), so clipping gives exactly \(1/10\). Each nominal full batch has certified gradient bounds \[g_L=\frac{9(1/10)-1/10}{10}=\frac{2}{25},
\qquad g_U=\frac{9(1/10)+1/10}{10}=\frac1{10}.\] Interval SGD therefore gives \[[0.15,0.15]\longrightarrow[0.05,0.07]
\longrightarrow[-0.05,-0.01].\] The nominal parameter is \(-0.05\), and the entire final interval predicts zero. The method therefore certifies stability at distance one.
Delete one individual. The neighbor has 19 records. The released wrapper processes ten, then skips the final batch of nine, leaving the actual parameter \[\theta(D')=0.15-0.10=0.05>0.\] This lies outside the certified enclosure and predicts one. Identical records remove any dependence on shuffle order, and the sign margins avoid numerical boundary cases.
#### Source binding.
The active loop in `abstract_gradient_training/privacy.py` calls `dataloader_pair_wrapper`; the latter in `training_utils.py`, lines 168–223, sets full batch size from the first batch and skips subsequent unequal sizes. The experiment training helper, lines 135–146, uses an ordinary shuffled DataLoader. Coordinate clipping is at `training_utils.py` lines 255–259. The private accumulator’s lines 253–317 implement the trimmed sums and nominal-batch denominator. Bounded SGD lines 102–104 apply the interval update. These static paths yield the exact arithmetic above.
#### Impact, counterevidence, and correction.
The counterexample invalidates Definition 4.3’s enclosure and the prediction certificate inferred from it. It is independent of Problem 1: there, the enclosure is sound and the noise scale is wrong; here, the enclosure itself fails for the released training schedule. The main experiments use maximum/full batches, so this example does not prove their reported certificates encountered this particular multi-batch boundary.
A repair must specify and enforce a neighboring-dataset-consistent update schedule and batch coupling, or enclose changes in both membership and update count. Removing the skip alone is insufficient: including a new last partial batch can instead introduce an extra update. The per-batch theorem can support a correctly coupled training definition; the unqualified minibatch claim and accessible implementation need correction. No patched training implementation was run.
# Surviving mathematics and evidence limits
#### Bounded No Issue Found.
Lemma 4.2 follows from the dataset-distance triangle inequality; Lemma 4.4 is valid conditional on a genuine parameter enclosure. Theorem 5.1’s pointwise bound survives. For \(0\le k<b\) and nonempty batches, Theorem 4.6’s final clipped-gradient bound is independently recoverable: maximizing a scalar mean permits adding \(k\) copies of \(+\gamma\) and removing the \(k\) smallest originals, producing the top-\((b-k)\) sum plus \(k\gamma\), divided by \(b\). Each operation increases the mean. Coordinatewise interval extension is sound. The independent check checked 20,250 finite exact-rational cases as a supplementary diagnostic; that finite check is not the proof.
Appendix D.4’s intermediate all-\(b\) summation indices do not match the final trimmed sum, and Appendix B repeats a lower-bound label where the upper-bound expression is intended. These local notation defects do not supply another false final theorem. The inspected IBP/BCE/clipping formulas pass bounded algebraic checks.
For positive vote margin and a public partition in which one record edit affects one teacher, the main ensemble radius \(\sum_{i\in S_n}k_i+n-1\) follows because flipping teacher \(i\) costs at least \(k_i+1\) edits. Appendix D.7 omits that additive term in its proof. Exact vote ties yield the undefined displayed \(K=-1\); they require a nonnegative fallback or corrected flip count. No additional implemented ensemble counterexample is asserted. A valid ensemble stability bound would still need a repaired privacy mechanism.
#### Experimental scope and Needs Evidence.
The OCT claim concerns private dense-layer fine-tuning with assumed-public pretraining. IMDB uses fixed assumed-public GPT-2 embeddings and a trained small classifier, not a certificate for updating all GPT-2 parameters. The paper candidly discusses loose bounds for deeper models, many iterations, small batches and multiclass losses. These limits are not treated as scientific errors.
Accuracy plots and Table 1 were read, but raw experiment outputs and historical model/configuration bindings were unavailable. Surprising student values in Table 1 do not alone prove a numerical defect. The empirical noise/accuracy observations can remain real, while their interpretation at the claimed DP level is unsupported by the invalid mechanism. No dataset, checkpoint, author training run, GPU benchmark, external proof or later correction was independently reproduced.
# Disposition
Both demonstrated Problems are Major and concern core guarantees. Conditional lemmas and useful per-batch machinery survive. This is initial review only: adjudication pending, author adoption unknown, human reviews empty. No whole-paper correctness claim or post-batch acceptance is made.
9 M. Wicker et al. Certification for Differentially Private Prediction in Gradient-Based Training. PMLR 267, ICML 2025. Original PDF, 20 pages. https://proceedings.mlr.press/v267/wicker25a.html. P. Sosnin and collaborators. AbstractGradientTraining, pinned release identified in Section 1. https://github.com/psosnin/AbstractGradientTraining.
# Actual checks and durable evidence
Original PDF SHA-256:
840a5295e7cb6f35edeef6440dd6b864a7db283314bbf74753ebe8e41f928dbb.
Reviewer-authored `check.py` computes exact certificate intervals, binary Cauchy probabilities, source-floor robustness, the batch-count counterexample and finite per-batch checks; results are in `check.json`. Replay with . `e.txt` contains decisive line-numbered static excerpts and hashes; `s.json` preserves source/version/member mappings.
No author code, software installation or additional download occurred.
Source PDF SHA-256: 840a5295e7cb6f35edeef6440dd6b864a7db283314bbf74753ebe8e41f928dbb
Repair verification: pending
Author adoption: not_requested