cs.CVAug 14, 2026

Source-Agnostic Image Translation Based on Latent Aware Adaptive Masking

Authors: Tomislav Dobrički, Byung-Woo Hong

Organizations: Chung-Ang University, Seoul, South Korea

Abstract

In this work, we propose a source-agnostic framework that dynamically refines a binary mask throughout the reverse diffusion process by computing the discrepancies of a pretrained diffusion model's prediction for each latent time step. Rather than relying on a fixed threshold, our method introduces a time-dependent statistical thresholding scheme derived from the empirical mean and standard deviation of prediction discrepancies across the latent noisy images from the target distribution. This allows the mask to adapt to the model's varying predictive confidence at different noise levels, effectively isolating domain-specific regions while preserving global structural coherence. Experimental results on the AFHQ and Celeba-HQ datasets demonstrate that our approach outperforms state-of-the-art unsupervised Image-to-Image methods in both realism (FID, KID) and faithfulness (SSIM, LPIPS). By requiring only a pretrained model of the target domain, our approach enables precise, automated localization and seamless translation across diverse source distributions without any specialized training. The project source code is available at: https://github.com/dtoma95/PM-Edit

Figures & tables

Explore similar work

CardsList
  1. Discrete Diffusion Bridges for Spatiotemporally Aligned Image Translation and Generation

    Aug 30, 2026Xing Xie, Jiawei Liu, Shijun Zhou +4Masked Diffusion ModelsImage-to-Image Translation

  2. GET: Generative Embedding Translation for Medical Image Segmentation

    Aug 23, 2026Md Maklachur Rahman, Md Hasan Al Banna, Saraf Anjum +2Image SegmentationMedical Image Segmentation

  3. Decoupled Residual Denoising Diffusion Models for Unified and Data Efficient Image-to-Image Translation

    May 31, 2026Ziyue Lin, Jiahe Hou, Hongyu Xia +6Diffusion Model AlignmentImage-to-Image Translation