ZoDi: Zero-Shot Domain Adaptation with Diffusion-Based Image Transfer

Hiroki Azuma, Yusuke Matsui, Atsuto Maki
3/20/2024
cs.CV

No official code found. Best implementation: azuma164/ZoDi (9 stars, MIT, last commit 2024-09-25).

Abstract

Deep learning models achieve high accuracy in segmentation tasks among others, yet domain shift often degrades the models' performance, which can be critical in real-world scenarios where no target images are available. This paper proposes a zero-shot domain adaptation method based on diffusion models, called ZoDi, which is two-fold by the design: zero-shot image transfer and model adaptation. First, we utilize an off-the-shelf diffusion model to synthesize target-like images by transferring the domain of source images to the target domain. In this we specifically try to maintain the layout and content by utilising layout-to-image diffusion models with stochastic inversion. Secondly, we train the model using both source images and synthesized images with the original segmentation maps while maximizing the feature similarity of images from the two domains to learn domain-robust representations. Through experiments we show benefits of ZoDi in the task of image segmentation over state-of-the-art methods. It is also more applicable than existing CLIP-based methods because it assumes no specific backbone or models, and it enables to estimate the model's performance without target images by inspecting generated images. Our implementation will be publicly available.

View on arXivView PDF

Code Implementations(1)

azuma164/ZoDiCommunity100%
MIT

Official PyTorch implementation for ZoDi: Zero-Shot Domain Adaptation with Diffusion-Based Image Transfer (ECCV2024 Workshop)

91C++, CudaApr 12, 20242 years agoMIT

Similar Papers

Cite this paper

@article{azuma2024zodi,
  title  = {ZoDi: Zero-Shot Domain Adaptation with Diffusion-Based Image Transfer},
  author = {Hiroki Azuma and Yusuke Matsui and Atsuto Maki},
  year   = {2024},
  eprint = {2403.13652},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.13652v2}
}

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/2403.13652.svg)](https://codeofpaper.com/paper/2403.13652)

Discussion