Lune

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

13 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Dance Across Shifts: Forward-Facilitation Continual Test-Time Adaptation through Dynamic Style Bridging cites High-Resolution Image Synthesis with Latent Diffusion Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Learning Transferable Visual Models From Natural Language Supervision
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
  • A Simple Yet Mighty Hartley Diffusion Versatilist for Generalizable Dense Vision Tasks cites High-Resolution Image Synthesis with Latent Diffusion Models
  • A Simple Yet Mighty Hartley Diffusion Versatilist for Generalizable Dense Vision Tasks cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • A Simple Yet Mighty Hartley Diffusion Versatilist for Generalizable Dense Vision Tasks cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. Attention Bootstrapping for Multi-Modal Test-Time AdaptationYusheng Zhao, Junyu Luo, Xiao Luo, Jinsheng Huang et al.AAAI 2025 · 5 citations
  2. Dual-frame Fluid Motion Estimation with Test-time Optimization and Zero-divergence LossYifei Zhang, Huan-ang Gao, Zhou Jiang, Hao ZhaoNeurIPS 2024 · 4 citations
  3. 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
  4. 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
  5. 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

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  4. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  5. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations

Related papers

  1. Back to the Source: Diffusion-Driven Adaptation to Test-Time CorruptionJin Gao, Jialing Zhang, Xihui Liu, Trevor Darrell et al.CVPR 2023
  2. DiffGuard: Semantic Mismatch-Guided Out-of-Distribution Detection using Pre-trained Diffusion ModelsRuiyuan Gao, Chenchen Zhao, Lanqing Hong, Qiang XuICCV 2023 · 29 citations
  3. Test-Time Degradation Adaptation for Open-Set Image RestorationYuanbiao Gou, Haiyu Zhao, Boyun Li, Xinyan Xiao et al.ICML 2024 · 20 citations
  4. MEMO: Test Time Robustness via Adaptation and AugmentationMarvin Zhang, Sergey Levine, Chelsea FinnNeurIPS 2022 · 595 citations
  5. Generative-to-Discriminative Test-Time Adaptation via Manifold-Aware Diffusion and Bayesian DistillationBoyun Zhang, Zequn Xie, Fangming Feng, Zihan Zhang et al.ACL Findings 2026
Dusk over the sea between two cliffs drawn in fine vertical lines