TL;DR
This paper introduces a "simple and general" framework to bring the efficiency of Binary Neural Networks (BNNs) to the demanding world of image restoration. By using a novel four-stage training strategy called the Gentle Approximation Method (GAM), the researchers successfully binarized models for denoising, deraining, and super-resolution, slashing computational costs by up to 97% while maintaining impressive image quality.
Introduction: The Efficiency Challenge in Image Restoration
Image Restoration (IR) tasks—such as denoising, deraining, and super-resolution—have seen significant advancements through Deep Neural Networks (DNNs). However, these state-of-the-art models are computationally expensive "heavyweights," requiring substantial memory and floating-point operations (FLOPs). This makes them difficult to deploy on resource-constrained "edge" devices like smartphones, drones, and IoT sensors.
Binarization, which reduces weights and activations to just 1-bit (-1 or +1), is a powerful technique for model compression. While effective for simple tasks like image classification, it often fails in IR. The primary reason is that IR requires the preservation of fine-grained pixel details and high-frequency information, which are typically lost when a network's representational power is squashed into a single bit.
Methodology
The authors propose a two-pronged approach involving architectural modifications and a specialized training recipe to bridge the performance gap between full-precision and binarized IR models.
Architectural Enhancements
To mitigate the information loss inherent in binarization, the researchers explored several structural changes:
- Binary Complex Neural Networks (BCNNs): By representing data using real and imaginary parts, the authors increased the "information capacity" of the 1-bit layers. This approach is particularly effective for complex tasks like deraining.
- Closed-Loop Structures: The authors argue that residual (shortcut) connections are essential for binarized IR models. If a baseline model lacks them, they are added to prevent information degradation during the binarization process.
- Normalization as Thresholding: Batch Normalization (BN) layers are leveraged to shift data distributions, effectively turning the BN layer into a learnable threshold for the binary activation function.
The Gentle Approximation Method (GAM)
The core innovation is the Gentle Approximation Method (GAM), a 4-stage training pipeline designed to avoid the performance "shock" of sudden binarization:
- Stage 1: Train a full-precision network using
Tanhactivations, which are smoother than standardReLUorHardtanhfunctions. - Stage 2: Binarize only the weights, while keeping activations in full precision.
- Stage 3: Soft Binary (SB). This stage introduces a "Soft Binary" function ($Tanh(10x)$) that approximates a step function while remaining differentiable. This allows the network to adapt to a binary-like distribution without losing gradient flow.
- Stage 4: Final binarization of both weights and activations using the
Signfunction.
Experimental Results
The researchers validated GAM across four distinct IR tasks using standard benchmarks, including SICE (low-light), Rain100H/L (deraining), Set5/14 (super-resolution), and BSD500/Kodak24 (denoising).
The results demonstrate that binarized models can achieve a massive reduction in computational overhead with surprisingly little performance loss:
- Denoising (FFDNet): FLOPs were reduced to just 3% of the original network, and the model size shrank to 5%.
- Low-Light Enhancement (Zero-DCE++): Achieved an 85% reduction in computation and an 83% reduction in model size. As shown in the visual comparisons, the binarized versions produce images nearly indistinguishable from the full-precision baseline.
- Super-Resolution: The proposed BNN version outperformed previous state-of-the-art binarized SR models on the Set5 and Set14 datasets.
Conclusion and Future Work
The GAM framework proves that gradualism is key to successful binarization in image restoration. By using the "Soft Binary" stage as a bridge, models can learn a "binary mindset" without sacrificing the flexibility of continuous numbers. While a performance gap still exists in heavy-duty tasks like high-noise denoising, the efficiency gains—up to 97% reduction in FLOPs—make this a significant step toward running high-quality IR models on edge devices. Future research may focus on designing architectures from the ground up specifically for 1-bit operations to further close the performance gap.
Summary updated