Binarized Neural Network for Single Image Super Resolution

Jingwei Xin, Nannan Wang, Xinrui Jiang, Jie Li, Heng Huang, Xinbo Gao

Abstract

Single Image Super-Resolution (SISR) is a computationally demanding task, often exceeding the capabilities of mobile and embedded devices. While Binarized Neural Networks (BNNs) offer extreme efficiency, they typically suffer from significant information loss in high-precision tasks like SR. This paper introduces the Bit-Accumulation Mechanism (BAM), which refines binary approximations by accumulating information across layers. The resulting Binary Super-Resolution Network (BSRN) achieves a 58x speedup and 32x storage reduction compared to full-precision models, while significantly outperforming previous state-of-the-art binarization methods by over 0.7 dB in PSNR.

Introduction

Modern deep learning models for SISR, such as SRResNet, produce high-quality reconstructions but require massive computational power and memory. This makes deployment on low-power devices challenging. Model quantization, specifically Binarized Neural Networks (BNNs) where weights and activations are restricted to 1-bit values, offers a solution by replacing complex multiplications with efficient bitwise operations. However, standard binarization often leads to blurry results in image restoration tasks. This research addresses the "information loss" problem in BNNs to make high-quality SR feasible on edge hardware.

Methodology

The authors propose two primary innovations to bridge the performance gap between binary and full-precision networks:

  1. Bit-Accumulation Mechanism (BAM): Instead of binarizing layers in isolation, BAM treats quantization as an optimization problem. It accumulates information from previous layers to refine the current layer’s binary state, using a linear combination of past weights and activations to offset quantization errors. This cascading refinement allows the network to effectively "recover" lost precision.
  2. Binary Super-Resolution Network (BSRN): The architecture is built around High-Precision Binarization (HPB) blocks. These blocks utilize both short-range and long-range accumulation to preserve spatial details.
  3. Spatial-Aware Scaling: Unlike standard BNNs that use a single scaling factor, this model employs a two-dimensional array of scaling factors for activations, allowing it to adapt to the specific spatial statistics of textures and edges.
The Bit-Accumulation Mechanism (BAM) and its integration into the quantization process for weights and activations.

Experimental Results

The model was evaluated on standard benchmarks including DIV2K, Set5, Set14, BSD100, and Urban100.

Quantitative Performance

On the Set5 dataset, the BAM-based model outperformed previous state-of-the-art binarization methods like ABC-Net by more than 0.7 dB in PSNR. This represents a substantial leap in restoration quality for 1-bit networks.

Hardware Efficiency

The proposed approach achieves a theoretical 58x speedup on CPUs and is 32x lighter in terms of storage compared to standard 32-bit floating-point networks. This efficiency is driven by the replacement of floating-point operations with XNOR and Popcount instructions.

Qualitative Fidelity

Visually, the BAM method successfully recovers sharp edges and repetitive structural details that are typically lost in other binarized networks. As seen in the building textures of the Urban100 dataset, the proposed method avoids the common blurring artifacts associated with extreme quantization.

Qualitative comparison showing the sharp structural details recovered by the proposed BAM-based model.

Conclusion

The Bit-Accumulation Mechanism demonstrates that Binarized Neural Networks can achieve high-fidelity results in low-level vision tasks. By treating binarization as a cumulative refinement process rather than a simple rounding step, the authors have paved the way for deploying sophisticated super-resolution models on resource-constrained mobile and embedded systems. Future work may extend this mechanism to other tasks such as image deblurring and compression artifact removal.

Summary updated

BibTeX
@inproceedings{xin2020binarized,
  author = {Jingwei Xin and Nannan Wang and Xinrui Jiang and Jie Li and Heng Huang and Xinbo Gao},
  title = {{Binarized Neural Network for Single Image Super Resolution}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58548-8\_6},
}
Figure