Training Binary Neural Network without Batch Normalization for Image Super-Resolution

Xinrui Jiang, Nannan Wang, Jingwei Xin, Keyu Li, Xi Yang, Xinbo Gao

Deep learning has revolutionized Single Image Super-Resolution (SR), but state-of-the-art models are often too computationally heavy for deployment on mobile and edge devices. Binary Neural Networks (BNNs)—where weights and activations are compressed to 1-bit ({−1, +1})—offer a promising solution, providing up to 32× memory savings and 58× speedups. However, BNNs traditionally struggle with a significant performance gap compared to full-precision models and a heavy reliance on Batch Normalization (BN).

Presented at AAAI-21, this research introduces a novel framework to train high-performance binary SR networks without relying on BN, thereby maximizing hardware efficiency for integer-only processing.

The Batch Normalization Dilemma

Most BNNs rely on Batch Normalization to stabilize training and "re-center" feature distributions. However, BN requires floating-point calculations, which defeats the purpose of using low-precision, integer-only hardware. Simply removing BN typically causes a massive drop in performance, as the network loses its ability to normalize internal feature maps effectively.

Proposed Methodology

The authors introduce three key innovations to build a high-performance, "BN-free" binary SR network:

1. Binary Training Mechanism (BTM)

To replace the stabilizing effects of BN, the authors focus on three foundational areas:

  • Weight Initialization: By using the Xavier uniform distribution, the model achieves greater stability for 1-bit weights compared to standard min-max methods.
  • Data Initialization: Input images are normalized based on dataset mean and standard deviation to prevent gradients from "saturating" (becoming zero) during backpropagation.
  • Activation Functions: Standard ReLU is replaced with PReLU (Parametric ReLU) to facilitate better gradient flow in the absence of BN layers.

2. Multiple Receptive-field Block (MRB)

Because 1-bit convolutions are inherently less expressive than their 32-bit counterparts, the authors designed the Multiple Receptive-field Block (MRB). This block utilizes parallel dilated convolutions (1×5 and 5×1) to capture a wider horizontal and vertical context. This multi-path approach helps recover the spatial information lost during the binarization process without significantly increasing the computational budget.

3. Multi-stage Knowledge Distillation

To bridge the gap between the binary "student" network and a full-precision "teacher," a multi-stage distillation strategy is employed. The training process minimizes differences at multiple intermediate layers using:

  • Pixel-wise loss (L1): To ensure overall visual accuracy.
  • Distribution-based loss (KL Divergence): To force the student’s feature maps to match the statistical distribution of the teacher’s features.
  • Regulable Activation: A modified PReLU that adapts during training to further align the student's activations with the teacher's.

Key Results and Visual Quality

The proposed method, dubbed IBTM (Improved Binary Training Mechanism), sets new benchmarks for binary SR across standard datasets like Set5, Set14, BSD100, and Urban100.

On the Set5 (×2) dataset, the VDSR-IBTM model achieved a PSNR of 37.24 dB, outperforming previous state-of-the-art binary methods such as IRNet (36.94 dB) and BNN+ (36.81 dB). Notably, the IBTM architecture achieves these results using fewer parameters than the baselines it surpasses.

Qualitative comparison on the Urban100 dataset. The proposed method (Ours) achieves significantly sharper textures and fewer artifacts than other BN-free binary models, closely matching the visual quality of full-precision models.

As shown in the visual comparison, standard binary models without BN suffer from significant blurring and loss of detail. The IBTM framework successfully recovers sharp edges and complex patterns, demonstrating that the "re-centering" effect of BN can be effectively mimicked through careful initialization and structural compensation.

Conclusion

This research proves that Batch Normalization is not a hard requirement for high-performance BNNs in super-resolution tasks. By combining careful initialization (BTM) with structural enhancements (MRB) and sophisticated distillation, the authors have created a framework that is both highly accurate and exceptionally hardware-friendly. While a small performance gap remains between 1-bit and 32-bit models, this work significantly narrows that divide, paving the way for efficient, high-quality SR on mobile devices.

Summary updated

BibTeX
@inproceedings{jiang2021training,
  author = {Xinrui Jiang and Nannan Wang and Jingwei Xin and Keyu Li and Xi Yang and Xinbo Gao},
  title = {{Training Binary Neural Network without Batch Normalization for Image Super-Resolution}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i2.16263},
}
Figure