Underwater Image Enhancement by Diffusion Model with Customized CLIP-Classifier
Shuaixin Liu, Kunqian Li, Yilin Ding, Qi Qi
TL;DR
This paper tackles the lack of real reference images in underwater image enhancement by introducing CLIP-UIE, a two-stage diffusion-based framework. The first stage trains on a large synthetic UIE-air dataset generated via color transfer to learn mappings from underwater degradation to the in-air natural domain, while the second stage employs a CLIP-Classifier to preserve prior in-air domain knowledge during joint fine-tuning with UIE benchmarks, bridging synthetic and real data gaps. A fast fine-tuning strategy concentrates updates in the high-frequency content, and a prompt-learning CLIP-Classifier provides robust, learnable prompts to stabilize guidance. Across multiple underwater image datasets, CLIP-UIE achieves state-of-the-art or competitive results with improved naturalness and color rendition, while offering up to 10× faster optimization than traditional fine-tuning. The work advances practical UIE by reducing dependence on matched references and leveraging language-visual priors to guide domain-adaptive enhancement.
Abstract
Underwater Image Enhancement (UIE) aims to improve the visual quality from a low-quality input. Unlike other image enhancement tasks, underwater images suffer from the unavailability of real reference images. Although existing works exploit synthetic images and manually select well-enhanced images as reference images to train enhancement networks, their upper performance bound is limited by the reference domain. To address this challenge, we propose CLIP-UIE, a novel framework that leverages the potential of Contrastive Language-Image Pretraining (CLIP) for the UIE task. Specifically, we propose employing color transfer to yield synthetic images by degrading in-air natural images into corresponding underwater images, guided by the real underwater domain. This approach enables the diffusion model to capture the prior knowledge of mapping transitions from the underwater degradation domain to the real in-air natural domain. Still, fine-tuning the diffusion model for specific downstream tasks is inevitable and may result in the loss of this prior knowledge. To migrate this drawback, we combine the prior knowledge of the in-air natural domain with CLIP to train a CLIP-Classifier. Subsequently, we integrate this CLIP-Classifier with UIE benchmark datasets to jointly fine-tune the diffusion model, guiding the enhancement results towards the in-air natural domain. Additionally, for image enhancement tasks, we observe that both the image-to-image diffusion model and CLIP-Classifier primarily focus on the high-frequency region during fine-tuning. Therefore, we propose a new fine-tuning strategy that specifically targets the high-frequency region, which can be up to 10 times faster than traditional strategies. Extensive experiments demonstrate that our method exhibits a more natural appearance.
