[Paper Review] Back to the Source: Diffusion-Driven Test-Time Adaptation
This paper proposes Diffusion-Driven Adaptation (DDA), a test-time input adaptation method that uses a pre-trained diffusion model to project corrupted test images back to the source domain, enabling robustness without updating the classifier. DDA achieves state-of-the-art robustness on ImageNet-C across diverse corruptions, models, and data regimes—especially excelling where model adaptation fails due to small, ordered, or mixed data batches.
Test-time adaptation harnesses test inputs to improve the accuracy of a model trained on source data when tested on shifted target data. Existing methods update the source model by (re-)training on each target domain. While effective, re-training is sensitive to the amount and order of the data and the hyperparameters for optimization. We instead update the target data, by projecting all test inputs toward the source domain with a generative diffusion model. Our diffusion-driven adaptation method, DDA, shares its models for classification and generation across all domains. Both models are trained on the source domain, then fixed during testing. We augment diffusion with image guidance and self-ensembling to automatically decide how much to adapt. Input adaptation by DDA is more robust than prior model adaptation approaches across a variety of corruptions, architectures, and data regimes on the ImageNet-C benchmark. With its input-wise updates, DDA succeeds where model adaptation degrades on too little data in small batches, dependent data in non-uniform order, or mixed data with multiple corruptions.
Motivation & Objective
- Address the limitations of test-time model adaptation, which is sensitive to data quantity, order, and corruption mix.
- Overcome the scalability and computational cost of retraining models per target domain in source-free adaptation.
- Enable robust generalization under distribution shift by adapting inputs rather than models during inference.
- Develop a model-agnostic, scalable method that maintains fixed source models while adapting to multiple target domains.
- Improve robustness to image corruptions through a unified, generative input adaptation framework using diffusion modeling and self-ensembling.
Proposed method
- Train a diffusion model exclusively on source data to learn the data manifold, then freeze it for all test-time adaptation.
- Project each test input toward the source domain by running the reverse diffusion process with iterative image guidance.
- Use classifier self-ensembling to dynamically determine the optimal level of adaptation for each input.
- Apply the source classifier to the denoised, adapted input without any model updates during inference.
- Integrate forward noise addition and reverse denoising steps to stabilize the adaptation process.
- Leverage image guidance during reverse sampling to preserve semantic content while reducing domain shift.
Experimental results
Research questions
- RQ1Can input-level adaptation via diffusion modeling outperform model-level adaptation under challenging data regimes?
- RQ2How does DDA perform on ImageNet-C under small, ordered, or mixed corruptions where model adaptation typically degrades?
- RQ3To what extent does self-ensembling improve adaptation robustness by controlling the degree of denoising?
- RQ4Can a single source-trained diffusion model generalize across multiple target domains without retraining?
- RQ5What is the contribution of each component—forward, reverse, and refinement—to the overall robustness of DDA?
Key findings
- DDA achieves 41.2% top-1 accuracy on ImageNet-C with Swin-T backbone under blur corruption, outperforming MEMO (38.9%) and Tent (35.1%) in the same setting.
- On shot noise corruption, DDA reaches 57.3% accuracy with ConvNeXt-T, significantly outperforming DiffPure (48.7%) and MEMO (53.2%).
- DDA maintains high robustness under small batches (e.g., 1–4 samples), where Tent degrades due to noisy updates, demonstrating stability in low-data regimes.
- DDA successfully handles ordered and mixed corruptions, where model adaptation often fails due to sequential or conflicting distribution shifts.
- Abllation shows that combining forward, reverse, and refinement steps yields the best performance, with reverse+guidance alone underperforming.
- DDA is model-agnostic and improves robustness across ResNet-50, Swin-T, and ConvNeXt-T without re-tuning, confirming broad applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.