DRAG: Data Reconstruction Attack using Guided Diffusion
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
MajorEvidence 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 while Equation (3) scales it by again.
Take nonzero guidance, and a fixed denoising mean. At full guidance 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 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 whereas equation (3) multiplies the noise by again.
Hold the selected guidance vector nonzero, use positive and consider a fixed denoising mean. At full guidance the printed equation is 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 at a displacement increases the loss from to A displacement decreases it to
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 for standard-normal Equation (8), read literally as a replacement for that symbol, assigns it norm The resulting displacement consequently has norm rather than For and the two radii are and 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 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 – the scalar loss is differentiated, a normalized optimizer direction is extracted, and the guided endpoint is explicitly `d_star = -r * v`. The final displacement is normalized to radius and passed as `noise=d`. In `models/diffusion.py`, lines – supplied noise is added directly, without another multiplier. The pixel-space path in `run_drag_dm.py`, lines – 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.
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 EvidenceEvidence 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 – 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, and have cosine whereas applying to both gives 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., ) 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).