[Paper Review] You Only Need 90K Parameters to Adapt Light: A Light Weight Transformer for Image Enhancement and Exposure Correction
Introduces Illumination Adaptive Transformer (IAT), a lightweight transformer with about 90k parameters that adapt ISP-related parameters to enhance images under challenging lighting and improve downstream tasks.
Challenging illumination conditions (low-light, under-exposure and over-exposure) in the real world not only cast an unpleasant visual appearance but also taint the computer vision tasks. After camera captures the raw-RGB data, it renders standard sRGB images with image signal processor (ISP). By decomposing ISP pipeline into local and global image components, we propose a lightweight fast Illumination Adaptive Transformer (IAT) to restore the normal lit sRGB image from either low-light or under/over-exposure conditions. Specifically, IAT uses attention queries to represent and adjust the ISP-related parameters such as colour correction, gamma correction. With only ~90k parameters and ~0.004s processing speed, our IAT consistently achieves superior performance over SOTA on the current benchmark low-light enhancement and exposure correction datasets. Competitive experimental performance also demonstrates that our IAT significantly enhances object detection and semantic segmentation tasks under various light conditions. Training code and pretrained model is available at https://github.com/cuiziteng/Illumination-Adaptive-Transformer.
Motivation & Objective
- Address the challenge of varying real-world illumination affecting visual quality and downstream vision tasks.
- Develop a lightweight, mobile-friendly model to map input sRGB images to well-lit targets by accounting for ISP processes.
- Decouple local pixel-wise adjustments from global ISP parameter estimation within a transformer-based framework.
- Demonstrate superior performance on low-light enhancement, exposure correction, and downstream detection/segmentation tasks while maintaining efficiency.
Proposed method
- Decomposes ISP-induced illumination changes into a local pixel-wise branch and a global ISP branch.
- Replaces standard self-attention with depth-wise convolution in the local branch to keep the model lightweight.
- Uses learnable attention queries in the global ISP branch to predict colour transformation matrices and gamma, guiding ISP-like adjustments.
- Introduces a novel light normalisation and Layer Scale for stable training of the lightweight transformer modules.
- Implements two-branch architecture: Pixel-wise Enhancement Module (local) and Global Prediction Module (global) to estimate local Maps (M, A) and ISP parameters (W, gamma).
- Optimizes the model with a mix of L1-like losses for enhancement datasets and standard losses for exposure correction, with data augmentation and cosine learning rate schedule.
Experimental results
Research questions
- RQ1Can a ultra-lightweight transformer-based framework adapt ISP-related parameters to improve sRGB images under diverse lighting conditions?
- RQ2Does decoupling local pixel-wise adjustments from global ISP parameter estimation yield better restoration quality and broader task robustness?
- RQ3How does IAT perform on low-level image enhancement, exposure correction, and high-level tasks (detection/segmentation) compared to state-of-the-art methods while maintaining minimal parameters and fast inference?
- RQ4Is the proposed approach mobile-friendly and scalable across varying resolutions without resizing?
- RQ5What is the impact of IAT on downstream vision tasks under challenging illumination?
Key findings
- IAT achieves state-of-the-art performance on low-light enhancement and exposure correction benchmarks with only 0.09M parameters.
- Inference speed is about 0.004s per image, significantly faster than competing methods (~1s).
- The model demonstrates competitive or superior results on high-level tasks such as low-light object detection and semantic segmentation under various lighting conditions.
- IAT remains lightweight by using depth-wise convolutions in the local branch and a transformer-based global branch to predict ISP-related parameters (colour matrix and gamma).
- Extensive experiments on LOL, MIT-Adobe FiveK, EXDark, ACDC, TYOL show improved PSNR/SSIM and mAP/mIOU with favorable efficiency metrics.
- The architecture enables joint enhancement for both low-level and high-level vision tasks, with ablations highlighting the benefits of the two-branch design and light normalisation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.