GDA: Generalized Diffusion for Robust Test-Time Adaptation
Yun-Yun Tsai, Fu-Chen Chen, Albert Y. C. Chen, Junfeng Yang, Che-Chun Su, Min Sun, Cheng-Hao Kuo
Abstract
Machine learning models face generalization challenges when exposed to out-of-distribution (OOD) samples with unforeseen distribution shifts. Recent research reveals that for vision tasks, test-time adaptation employing diffusion models can achieve state-of-the-art accuracy improvements on OOD samples by generating domain-aligned samples without altering the model's weights. Unfortunately, those studies have primarily focused on pixel-level corruptions, thereby lacking the generalization to adapt to a broader range of OOD types. We introduce Generalized Diffusion Adaptation (GDA), a novel diffusion-based test-time adaptation method robust against diverse OOD types. Specifically, GDA iteratively guides the diffusion by applying a marginal entropy loss derived from the model, in conjunction with style and content preservation losses during the reverse sampling process. In other words, GDA considers the model's output behavior and the samples' semantic information as a whole, reducing ambiguity in downstream tasks. Evaluation across various model architectures and OOD benchmarks indicates that GDA consistently surpasses previous diffusion-based adaptation methods. Notably, it achieves the highest classification accuracy improvements, ranging from 4.4% to 5.02% on ImageNet-C and 2.5% to 7.4% on Rendition, Sketch, and Stylized benchmarks. This performance highlights GDA's generalization to a broader range of OOD benchmarks.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 13860692-c4f3-4686-a4dd-ae9b0f9ff47fCited by top-tier papers13
- Attention Bootstrapping for Multi-Modal Test-Time AdaptationYusheng Zhao, Junyu Luo, Xiao Luo, Jinsheng Huang et al.AAAI 2025 · 5 citations
- Dual-frame Fluid Motion Estimation with Test-time Optimization and Zero-divergence LossYifei Zhang, Huan-ang Gao, Zhou Jiang, Hao ZhaoNeurIPS 2024 · 4 citations
- A Simple Yet Mighty Hartley Diffusion Versatilist for Generalizable Dense Vision TasksQi Bi, Jingjun Yi, Huimin Huang, Hao Zheng et al.ICCV 2025 · 3 citations
- Dance Across Shifts: Forward-Facilitation Continual Test-Time Adaptation through Dynamic Style BridgingZhilin Zhu, Yabin Wang, Zhiheng Ma, Yaguang Song et al.CVPR 2026 · 2 citations
- STraj: Self-training for Bridging the Cross-Geography Gap in Trajectory PredictionZhanwei Zhang, Minghao Chen, Zhihong Gu, Xinkui Zhao et al.AAAI 2025 · 2 citations
Builds on26
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
Related papers
- Back to the Source: Diffusion-Driven Adaptation to Test-Time CorruptionJin Gao, Jialing Zhang, Xihui Liu, Trevor Darrell et al.CVPR 2023
- DiffGuard: Semantic Mismatch-Guided Out-of-Distribution Detection using Pre-trained Diffusion ModelsRuiyuan Gao, Chenchen Zhao, Lanqing Hong, Qiang XuICCV 2023 · 29 citations
- Test-Time Degradation Adaptation for Open-Set Image RestorationYuanbiao Gou, Haiyu Zhao, Boyun Li, Xinyan Xiao et al.ICML 2024 · 20 citations
- MEMO: Test Time Robustness via Adaptation and AugmentationMarvin Zhang, Sergey Levine, Chelsea FinnNeurIPS 2022 · 595 citations
- Degradation-Consistent Test-Time Adaptation for All-in-One Image RestorationNi Tang, Shenghao Nie, Xiaotong Luo, Yuan Xie et al.CVPR 2026
