Adaptive Domain Shift in Diffusion Models for Cross-Modality Image Translation (ICLR 2026).
Paper: https://openreview.net/pdf?id=it0GTdiW9t
Cross-modal image translation is brittle when diffusion models rely on fixed, global schedules between domains. CDTSDE embeds domain-shift dynamics directly into the generative process by predicting a spatially varying mixing field at each reverse step and injecting an explicit target-consistent restoration term into the drift. This keeps updates on-manifold, reduces semantic drift, and enables accurate sampling with fewer denoising steps. The method improves structural fidelity and semantic consistency across medical imaging, remote sensing, and electroluminescence semantic mapping tasks.
- Spatially varying, channel-aware domain mixture field
Lambda_tat every step - Domain shift injected into the reverse SDE drift for target-consistent updates
- Continuous-time formulation with a closed-form reverse dynamics
-
Install Python 3.10+
-
Install PyTorch for your CUDA environment
-
Install dependencies:
pip install -r requirements.txt
-
OpenCLIP text encoder (required)
The code expectspretrain_weights/open_clip_pytorch_model.bin. Download it from Hugging Face:huggingface-cli download laion/CLIP-ViT-H-14-laion2B-s32B-b79K open_clip_pytorch_model.bin --local-dir pretrain_weights --local-dir-use-symlinks False
-
Torchvision weights (auto-download)
evaluation.pyuses InceptionV3 and will download weights on first run to~/.cache/torch/hub/checkpoints.
- Dataset lists are configured in
configs/dataset/*.yaml - Update list paths to point at your local data files
python train.py --config configs/train_cldm_paired_dynamic.yamlpython inference.py --ckpt checkpoints/your_model.ckpt --model_config configs/model/cldm_v21_dynamic.yaml --data_config configs/dataset/paired_val.yaml --output results/We provide the solar defect identification pretrained model here:
This code is based on the structures from DiffBIR, DoSSR, ControlNet and BasicSR. Thanks for their awesome work.
@inproceedings{
title={Adaptive Domain Shift in Diffusion Models for Cross-Modality Image Translation},
author={Zihao Wang and Yuzhou Chen and Shaogang Ren},
booktitle={The Fourteenth International Conference on Learning Representations},
year={2026},
url={https://openreview.net/forum?id=it0GTdiW9t}
}


