{"id":"01661643-e560-492c-830e-4627f533f894","arxiv_id":"2505.16166","paper_version":1,"verdict":"CONDITIONAL","confidence":"MODERATE","novelty_score":7.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":7,"one_line_summary":"TRAIL adapts a latent diffusion model to a target image during the attack, then uses the adapted model to generate transferable adversarial images with minimal visual change.","lead":"The authors present TRAIL, an attack that fine-tunes a diffusion model on the fly to generate adversarial images that fool one classifier and transfer to others. It could make black-box attacks on image models, including vision-language models, more effective.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek-v4-flash","headline":"The one-step gradient shortcut in §3.4 is unvalidated; if it is a poor proxy for the full sampling path, the central claim that test-time adaptation drives TRAIL's transferability gains is unsupported.","rationale":"The reader's weakest-assumption analysis identifies Section 3.4's one-step gradient approximation as the load-bearing point, and I agree. The central claim of the paper is that test-time adaptation of the diffusion model is what creates distribution-aligned adversarial features and thus improves transferability. That causal claim rests entirely on the adapted model actually being better at generating adversarial images after optimization. The optimization, however, is performed through a single denoising step at a randomly selected timestep, while the final images come from a multi-step guided sampling process. There is no evidence that descending this surrogate loss improves the final sampling objective; the gradient could be noisy, biased, or even anti-correlated with the true objective. If the approximation fails, the reported improvements over DiffAttack could be explained by the adversarial guidance introduced at sampling time (which already exists in prior works) or by the less restrictive perturbation budget, making the central novelty unsupported. I considered other issues—the flawed proposition in the supplementary, missing hyperparameters, the corrupted Figure 3—but those are secondary: even if the proposition were correct and all hyperparameters were reported, the empirical claim would still hinge on whether the one-step adaptation actually works. The concrete test I propose directly settles this: an ablation with a frozen U-Net isolates the contribution of adaptation, and a full-backprop comparison measures the fidelity of the one-step proxy. Because the paper currently lacks this evidence but the method may still work for other reasons, the appropriate verdict remains CONDITIONAL rather than REJECT; the authors should be required to run this experiment before the central claim is accepted.","tokens_in":16048,"tokens_out":5771,"duration_ms":46963,"concrete_test":"Run a three-arm ablation on the same 1,000-image protocol: (A) TRAIL as described, (B) TRAIL with the U-Net frozen (no test-time adaptation, keeping the same adversarial guidance at sampling, the same t*, noise schedule, and number of generation steps), and (C) TRAIL where the adaptation loss is optimized with backpropagation through the full 8-step denoising chain used at generation (via gradient checkpointing, on the first 100 images for tractability). If (B) matches (A) within 2–3 ASR points, the adaptation is not the driver of the claimed gains. If (C) differs from (A) by more than 5 ASR points or yields opposite update directions, the one-step proxy is not faithful. Additionally report the average cosine similarity between the one-step gradient and the full-chain gradient over 100 random images; a value near zero or negative would directly invalidate the §3.4 assumption.","verdict_should_be":"UNCHANGED","load_bearing_attack":"TRAIL's central novelty is test-time adaptation of the diffusion U-Net: during each adaptation iteration, a random timestep t_r is chosen, the latent z_{t_r} is obtained, a single denoising prediction ẑ_0 is made via Eq. 12, and the loss L = α L_adv + β L_dis (Eq. 7) is backpropagated through that one step to update θ. The final adversarial image, however, is generated by a full multi-step reverse process with guidance at every step (Eq. 13). Nothing in the paper establishes that the one-step gradient is aligned with the objective that matters, i.e., the loss of the final generated image after the complete sampling chain. The randomness of t_r and the use of a single prediction make the gradient an uncontrolled proxy. If this proxy is poor, the adapted U-Net may not actually generate images with the intended dense mixture of robust features; the large gains over DiffAttack in Tables 1–3 could then be due to the adversarial guidance term (which is not new) or to the unrestricted perturbation budget, rather than to the proposed adaptation. This is load-bearing because the abstract and Section 3.2 attribute the transferability improvement to distribution-aligned adaptation. The paper itself acknowledges full backprop is difficult (Section 3.4) but provides no validation of the shortcut, no sensitivity analysis, and no comparison against a version without adaptation. The supplementary proposition (Eq. 16) is also not a substitute: its proof bounds ∥z_0(t*) − z_{t*}∥ rather than ∥z − z_0(t*)∥ and relies on an unjustified Cσ^4(t*) bound, so it does not validate the gradient proxy either.","agreement_with_reader":"agree"},"referee_report":{"model":"deepseek-v4-flash","summary":"The manuscript proposes TRAIL, a test-time adaptation framework for unrestricted adversarial image generation. Given a target image and a surrogate classifier, TRAIL updates a pre-trained latent diffusion U-Net by optimizing a weighted sum of an adversarial cross-entropy loss and a perceptual distance loss (Eq. 7), using a one-step denoising backpropagation shortcut (Section 3.4). The adapted model then generates the adversarial image by partially noising the input latent for t* steps and performing guided denoising (Eqs. 12-13). Experiments on an ImageNet-compatible dataset report large cross-model transfer gains over existing unrestricted attacks (e.g., 75.3% vs. 62.3% Transfer Avg for MobileNet-v2 surrogate in Table 1), improved success against defenses including DiffPure (77.4% in Table 2), and black-box attacks on CLIP and LLaVA (Table 3).","tokens_in":16383,"tokens_out":4807,"duration_ms":42866,"significance":"If the empirical results hold, TRAIL is a meaningful advance: it is, to my knowledge, the first test-time adaptation method for diffusion-based adversarial attacks, and the reported margins over DiffAttack and ACA are large and consistent across CNN and ViT surrogates, defenses, and VLM targets. The paper also makes an honest attempt at a theoretical justification via the Proposition in Section 3.3 and the supplementary proof. However, the central mechanism is supported only by an unvalidated one-step gradient shortcut, key hyperparameters are missing, and the proposition's proof has internal inconsistencies. As a result, the current evidence does not yet establish that the adaptation component is the cause of the reported gains.","major_comments":[{"comment":"The one-step gradient shortcut is load-bearing but unvalidated. During adaptation, a random timestep t_r is chosen, the latent is denoised for a single step via Eq. 12, and the loss Eq. 7 is backpropagated through that one prediction to update theta. The final adversarial image, however, is generated by the full multi-step guided reverse process of Eq. 13. Nothing in the paper shows that the one-step gradient direction is aligned with the loss of the final generated image. The randomness of t_r and the use of a single denoising prediction make this an uncontrolled proxy. To support the central claim that test-time adaptation drives TRAIL's transferability, the authors should add at least (i) an ablation with adaptation disabled, (ii) a comparison with full backpropagation through all sampling steps, and (iii) a comparison using more than one denoising step in the adaptation gradient. Without such ablations, the large gains in Tables 1-3 could be attributed to the adversarial guidance in Eq. 13 or to the unrestricted perturbation budget rather than to the proposed adaptation.","section":"3.4"},{"comment":"The loss weights alpha and beta in Eq. 7 are never specified. Section 4.1 lists N=100, T=80, t*=8, and learning rate 1e-5, but it does not report alpha, beta, or the scaling of the adversarial guidance term used in Eq. 13. These values are essential for reproducibility and for interpreting the trade-off experiments. The paper also provides no sensitivity analysis with respect to alpha and beta, so the reader cannot tell whether the reported margins depend on finely tuned weights or are robust to reasonable variation.","section":"4.1"},{"comment":"The Proposition's proof has internal inconsistencies that undermine its stated conclusion. The proposition states a bound on ||z - z0(t*)||^2 (Eq. 16), but the proof's final step bounds ||z0(t*) - z_t*||^2 (Eq. 26); these are different quantities because z_t* is the noised version of z, not z itself. In addition, the proof treats the normalized noise prediction bound C as a uniform constant for all t in [0,1], but the normalization 1/sqrt(1-alpha_bar_t) diverges as t approaches 0, so such a constant is not justified. The derivation of the deterministic-term bound in Eq. 19 also reuses C in a way that is not dimensionally consistent. The claim that 'as t* increases, the distance becomes larger' is only supported by monotonicity of an upper bound, not by monotonicity of the actual distance. I recommend either repairing the proposition and proof or removing the proposition and stating the t* trade-off purely as an empirical observation.","section":"3.3 and Appendix 6"}],"minor_comments":[{"comment":"The sentence beginning 'Bhattad et al.' is incomplete and should be finished or merged with the preceding sentence.","section":"2.1"},{"comment":"Equation (10) uses x_t in the U-Net prediction, while the surrounding notation consistently uses z_t for the latent; please correct this inconsistency.","section":"3.3"},{"comment":"The axis labels and legend of Figure 3 appear as garbled unicode escape sequences in the provided text; the published figure should be checked for legibility.","section":"4.4"},{"comment":"There are several typos and grammatical slips, e.g., 'aderverial loss' in Section 3.3, 'simpling steps' in Section 3.4, and 'selcet' in Section 4.1, which should be corrected.","section":"Throughout"},{"comment":"The paper does not provide the code or random seeds, and the reported ASR values are point estimates. Given the stochastic nature of diffusion sampling, reporting standard deviations or confidence intervals across multiple runs would strengthen the empirical claims.","section":"4.1"}],"recommendation":"major_revision","confidential_remarks":"The empirical contribution could be strong, but the paper currently does not substantiate its central novelty: the test-time adaptation mechanism. Please request the missing ablations and hyperparameter values, and ask the authors to either repair or remove the Proposition. If the authors can show that the adaptation component is responsible for the gains, the paper would be suitable for publication."},"author_rebuttal":null,"desk_editor":{"model":"deepseek-v4-flash","letter":"The core idea is real: updating the diffusion U-Net at attack time to shift the generation distribution toward adversarial features is not in DiffAttack or ACA, and the reported margins over those baselines are large. The evaluation is also broader than most in the area—seven black-box models, several defenses, plus a first pass at CLIP and LLaVA. If the gains hold up, this is a useful contribution to transferability research.\n\nBut I have two serious soft spots. The first is the one-step gradient shortcut in Section 3.4. You pick a random timestep, make one denoising prediction, and backprop through that to update θ. Nothing in the paper shows that this proxy gradient aligns with the loss of the final image after the full sampling chain. The stress-test note is exactly right: there is no ablation without adaptation, no comparison to full backprop, and no sensitivity analysis on the random timestep. Without that, the big gains over DiffAttack could plausibly come from the guidance term or the unrestricted perturbation budget rather than from the adaptation itself. That is load-bearing because the abstract and Section 3.2 attribute the transferability improvement to distribution-aligned adaptation.\n\nThe second soft spot is the proposition in the appendix. The statement promises a bound on ∥z − z0(t*)∥, but the proof bounds ∥x0 − xt*∥, which is the distance between the denoised result and the corrupted input at t*, not the distance from the original clean latent. The Cσ^4(t*) bound is also asserted without a clean derivation. So the theory does not currently back the method, though it is peripheral to the empirical claims.\n\nReproducibility is also a problem: no code, α and β never given numerical values, guidance scale not stated, and Figure 3 appears corrupted on the arXiv version. These are fixable, but they need to be fixed before anyone should build on the numbers.\n\nOn the central empirical claim: I do not see a reason to assume it is false. The method is plausible and the results are consistent across models and defenses. It just is not verifiable from the manuscript as it stands. The right next step is a serious peer review, not a desk reject, with referees who will demand code, an ablation isolating adaptation, and a corrected or removed proposition.\n\nI would bring this to a reading group: the one-step gradient assumption is exactly the kind of thing worth discussing. I would not cite it yet, because I cannot reproduce or fully trust the numbers.","headline":"Genuinely new test-time adaptation idea for diffusion-based attacks with striking reported gains, but the missing code, omitted hyperparameters, and an unvalidated one-step gradient shortcut keep it from being fully convincing.","tokens_in":16959,"tokens_out":2229,"would_cite":false,"duration_ms":21338,"reading_group":"yes","serious_thinker":"yes","would_accept_peer_review":true},"rs_alignment":null,"lean_confirmation":null,"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek-v4-flash","headline":"TRAIL: adapting a latent diffusion model on the fly makes adversarial images transfer across unseen models.","keywords":["transferable adversarial attack","unrestricted adversarial attack","latent diffusion model","test-time adaptation","black-box attack","vision-language model attack","adversarial defense bypass","diffusion model robustness"],"falsifier":"Train TRAIL twice on the same benchmark, once with the one-step shortcut and once with backpropagation through the full denoising chain on a smaller diffusion model, and compare transfer success rates; if the full-chain version does not perform at least as well, or if the one-step and full-chain gradients have near-zero cosine similarity on a sample of images, then the advertised adaptation mechanism is not what produces the transferability.","tokens_in":15856,"feed_emoji":"🎯","tokens_out":7702,"duration_ms":64774,"temperature":0.7,"pith_summary":"The paper sets out to remove a persistent weakness of unrestricted adversarial attacks: an image crafted to fool one classifier often stops fooling a different one because the perturbation lives in the artificial distribution of a generator instead of in the distribution of natural images carrying adversarial features. TRAIL's proposed fix is to adapt a pretrained latent diffusion model to each target image at attack time, updating the denoising network so that the images it generates are simultaneously realistic and misclassified by a surrogate model. The authors report that this test-time adaptation plus adversarial-gradient-guided denoising beats existing unrestricted attacks on cross-model transfer, including against vision-language models, and also holds up under strong purification defenses. If the claim is right, transferability depends less on the perturbation budget than on aligning the generator's output distribution with the adversarial objective.","feed_headline":"Diffusion model adapted mid-attack fools far more unseen models","feed_subtitle":"TRAIL fine-tunes the generator on the spot, so adversarial images transfer to unseen CNNs, ViTs, and VLMs.","key_machinery":"The load-bearing mechanism is test-time adaptation of the diffusion model itself: TRAIL treats Stable Diffusion's U-Net as a trainable generator and updates its weights on each target image so that the generator's output distribution shifts toward images with adversarial features that closely resemble the target. The update is driven by the paired adversarial and distance losses, and the final image is produced by noising the input and denoising with adversarial-gradient guidance. A one-step backpropagation shortcut, which predicts clean latents from a randomly selected noisy timestep without tracing the full sampling path, makes this adaptation computationally feasible, at the cost of assuming the single-step gradient represents the full-chain gradient.","core_discovery":"The central claim is that the failure of diffusion-based adversarial attacks to transfer stems from a distribution shift: the frozen generator produces images from the natural-image distribution, whereas an effective adversarial image must come from a distribution that mixes natural appearance with dense adversarial features. TRAIL closes that gap by fine-tuning the diffusion U-Net on the target image during the attack, minimizing a loss that combines negative cross-entropy against a surrogate classifier with a mean-squared distance to the original image. The adapted model then synthesizes the adversarial image by adding noise to the target and denoising under classifier-gradient guidance. To keep adaptation tractable, gradients are computed from a one-step denoising prediction at a random timestep instead of through the full sampling chain. In the authors' experiments, this yields an average black-box transfer success rate of 75.3% from MobileNet-v2 versus 62.3% for DiffAttack, and 77.4% success against the DiffPure defense.","pith_inferences":["A natural extension is ensemble adaptation: adapting the U-Net against several surrogate classifiers at once could push transferability further, since the paper's theoretical framing ties transfer to robust features shared across models.","The one-step gradient shortcut is directly testable: if it is a poor proxy, a full-backprop variant on a small model should outperform it, and an ablation of this choice would separate the adaptation's contribution from the guidance's contribution.","The t* knob suggests an attacker can dial between stealth and strength; a natural next test is whether human perceptual judgments or learned perceptual metrics track the same trade-off as SSIM."],"forward_implications":["A single small surrogate CNN such as MobileNet-v2 can produce adversarial images that transfer to unseen CNNs, Vision Transformers, CLIP, and LLaVA, according to the reported results.","Because the generated images stay close to the natural-image distribution, they slip past input-transformation and purification defenses such as JPEG, NRP, and DiffPure at higher success rates than prior unrestricted attacks.","Transferability becomes a distribution-alignment problem: future attacks can be compared by how well they align the generator's output distribution with the adversarial objective rather than by perturbation budget alone.","Test-time adaptation is opened as a new axis for attack design, letting an attacker spend compute on adapting the generator to one image instead of ensembling many surrogate models."],"supporting_citations":[{"why":"Supplies the theoretical premise that perturbations composed of a dense mixture of robust features transfer across classifiers.","marker":"[1]"},{"why":"Motivates choosing diffusion models as the generative prior because they admit certified robustness guarantees.","marker":"[3]"},{"why":"The strongest diffusion-based unrestricted attack baseline that TRAIL extends and compares against.","marker":"[4]"},{"why":"Content-based unrestricted attack baseline that also uses a pretrained diffusion model as adversarial prior.","marker":"[5]"},{"why":"Source of the test-time adaptation strategy that TRAIL imports into attack generation.","marker":"[22]"},{"why":"Stable Diffusion latent model whose U-Net TRAIL adapts and uses as generator.","marker":"[34]"},{"why":"SDE formulation used in the proposition that bounds the distance between original and denoised latents.","marker":"[39]"},{"why":"Inspiration for the one-step gradient propagation shortcut used to keep adaptation computationally feasible.","marker":"[51]"}],"fun_headline_variants":["TRAIL fine-tunes diffusion to boost attack transfer","Mid-attack fine-tuning makes adversarial images transfer","Adapt diffusion U-Net at attack time for black-box transfer","Distribution shift solved: TRAIL adapts diffusion for transferable attacks"],"cache_read_input_tokens":3200,"weakest_assumption_plain":"Everything depends on the assumption that the gradient obtained from a one-step denoising prediction at a randomly selected timestep points in essentially the same direction as the gradient through the entire multi-step sampling process; if that proxy is poor, the adapted generator may not actually become adversarial, and the reported transfer gains could be driven by the guidance step rather than by the test-time adaptation.","fun_headline_variants_meta":{"raw":{"variants":["TRAIL fine-tunes diffusion to boost attack transfer","Mid-attack fine-tuning makes adversarial images transfer","Adapt diffusion U-Net at attack time for black-box transfer","Distribution shift solved: TRAIL adapts diffusion for transferable attacks"]},"model":"deepseek-v4-flash","effort":"low","cost_usd":0.000798,"raw_usage":{"total_tokens":3507,"prompt_tokens":941,"completion_tokens":2566,"prompt_tokens_details":{"cached_tokens":384},"prompt_cache_hit_tokens":384,"prompt_cache_miss_tokens":557,"completion_tokens_details":{"reasoning_tokens":2498}},"tokens_in":557,"tokens_out":2566,"duration_ms":15383,"temperature":1.0,"reasoning_tokens":2498,"cache_read_input_tokens":384,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-08-07T15:05:27.242033+00:00","model_set":{"reader":"deepseek-v4-flash"},"falsifier":"Train TRAIL twice on the same benchmark, once with the one-step shortcut and once with backpropagation through the full denoising chain on a smaller diffusion model, and compare transfer success rates; if the full-chain version does not perform at least as well, or if the one-step and full-chain gradients have near-zero cosine similarity on a sample of images, then the advertised adaptation mechanism is not what produces the transferability.","supporting_citations":[{"cited_title":"A comprehensive sur- vey on test-time adaptation under distribution shifts.Inter- national Journal of Computer Vision, 133(1):31–64, 2025","cited_arxiv_id":null,"evidence_quote":"Source of the test-time adaptation strategy that TRAIL imports into attack generation."},{"cited_title":"Feature purification: How adversarial training performs robust deep learning","cited_arxiv_id":null,"evidence_quote":"Supplies the theoretical premise that perturbations composed of a dense mixture of robust features transfer across classifiers."},{"cited_title":"Diffusion models are certifiably robust classifiers.Advances in Neural Information Processing Systems, 37:50062–50097, 2025","cited_arxiv_id":null,"evidence_quote":"Motivates choosing diffusion models as the generative prior because they admit certified robustness guarantees."},{"cited_title":"Diffusion models for imperceptible and transferable adversarial attack.IEEE Transactions on Pattern Analysis and Machine Intelligence, 2024","cited_arxiv_id":null,"evidence_quote":"The strongest diffusion-based unrestricted attack baseline that TRAIL extends and compares against."},{"cited_title":"Content-based unrestricted ad- versarial attack.Advances in Neural Information Processing Systems, 36, 2024","cited_arxiv_id":null,"evidence_quote":"Content-based unrestricted attack baseline that also uses a pretrained diffusion model as adversarial prior."}],"review_version":1}