Every Pixel Has its Moments: Ultra-High-Resolution Unpaired Image-to-Image Translation via Dense Normalization
Ming-Yang Ho, Che-Ming Wu, Min-Sheng Wu, Yufeng Jane Tseng
TL;DR
Ultra-high-resolution unpaired image-to-image translation is hampered by GPU memory limits that force patch-based processing, leading to tiling artifacts from patch-wise normalization. The paper introduces Dense Normalization (DN), a plug-in layer that estimates pixel-level statistical moments via a fast interpolation and a single-pass prefetching parallelism, enabling seamless dense normalization without retraining. DN reduces tiling and preserves local hue while delivering state-of-the-art performance on natural and pathological datasets, including stain transformation tasks in medical imaging. The work provides a fast interpolation algorithm, a caching-based single-pass pipeline, extensive evaluations, and releases the real2paint dataset to foster future research in UHR I2I translation.
Abstract
Recent advancements in ultra-high-resolution unpaired image-to-image translation have aimed to mitigate the constraints imposed by limited GPU memory through patch-wise inference. Nonetheless, existing methods often compromise between the reduction of noticeable tiling artifacts and the preservation of color and hue contrast, attributed to the reliance on global image- or patch-level statistics in the instance normalization layers. In this study, we introduce a Dense Normalization (DN) layer designed to estimate pixel-level statistical moments. This approach effectively diminishes tiling artifacts while concurrently preserving local color and hue contrasts. To address the computational demands of pixel-level estimation, we further propose an efficient interpolation algorithm. Moreover, we invent a parallelism strategy that enables the DN layer to operate in a single pass. Through extensive experiments, we demonstrate that our method surpasses all existing approaches in performance. Notably, our DN layer is hyperparameter-free and can be seamlessly integrated into most unpaired image-to-image translation frameworks without necessitating retraining. Overall, our work paves the way for future exploration in handling images of arbitrary resolutions within the realm of unpaired image-to-image translation. Code is available at: https://github.com/Kaminyou/Dense-Normalization.
