Introduction
Single image dehazing is a fundamental yet challenging task in computer vision. Due to the ill-posed nature of the problem—where a single hazy image can correspond to multiple potential clear scenes—researchers have increasingly turned to Contrastive Regularization (CR). CR aims to constrain the solution space by pulling a model's predictions toward a positive target (ground truth) and pushing them away from negative examples (hazy images). However, existing CR methods often suffer from two critical limitations: a "distance gap" caused by using non-consensual negatives from different scenes, and a lack of physics-based constraints.
This paper introduces C2PNet, a framework that addresses these issues through a novel Curricular Contrastive Regularization (C2R) strategy and a Physics-aware Dual-branch Unit (PDU). By leveraging "consensual" negatives and a curriculum learning approach, C2PNet achieves a significant performance leap, including a 3.94dB PSNR improvement over previous state-of-the-art methods on indoor benchmarks.
Addressing the Limitations of Contrastive Regularization
The Distance Gap and Non-consensual Negatives
Traditional CR approaches typically use hazy images from entirely different scenes as negative samples. Because these negatives share no content with the target image, the "push" force exerted by the contrastive loss is often too weak to effectively refine the model's output. C2PNet solves this by using consensual negatives: restorations of the same scene produced by other dehazing models or the original hazy input itself. These samples share identical content but differ in haze levels, forcing the model to focus specifically on haze removal rather than being distracted by varying textures or objects.
Physics Blindness
Many deep learning models treat dehazing as a generic image-to-image translation task. This "black box" approach ignores the physical principles of light scattering. C2PNet integrates the atmospheric scattering model—$I = J \cdot T + A(1-T)$—directly into the network's latent feature space, ensuring that the model's internal representations remain physically grounded.
Methodology
Curricular Contrastive Regularization (C2R)
To effectively utilize consensual negatives, the authors implement a curriculum learning strategy. Not all negatives are equally useful at different stages of training:
- Easy Negatives: The original hazy image, which provides a baseline for the "push" force.
- Hard/Ultra-hard Negatives: Restorations from other models that are close in quality to the current model's output.
The C2R strategy dynamically reweights these samples. As the model matures, it prioritizes "hard" negatives to provide a stronger refinement signal, while carefully managing "ultra-hard" samples to prevent training instability. This approach follows the "harder is better" paradox: using a negative that is almost correct forces the network to learn the subtle details required for a perfect restoration.
Physics-aware Dual-branch Unit (PDU)
Instead of estimating atmospheric light ($A$) and the transmission map ($T$) in raw pixel space, which can lead to error accumulation, the PDU operates within the feature space. It consists of two specialized branches:
- Atmospheric Light Branch: Uses global pooling to estimate features related to global illumination.
- Transmission Map Branch: Uses convolutional layers to capture spatial variations in haze density.
These features are combined mathematically to decode the dehazed output, ensuring the model respects the physics of light while benefiting from the robustness of latent feature representations.
Experimental Results
C2PNet was evaluated on standard benchmarks including RESIDE (ITS/OTS) and SOTS, as well as real-world datasets like Dense-Haze and NH-Haze2.
Quantitative Performance
The model established new state-of-the-art results across multiple metrics:
- SOTS-Indoor: Achieved 42.56 dB PSNR, a massive 3.94 dB improvement over the previous leader, UDN.
- SOTS-Outdoor: Achieved 36.68 dB PSNR, representing a 1.50 dB boost.
- Efficiency: Despite its high performance, C2PNet is relatively lightweight with only 7.17M parameters, making it significantly more efficient than large-scale transformer models like DeHamer (132M parameters).
Qualitative Analysis
Visual comparisons demonstrate that C2PNet excels at preserving sharp details and maintaining natural color balance. While previous models often leave "haze halos" or introduce color distortions, C2PNet produces cleaner results by effectively distinguishing between residual haze and actual scene content.
Conclusion
C2PNet demonstrates that the combination of physics-informed architecture and a sophisticated curriculum for contrastive learning can yield dramatic improvements in image dehazing. By shifting the focus to consensual negatives and feature-space physics, the authors provide a robust framework that outperforms much larger models. Future work may explore the application of this curricular contrastive approach to other restoration tasks, such as deraining or low-light enhancement, where high-quality negative samples are similarly critical for success.
Summary updated