ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Major

DRAG: Data Reconstruction Attack using Guided Diffusion

Wa-Kin Lei, Jun-Cheng Chen, Shang-Tse Chen

ELVIA analysis

Independent review pending

The supplied evidence demonstrates reconstruction risks under an explicit white-box split-inference threat model. A Major defect occurs in the printed core sampling rule: its guidance sign and noise-scale convention disagree with the stated minimization objective and with the pinned implementation. The release uses a negative guidance direction and adds an already scaled displacement directly, providing substantial counterevidence against concluding that the reported experiments used the erroneous printed rule. A separate DINO-metric provenance concern remains Needs Evidence. No attack or author code was executed.

Problem 1. Printed guidance sign and noise scaling contradict the core minimization sampler

Major
Evidence and reasoning

Problem statement

The method minimizes representation loss, but Equation (8) and Algorithm 1 use positive loss-gradient guidance. The replacement noise already has radius n σt,\sqrt n\,\sigma_t, while Equation (3) scales it by σt\sigma_t again.

Take nonzero guidance, σt>0,\sigma_t>0, and a fixed denoising mean. At full guidance w=1,w=1, use the printed definitions without an unstated sign change or standardized-noise redefinition. The scalar loss is a local smooth sign diagnostic, not a claim that every nonconvex diffusion step must reduce the objective.

Proof

Assessment: Major for the core algorithm as printed. Equation (1), p. 3, minimizes representation distance plus regularization. Equation (8), p. 4, defines gt=∇xtLg_t=\nabla_{x_t}L but adds its positive unit direction in the guided noise. Algorithm 1, p. 5, repeats that sign after positive Adam-style moment scaling. Moreover, equation (8) gives the replacement noise norm n σt,\sqrt n\,\sigma_t, whereas equation (3) multiplies the noise by σt\sigma_t again.

Hold the selected guidance vector nonzero, use positive σt,\sigma_t, and consider a fixed denoising mean. At full guidance w=1,w=1, the printed equation is ϵt=r gt∥gt∥,r=n σt.\epsilon_t=r\,\frac{g_t}{\|g_t\|},\qquad r=\sqrt n\,\sigma_t. Its component along the loss gradient is positive. In a local coordinate where the guidance gradient is the objective gradient at the current mean, the linearized loss change from a positive displacement is positive. For the elementary smooth example L(u)=u2/2L(u)=u^{2}/2 at u=1,u=1, a displacement +0.01+0.01 increases the loss from 0.50.5 to 0.51005.0.51005. A displacement −0.1-0.1 decreases it to 0.405.0.405.

This scalar calculation does not claim that a nonconvex diffusion trajectory must decrease its loss at every step. It isolates the sign of the intended guidance component, which is the issue. It also does not rely on differentiating a discontinuous operation or on an actual image. On the first optimizer-state update in Algorithm 1, Adam’s positive normalization preserves each nonzero gradient sign; it does not supply the missing minus sign.

Equation (3) writes the stochastic DDIM displacement as σtϵt\sigma_t\epsilon_t for standard-normal ϵt.\epsilon_t. Equation (8), read literally as a replacement for that symbol, assigns it norm r=n σt.r=\sqrt n\,\sigma_t. The resulting displacement consequently has norm n σt2,\sqrt n\,\sigma_t^{2}, rather than r.r. For n=4n=4 and σt=0.1,\sigma_t=0.1, the two radii are 0.020.02 and 0.2.0.2. This affects every nonunit noise scale, independently of the sign issue.

The two consistent conventions are either a unit-variance noise variable subsequently multiplied by σt,\sigma_t, or an already scaled displacement added directly. The paper mixes those conventions. Simply changing the gradient sign without clarifying the stochastic variable leaves this inconsistency.

The implementation does not use the printed sign and double scaling. In `run_drag_ldm.py`, lines 301301–319,319, the scalar loss is differentiated, a normalized optimizer direction vv is extracted, and the guided endpoint is explicitly `d_star = -r * v`. The final displacement dd is normalized to radius rr and passed as `noise=d`. In `models/diffusion.py`, lines 8181–98,98, supplied noise is added directly, without another σt\sigma_t multiplier. The pixel-space path in `run_drag_dm.py`, lines 280280–298,298, uses the same convention.

This is strong evidence for a publication/implementation mismatch, not proof of failed historical reconstructions. The original experiments may have used the correct release behavior. The review does not replace that counterevidence with a claim that the reported images or metrics must be wrong.

The affected rule is the central operation that makes diffusion conditional on the target representation. A reader implementing the stated equations obtains a different guidance direction and stochastic scale. This is a material core-algorithm error, assessed Major even though a notation/sign repair is short and other empirical results may survive.

□\square

Possible revision

Define guidance as a displacement, use the negative loss-gradient direction, and add that displacement directly; alternatively keep a standardized-noise convention consistently throughout. Sign and units were reconciled analytically with the release. No reconstruction rerun, corrected score or convergence guarantee is claimed.

Problem 2. DINO semantic metric may include an uninitialized projection

Needs Evidence
Evidence and reasoning

Problem statement

Location: Section4.3p5; models/distance.py20-57.

Paraphrase: DINO ViT-S/16 image similarity quantifies semantic reconstruction.

Pinned code returns pooler_output and removes layernorm. Source comment reports newly initialized pooler dense weights/bias. Historical checkpoint state and outputs not loaded.

Verification

Assessment: Needs Evidence. Section 4.3, p. 5, describes DINO ViT-S/16 image similarity as a semantic metric. The pinned `models/distance.py`, lines 2020–57,57, returns `pooler_output`, replaces the final layer normalization with the identity, and includes an explicit warning that pooler dense weights and bias were newly initialized rather than loaded from the checkpoint.

The provider’s model card describes the last hidden state of the CLS token as an image representation and gives an example reading `last_hidden_state`. It does not establish that the release’s extra pooled output is a pretrained semantic head. The release pins Transformers 4.50.3, but direct retrieval of that version’s implementation failed during this review. No checkpoint tensors were loaded, and the actual metric outputs used in the historical runs were unavailable.

The concern is scientifically meaningful because an unverified projection need not preserve cosine geometry. For example, u=(1,0)u=(1,0) and v=(1,1)v=(1,1) have cosine 1/2,1/\sqrt2, whereas applying diag⁡(10,1)\operatorname{diag}(10,1) to both gives 10/101≈0.995.10/\sqrt{101}\approx0.995. This is an illustrative non-isometry, not an assertion that the released pooler equals that matrix or that its numerical errors have that size.

Possible revision

Document actual descriptor/checkpoint/seed and compare intended features on existing reconstructions.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

We propose a novel attack based on guided diffusion that effectively utilizes the prior knowledge captured by large latent diffusion models (LDM) (Rombach et al., 20222022) pre-trained on large-scale datasets (e.g., Stable Diffusion) to reconstruct input data from deep-layer IR.

Published ICML 2025 proceedings (PMLR 267); PDF p. 1

Actual review scope

The recorded inspection concerns these source locations: Equations (1) and (3), PDF p. 3; Equation (8), p. 4; Algorithm 1, p. 5; run_drag_ldm.py, lines 301–319; models/diffusion.py, lines 81–98; Retained report, Problem 2: Problem 2 (The DINO feature used for evaluation needs provenance clarification).

Submit an author revisionContribute a review