Everything to the Synthetic: Diffusion-Driven Test-Time Adaptation via Synthetic-Domain Alignment

Jiayi Guo, Junhao Zhao, Chaoqun Du, Yulin Wang, Chunjiang Ge +4 more
2/10/2026

No official code found. Best implementation: SHI-Labs/Diffusion-Driven-Test-Time-Adaptation-via-Synthetic-Domain-Alignment (46 stars, last commit 2025-03-01).

Abstract

Test-Time adaptation (TTA) aims to improve the performance of source-domain pre-trained models on previously unseen, shifted target domains. Traditional TTA methods primarily adapt model weights based on target data streams, making model performance sensitive to the amount and order of target data. The recently proposed diffusion-driven TTA methods mitigate this by adapting model inputs instead of weights, where an unconditional diffusion model, trained on the source domain, transforms target-domain data into a synthetic domain that is expected to approximate the source domain. However, in this paper, we reveal that although the synthetic data in diffusion-driven TTA seems indistinguishable from the source data, it is unaligned with, or even markedly different from the latter for deep networks. To address this issue, we propose a Synthetic-Domain Alignment (SDA) framework. Our key insight is to fine-tune the source model with synthetic data to ensure better alignment. Specifically, we first employ a conditional diffusion model to generate labeled samples, creating a synthetic dataset. Subsequently, we use the aforementioned unconditional diffusion model to add noise to and denoise each sample before fine-tuning. This Mix of Diffusion (MoD) process mitigates the potential domain misalignment between the conditional and unconditional models. Extensive experiments across classifiers, segmenters, and multimodal large language models (MLLMs, e.g., LLaVA) demonstrate that SDA achieves superior domain alignment and consistently outperforms existing diffusion-driven TTA methods. Our code is available at https://github.com/SHI-Labs/Diffusion-Driven-Test-Time-Adaptation-Via-Synthetic-Domain-Alignment.

DOISemantic Scholar

Code Implementations(1)

Everything to the Synthetic: Diffusion-driven Test-time Adaptation via Synthetic-Domain Alignment, arXiv 2024 / CVPR 2025

462C++, CudaJun 6, 20241 years ago
diffusion-modelstest-time-adaptation

Similar Papers

Cite this paper

@article{guo2026everything,
  title  = {Everything to the Synthetic: Diffusion-Driven Test-Time Adaptation via Synthetic-Domain Alignment},
  author = {Jiayi Guo and Junhao Zhao and Chaoqun Du and Yulin Wang and Chunjiang Ge and Zanlin Ni and Shiji Song and Humphrey Shi and Gao Huang},
  year   = {2026},
  doi    = {10.1109/CVPR52734.2025.02840},
  url    = {https://doi.org/10.1109/CVPR52734.2025.02840},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/34ea4f6c20ce6c0234c7d1b3c90d6ccab306f15c.svg)](https://codeofpaper.com/paper/34ea4f6c20ce6c0234c7d1b3c90d6ccab306f15c)

Discussion