CLIP-Guided Unsupervised Semantic-Aware Exposure Correction

Puzhen Wu, Han Weng, Quan Zheng, Yi Zhan, Hewei Wang, Yiming Li, Jiahui Han, Rui XuarXiv 2026

TL;DR

This paper presents a novel unsupervised exposure correction framework that integrates object-level semantic priors from FastSAM and vision-language guidance from CLIP. By combining an Adaptive Semantic-Aware Fusion module with a multi-scale Residual Spatial Mamba Group, the network effectively corrects mixed-exposure images without requiring manual ground-truth labels, outperforming existing unsupervised state-of-the-art methods.

What Problem Does This Paper Address?

Images captured in real-world environments often suffer from improper exposure due to challenging environmental lighting or incorrect camera settings. This results in a loss of detail, low contrast, and severe color distortion.

Existing exposure correction methods face two major hurdles:

  1. Ignorance of Regional Semantics: Most deep learning approaches apply global adjustments or coarse binary masks. They treat the entire image uniformly, which leads to local color shifts and structural artifacts—especially in mixed-lighting scenes where an image contains both overexposed and underexposed regions.
  2. Lack of Ground-Truth Labels: Real-world exposure datasets rarely have perfect "ground-truth" counterparts. Creating them requires laborious, subjective manual editing by experts, which limits dataset scale and model generalization.

Methods

The authors introduce an unsupervised, semantic-aware exposure correction network consisting of three core components:

  1. Adaptive Semantic-Aware Fusion (ASF) Module: To capture object-wise regional exposure variations, the network extracts semantic features using a pre-trained, frozen Fast Segment Anything Model (FastSAM). The ASF module projects these semantic features and image-space features into a shared space using cross-attention, followed by a spatial-frequency feed-forward block to handle both global exposure trends and local details.
  2. Residual Spatial Mamba Group (RSMG): To refine exposure correction and capture long-range spatial dependencies with linear complexity, the authors stack Spatial Mamba Blocks (SMBs). These blocks augment the standard 2D selective-scan Vision Mamba Module (VMM) with spatial attention to better handle spatially varying exposures.
  3. CLIP-Guided Pseudo-GT Generator: To eliminate the need for manual labeling, the framework automatically generates pseudo-ground truth (GT) images. It fine-tunes CLIP prompts (well-exposed, underexposed, overexposed) using unpaired data to classify the exposure state of an input image. It then applies a tailored gamma transformation, iteratively tuning the gamma factor via CLIP latent space similarity until it aligns with the well-exposed prompt.

The entire architecture is trained unsupervised using a Semantic-Prompt Consistency (SPC) Loss, which enforces structural and semantic consistency between the corrected output and the pseudo-GT using Gram matrices, while maximizing alignment with well-exposed text prompts.

Datasets

The model was trained and evaluated on the following datasets:

  • MSEC (Multi-Scale Exposure Correction): The authors utilized the under- and over-exposed subsets, consisting of 2,830 training images and 193 test images.
  • SICE (Single Image Contrast Enhancement): Features multi-exposure sequences where the 2nd and last levels served as under/over-exposed inputs, and the middle level served as the reference ground truth (512 train / 30 test).
  • DarkFace: A low-light face detection dataset used to evaluate the practical downstream utility of the exposure correction method.

Key Insights and Ideas

  • Semantics Guide Exposure: Exposure correction shouldn't just be a pixel-intensity mapping problem. Different objects (e.g., a dark foreground subject vs. a bright sky) require distinct adjustments. Incorporating FastSAM allows the network to apply object-aware regional corrections, preventing the over-brightening of already bright areas.
  • Mamba for Global Consistency: Stacking Spatial Mamba Blocks helps maintain global exposure consistency and suppresses color shifts across distant regions, outperforming standard CNN or Transformer blocks in linear time complexity.
  • Zero-Shot Pseudo-GT Generation: Instead of relying on expensive human annotations, leveraging CLIP's vision-language space to dynamically tune gamma correction parameters per image provides a robust, dataset-agnostic target for unsupervised training.

Key Results

The proposed method achieves state-of-the-art quantitative performance among unsupervised methods across multiple metrics, including PSNR, SSIM, LPIPS, BRISQUE, and NIMA.

  • Quantitative Performance: On the MSEC dataset, the model achieves an average PSNR of 19.96 dB and SSIM of 0.8460, notably outperforming the previous best unsupervised method, UEC (18.82 dB / 0.8366). Similar improvements were observed on the SICE dataset.
  • Qualitative Results: Visually, the framework successfully restores natural colors and sharp details in mixed-lighting conditions without introducing the over-saturation or color-bleeding artifacts common in competing methods.
  • Downstream Utility: Applying this exposure correction as a pre-processing step significantly reduced missed face detections on the low-light DarkFace dataset.

Limitations and Future Work

Despite its strong performance, the authors note that the framework's inference speed slows down when processing very high-resolution inputs.

To address this, future work will explore:

  • Lighter backbones and model pruning/distillation techniques to reduce latency and memory consumption.
  • Integrating generative models for localized inpainting to recover completely lost details in extremely over- or underexposed regions.
  • Extending the exposure correction framework to dynamic video sequences and multi-camera settings.

Summary updated

BibTeX
@misc{wu2026clip,
  author = {Puzhen Wu and Han Weng and Quan Zheng and Yi Zhan and Hewei Wang and Yiming Li and Jiahui Han and Rui Xu},
  title = {{CLIP-Guided Unsupervised Semantic-Aware Exposure Correction}},
  year = {2026},
  eprint = {2601.19129},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.19129},
}
Figure