potentialpaper

Expanding the Role of Diffusion Models for Robust Classifier Training

Pin-Han Huang, Shang-Tse Chen, Hsuan-Tien Lin

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Using internal representations of diffusion models as an auxiliary learning signal during adversarial training improves robust classifier training.

Abstract. Incorporating diffusion-generated synthetic data into adversarial training (AT) has been shown to substantially improve the training of robust image classifiers. In this work, we extend the role of diffusion models beyond merely generating synthetic data, examining whether their internal representations, which encode meaningful features of the data, can provide additional benefits for robust classifier training. Through systematic experiments, we show that diffusion models offer representations that are both diverse and partially robust, and that explicitly incorporating diffusion representations as an auxiliary learning signal during AT consistently improves robustness across settings. Furthermore, our representation analysis indicates that incorporating diffusion models into AT encourages more disentangled features, while diffusion representations and diffusion-generated synthetic data play complementary roles in shaping representations. Experiments on CIFAR-10, CIFAR-100, and ImageNet validate these findings, demonstrating the effectiveness of jointly leveraging diffusion representations and synthetic data within AT.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
1 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:48 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

I suggest the authors to carefully address all the concerns from Reviewer NKLh.

Final justification

This paper proposes aligning classifier representations with intermediate diffusion representations as an auxiliary learning signal during adversarial training. Two reviewers recommended Accept (5, 5) while one recommended Reject (2). During the discussion period, the authors provided extensive rebuttal experiments addressing the negative review, including compute-matched baselines, off-the-shelf Stable Diffusion evaluations, noise level ablations, and unconditional target checks. Both positive reviewers confirmed their acceptance scores post-rebuttal. Because the technical concerns have been convincingly resolved with empirical proof, I recommend acceptance to the paper.

Area Chair jEMa · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

I suggest the authors to carefully address all the concerns from Reviewer NKLh.

Final justification

This paper proposes aligning classifier representations with intermediate diffusion representations as an auxiliary learning signal during adversarial training. Two reviewers recommended Accept (5, 5) while one recommended Reject (2). During the discussion period, the authors provided extensive rebuttal experiments addressing the negative review, including compute-matched baselines, off-the-shelf Stable Diffusion evaluations, noise level ablations, and unconditional target checks. Both positive reviewers confirmed their acceptance scores post-rebuttal. Because the technical concerns have been convincingly resolved with empirical proof, I recommend acceptance to the paper.

1 comment
Authors · CommentOpenReview ↗

We thank the reviewers for their time and are grateful to Reviewers vSxA and iD8Y for their positive recognition of our contributions. Per the AC’s specific instructions, we also dedicated substantial efforts to comprehensively resolving every point raised by Reviewer NKLh. Given the absence of any follow-up dialogue on those efforts during the discussion period, we provide this summary to demonstrate to the AC that all these concerns have been definitively addressed.

  • Originality: Resolved by clarifying that our proposed technique is a novel and previously unexplored application of diffusion models that complements AT, supported by our new analysis.

  • Computational Expense: Resolved by new compute-adjusted comparisons showing that DRA delivers its benefits with modest training overhead and no additional inference-time cost.

  • Motivational Analysis: Resolved by the requested analyses on additional datasets. These new results, which are being added to the revision, validate that our initial trends hold true.

  • Hyperparameter Robustness: Resolved sensitivity concerns by providing new experiments, demonstrating that DRA remains highly robust across various timestep and noise-scale choices.

  • Fast AT: Resolved this point by clarifying that DRA is in principle compatible with fast AT methods, while noting that a dedicated study is required to properly stabilize the combination in future work.

  • Off-the-Shelf Models: Successfully resolved this inquiry by providing new experiments, which verify that DRA remains practically beneficial even when relying solely on foundation diffusion models without domain finetuning.

In addition to resolving Reviewer NKLh’s concerns, we have also fully addressed all questions from Reviewers vSxA and iD8Y, further solidifying their positive evaluation of our contributions. Specifically, we provided improved clarifications, added new results with unconditional diffusion targets, and established an adversarially linear-probed baseline. Having comprehensively addressed every issue raised by the panel, we are committed to incorporating all new analyses and baselines into the revised manuscript. We thank the Area Chair and reviewers for their time and consideration of our work.

Reviewer iD8YOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes to improve adversarial robustness of image classifiers by aligning classifier representation with image representation from diffusion model. The base framework is adversarial training with data augmentation from diffusion generation, while this paper claims that introducing diffusion representation alignment can further improve both clean accuracy and robust accuracy. Experiments on CIFAR-10/100 and ImageNet datasets demonstrate the effectiveness of proposed algorithm.

Strengths and weaknesses

This paper brings a new finding that, besides synthetic data generation, diffusion models can further be leveraged for improving adversarial robustness through representation alignment. The improvement over clean accuracy and robust accuracy is clear and consistent over several datasets and architectures. Meanwhile, the proposed method is easy to implement on top of DM-AT baseline, providing a handy approach for robustness improvement. Abundant analytic experiments also show certain insight on how diffusion representation alignment works.

One weakness may be some clarity issues, as listed below:

  1. Missing some details about how the diffusion representation is constructed. In Fig. 4, there is an “add noise” procedure, but there is no description about the exact operation. If this is about adding Gaussian noise, there should be an ablation study on the noise level σ\sigma.
  2. In Fig. 2, it is unclear how the frequency saliency analysis is performed. It is hard to examine the corresponding results when such information is missing. Even if this follows an existing work, it is also necessary to briefly introduce the main procedures.
  3. Regarding Tab. 4, it is hard for me to understand the interpretation in Line 329-331. DRA clearly increases CLS and Robust Dim, why it is said to be “more effectively”?
Questions

Please answer my questions raised in above “weakness” part.

An additional question is, why not try the following approach: use frozen diffusion encoder, and train the prediction head adversarially? This naturally avoids the alignment loss, and still benefits from diffusion synthetic data. Note that this approach differs from the one discussed in Line 366-368, and also, diffusion models trained with class conditioning usually support unconditional generation (by setting the class label to a special one), thus the reason provided in Line 372-374 is inappropriate. I would like to see comparison with this approach if possible.

Limitations

yes

Final justification

The author rebuttal addressed my concerns well. I decide to keep my score and suggest acceptance.

Formatting concerns

no

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the review and the positive assessment of our work. Below are the answers to your questions.

Regarding Fig. 4 Clarity

Yes, the add noise step applies the standard diffusion forward process. We select the noise level based on the clean-accuracy linear-probing experiment reported in prior work (Line 151 and Appendix E). In the revision, we will describe this operation and the timestep selection more explicitly in the figure related description.

Below, we provide the ablation experiments with the noise level using WRN-28-10 under CIFAR-10 DM-AT with one million synthetic images. The results show that the improvement over the baseline is robust around the current default value.

Models Clean AA (l∞=8/255l_\infty=8/255) AA (l2=0.5l_2=0.5)
DM-AT 91.1291.12 63.3563.35 66.7066.70
+DRA (σt=0.05\sigma_t=0.05) 92.48±.07\mathbf{92.48 \pm .07} 64.30±.21\mathbf{64.30 \pm .21} 68.65±.05{68.65 \pm .05}
+DRA (σt=0.1\sigma_t=0.1, default) 92.32±.12{92.32 \pm.12 } 64.09±.04{64.09 \pm .04} 69.19±.05\mathbf{69.19 \pm .05}
+DRA (σt=0.25\sigma_t=0.25) 92.37±.16{92.37 \pm .16} 64.07±.10{64.07 \pm .10} 68.52±.13{68.52 \pm .13}
+DRA (σt=0.5\sigma_t=0.5) 92.11±.13{92.11 \pm .13} 63.91±.06{63.91 \pm .06} 68.43±.12{68.43 \pm .12}

Regarding Fig. 2 Clarity

The analysis is done by decomposing the input perturbations into frequency components and normalizing them for saliency comparison. We will include the procedure and references to the figure description and the revised appendix.

Regarding Tab. 4 Clarity

We agree that “more effectively” is imprecise. We indeed intended to state that DRA increases the dimension usage. We will revise the word choice accordingly without implying that these metrics directly measure effectiveness.

Experiments on adversarially-trained linear probe

We thank the reviewer for suggesting this comparison. We froze the diffusion encoder and adversarially trained the prediction head. While this improves robustness over a standard clean linear probe, it achieves only 4.334.33% robust accuracy at the larger budget ℓ∞=8/255\ell_\infty=8/255. Thus, the frozen diffusion representation alone does not provide sufficient robustness compared to fully-trained AT models, suggesting that adversarial finetuning the encoder remains important for robustness.

Train/Eval Budget Clean Acc. AA
ℓ∞=2/255\ell_\infty=2/255 94.85 76.49
ℓ∞=4/255\ell_\infty=4/255 94.49 42.72
ℓ∞=8/255\ell_\infty=8/255 94.59 4.33

Regarding Lines 372–374 clarification, it applies to the conditional EDM checkpoint used by DM-AT. The model was trained without label dropout or a designated null class. Consequently, replacing the class label with an unseen null condition would be out of distribution and produce worse performance. We therefore use the unconditionally trained EDM checkpoint for the linear-probing analysis and the DRA target comparison experiment for reviewer vSxA. We will revise the text to clarify that it depends on the available diffusion model.

Reviewer NKLhOpenReview ↗
Rating
2/6
Confidence
5/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
1/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes to align diffusion representations with the classifier representations to increase robustness in adversarial training. The authors report impoved performance on CIFAR10-100 and ImageNet.

Strengths and weaknesses

The paper is well‑written, and the analyses of frequency-saliency, alignment and uniformity regarding diffusion representations reinforce the claim of a complementary relationship between diffusion representations and adversarial training. However, owing to the prior literature on augmenting adversarial training with images from diffusion models, the originality of the proposed method is consequently diminished. Additionally, the considerable computational expense of running a diffusion model in parallel to the classifier and the necessity of access to a pre-trained diffusion model on the dataset limit application of the approach. I recommend enhancing the experiments in 4.1 by incorporating multiple datasets, ideally ImageNet, to validate the claims beyond the limited scope of CIFAR10. Then, to strengthen the approach, the authors may eliminate reliance on optimally probed timestamp. Alternatively, this limitaiton can be mitigated through additional experiments that demonstrate DRA is not susceptible to the choice of timestamp.

Considering the cost of pretraining a diffusion model, a concern with the baselines is that the proposed method adds computational cost to improve robustness. A more equitable baseline is to compare the approach with baselines with similar computational cost. One candidate is using larger architectures for baseline AT, as applying larger architectures is a common strategy to improve adversarial robustness with AT.

Questions

See suggestions above.

Is it possible to speedup DRA with fast adversarial training methods (e.g. [Fast is better than free: Revisiting adversarial training])?

A major restriction of DRA is requiring a pretrained diffusion model on the training set. Utilization of an off-the-shelf foundation diffusion model to replace such a pretrained model offers a possible remediation.

Limitations

yes

Formatting concerns

No major issue

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the review and are glad that the reviewer found the paper well written. Below, we clarify the originality and computational cost of our work and provide additional experimental results addressing the questions.

Regarding originality and position of our work

Our work indeed builds on the substantial benefits of using diffusion synthetic data for adversarial training (DM-AT). Unlike prior work that only uses diffusion models at the output level for data augmentation, or methods that increase inference-time cost [1, 2], we investigate the underexplored question of whether the intermediate representations encoded during the denoising process can provide beneficial auxiliary learning signals for DM-AT. The method is easy to integrate, adds no inference-time cost, and our additional analyses also offer new insights into how diffusion models affect adversarial training.

Clarifications on computational expense

  • In our experiments, extracting features from the diffusion encoder on the fly at each iteration introduces minimal training-time overhead: ∼1.04×\sim 1.04\times training time with ∼1\sim 1 GB additional VRAM per GPU on CIFAR-10/100, and ∼3\sim 3 GB additional VRAM with ∼1.13×\sim 1.13\times training time per GPU for our ImageNet experiments (Appendix F).
  • The overhead can be further reduced by precomputing diffusion features when generating the synthetic images used by DM-AT, albeit at the cost of increased disk storage.
  • Because the strong DM-AT baselines already rely on a diffusion model trained on the same dataset, DRA does not require training an additional diffusion model in that setting.

Comparison accounting for computational cost

As noted above, our method introduces minimal overhead compared to the DM-AT baselines. Below we compare +DRA trained for 400 epochs against DM-AT trained for both 400 and 800 epochs, where the 800-epoch baseline uses substantially more compute than the overhead induced by DRA. The proposed method outperforms the baseline trained for 800 epochs across all metrics, showing that its gains are not explained merely by additional training compute.

Models Clean AA (l∞=8/255l_\infty=8/255) AA (l2=0.5l_2=0.5)
DM-AT (400 Epoch) 91.12 63.35 66.70
DM-AT (800 Epoch) 91.43 63.96 66.72
+DRA (400 Epoch) 92.32±.12\mathbf{92.32 \pm .12} 64.09±.04\mathbf{64.09 \pm .04} 69.19±.05\mathbf{69.19 \pm .05}

While scaling the classifier architecture is another possible baseline, compute matching would require jointly changing the architecture and training schedule; we therefore use additional epochs as a cleaner controlled comparison.

Additional 4.1 Analysis

We appreciate the reviewer’s suggestion to strengthen the motivational analysis in Section 4.1, and will add corresponding figures for CIFAR-100 and ImageNet to the revised appendix. The overall trends remain consistent. In the frequency-saliency analysis, the standard-trained ImageNet model relies less on the high-frequency components than its CIFAR-10 and CIFAR-100 counterparts, but still shows greater mid-to-high-frequency saliency than the diffusion representations.

Ablation Experiments for Time-step Sensitivity

As noted in Line 151 and Appendix E, we selected the timestep mainly based on linear-probe clean-accuracy results from prior work. The following ablation evaluates DRA’s sensitivity to this choice using WRN-28-10 on CIFAR-10 DM-AT with one million synthetic images. The results show that the improvement over the baseline is robust around the current default value.

Models Clean AA (l∞=8/255l_\infty=8/255) AA (l2=0.5l_2=0.5)
DM-AT 91.1291.12 63.3563.35 66.7066.70
+DRA (σt=0.05\sigma_t=0.05) 92.48±.07\mathbf{92.48 \pm .07} 64.30±.21\mathbf{64.30 \pm .21} 68.65±.05{68.65 \pm .05}
+DRA (σt=0.1\sigma_t=0.1, default) 92.32±.12{92.32 \pm.12 } 64.09±.04{64.09 \pm .04} 69.19±.05\mathbf{69.19 \pm .05}
+DRA (σt=0.25\sigma_t=0.25) 92.37±.16{92.37 \pm .16} 64.07±.10{64.07 \pm .10} 68.52±.13{68.52 \pm .13}
+DRA (σt=0.5\sigma_t=0.5) 92.11±.13{92.11 \pm .13} 63.91±.06{63.91 \pm .06} 68.43±.12{68.43 \pm .12}

Potential Speedup with Fast Adversarial Training

DRA is orthogonal to the underlying adversarial training algorithm and could be combined with fast single-step adversarial training to reduce training cost. Our experiments follow the multi-step training recipe of the DM-AT baseline. While fast single-step methods may be more efficient, they can be less robust and suffer from catastrophic overfitting, which may require additional stabilization techniques [3]. We leave an investigation of this combination to future work.

Experiment with an off-the-shelf diffusion model

We agree that demonstrating the applicability of off-the-shelf foundation diffusion models without any target-data finetuning would further strengthen the practical relevance of our method. We conducted additional experiments using off-the-shelf SD-1.5 as the alignment target in the CIFAR-10 WRN-28-10 DM-AT setting with one million synthetic images. The results show that while the target-domain trained model performs better, using SD-1.5 still offers improvements, demonstrating that using off-the-shelf diffusion models is a viable alternative for DRA.

Models Clean AA (l∞=8/255l_\infty=8/255) AA (l2=0.5l_2=0.5)
DM-AT 91.1291.12 63.3563.35 66.7066.70
+DRA, SD-1.5 91.59±.04‾\underline{91.59 \pm .04} 63.60±.13‾\underline{63.60 \pm .13} 68.73±.07‾\underline{68.73 \pm .07}
+DRA, EDM 92.32±.12\mathbf{92.32 \pm .12} 64.09±.04\mathbf{64.09 \pm .04} 69.19±.05\mathbf{69.19 \pm .05}

[1] Li et al., "ADBM: Adversarial diffusion bridge model for reliable adversarial purification."
[2] Chen et al., "Robust classification via a single diffusion model."
[3] Andriushchenko et al., "Understanding and Improving Fast Adversarial Training."

Reviewer vSxAOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors build upon the diffusion model with AT (DM-AT) training recipe and propose an approach to improve the performance of Adversarial Training (AT). Their approach relies on the diffusion model. First, they show that diffusion representations encode features that are partially robust and diverse, and leveraging diffusion representations as an auxiliary learning signal improves adversarial training. Then, they find that incorporation of diffusion models encourages models to learn representations that are easier to disentangle. Finally, they experiment on CIFAR-10, CIFAR-100, and ImageNet to demonstrate their approach.

Strengths and weaknesses

Strengths

  • DRA is train-time only, which makes this approach from an inference perspective intresting.
  • Experiments are extensive, the authors showcase though experiements that DRA imporves AT (§ 5.2), that their training recipe impoves feature aligment (§ 5.3). The authors also invesigated their approach in depth with feature superposition insighs (§ 5.4) and investiged the distinct roles of Diffusion models (§ 5.5).

Overall, this is an experiemental paper with extensive experiementations.

Weaknesses:

  • The alignment target is class-conditional: h^DR_{x_t, t, y} in Eq. 3, conditioned on ground-truth y. The headline comparison against unconditional SSL teachers is therefore not apples-to-apples: the diffusion target may win partly because it is class-conditional, not because diffusion pretraining yields uniquely perturbation-stable features.
  • Projection head + cosine alignment to diffusion features is inspired from REPA/CleanDIFT. The contribution is its use in AT plus the empirical/analysis findings. That's acceptable for an empirical paper, but the method-novelty claims should be calibrated accordingly.
Questions

Conditional vs unconditional diffusion target: how much of the gain survives if y is dropped from the target? If most of it survives, the label-leakage concern is resolved and the paper is stronger; if not, the framing needs revision.

Limitations

see weeknesses.

Formatting concerns

NA

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the review and the positive assessment of our work. Below are the answers to your questions.

Unconditional diffusion target

Yes, we had ruled out the possibility of label-conditioning as the main factor by testing unconditional features extracted from the unconditional EDM diffusion model checkpoint. Below are the results using WRN-28-10 on the CIFAR-10 DM-AT with one million synthetic images setting.

Method Clean AA (l∞=8/255l_\infty=8/255) AA (l2=0.5l_2=0.5)
DM-AT 91.12 63.35 66.70
+DRA, conditional EDM 92.32±.12\mathbf{92.32 \pm .12} 64.09±.0464.09 \pm .04 69.19±.05\mathbf{69.19 \pm .05}
+DRA, unconditional EDM 92.21 ±\pm .07 64.10±.05\mathbf{64.10 \pm .05} 68.92 ±\pm .25

The results show that conditional and unconditional targets perform comparably, indicating that the benefit from DRA does not rely on label-conditioned features as alignment targets.

We use the unconditional EDM checkpoint because the conditional checkpoint used by DM-AT was trained without label dropout. Removing its label input at inference time would therefore introduce an out-of-distribution condition and performance decrease. We will clarify this around Eq. 3 and Figure 4 and include the above information in the revision.

Suggestion on method-novelty calibration

We agree with the suggestion and will revise and highlight the alignment reference (currently at L55-57, L199-201, and L217) more explicitly for the method section.

Reviewer vSxA · CommentOpenReview ↗

I have read the rebuttal and I'll keep my score unchanged.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…