Image Compressed Sensing Using Non-local Neural Network

Wenxue Cui, Shaohui Liu, Feng Jiang, Debin Zhao · DOI

Abstract

Deep network-based image Compressed Sensing (CS) has attracted much attention in recent years. However, the existing deep network-based CS schemes either reconstruct the target image in a block-by-block manner that leads to serious block artifacts or train the deep network as a black box that brings about limited insights of image prior knowledge. In this paper, a novel image CS framework using non-local neural network (NL-CSNet) is proposed, which utilizes the non-local self-similarity priors with deep network to improve the reconstruction quality. In the proposed NL-CSNet, two non-local subnetworks are constructed for utilizing the non-local self-similarity priors in the measurement domain and the multi-scale feature domain respectively. Specifically, in the subnetwork of measurement domain, the long-distance dependencies between the measurements of different image blocks are established for better initial reconstruction. Analogically, in the subnetwork of multi-scale feature domain, the affinities between the dense feature representations are explored in the multi-scale space for deep reconstruction. Furthermore, a novel loss function is developed to enhance the coupling between the non-local representations, which also enables an end-to-end training of NL-CSNet. Extensive experiments manifest that NL-CSNet outperforms existing state-of-the-art CS methods, while maintaining fast computational speed.

Introduction

Compressed Sensing (CS) is a signal processing technique that enables the acquisition of signals at sub-Nyquist rates, provided the signal is sparse in some domain. While traditional optimization-based methods leverage hand-crafted priors like Total Variation or non-local self-similarity, they suffer from high computational complexity and slow reconstruction speeds. Conversely, recent deep learning approaches offer rapid inference but often lack interpretability or suffer from blocking artifacts due to block-based processing.

This paper introduces NL-CSNet, a framework that explicitly integrates non-local self-similarity—a powerful classical image prior—into a deep neural network. By capturing long-range dependencies across the entire image, NL-CSNet overcomes the limitations of local-only processing and block-based artifacts.

Proposed Method: NL-CSNet

The NL-CSNet architecture is divided into three primary stages: image sampling, initial reconstruction, and deep reconstruction.

Architecture of the proposed NL-CSNet framework.

Measurement Domain Non-local Subnetwork

Unlike standard methods that process blocks independently, NL-CSNet utilizes a non-local subnetwork in the measurement domain. This stage establishes correlations between the compressed measurements of different image blocks. By leveraging these long-distance dependencies early in the pipeline, the network generates a superior initial reconstruction that mitigates blocking artifacts from the outset.

Deep Reconstruction in Multi-scale Feature Domain

The final stage employs a Multi-scale Non-local Network (MS-NLNet) to refine the initial reconstruction. This network operates on features at multiple scales to capture both fine details and global structures.

Structure of the Multi-scale Non-local Network (MS-NLNet) for deep reconstruction.

Within the MS-NLNet, non-local submodules calculate affinities between feature representations. To manage the $O(N^2)$ computational complexity of non-local operations, the authors implement a spatial downsampling strategy within these blocks, ensuring the model remains efficient for practical use.

Non-local Coupling Loss

A significant contribution of this work is the introduction of a non-local coupling loss. This loss function enforces a symmetry constraint on the learned affinity matrices: if patch A is determined to be similar to patch B, the network is penalized if it does not also recognize that patch B is similar to patch A. This inductive bias leads to more stable and physically meaningful feature representations.

Experimental Evaluation

The model was trained on 400 images from the BSD500 dataset and the VOC2012 dataset. Evaluation was conducted on standard benchmarks including Set5, Set14, Set11, and BSD68.

Performance and Efficiency

NL-CSNet demonstrates superior performance over state-of-the-art methods such as ISTA-Net+, SCSNet, and AMP-Net. For instance, on the Set5 dataset with a sampling rate of 0.1, NL-CSNet achieved a PSNR of 33.84 dB, surpassing AMP-Net by approximately 0.5 dB.

Beyond quantitative metrics, NL-CSNet excels in preserving sharp edges and intricate textures. Despite the inclusion of non-local modules, the model maintains high efficiency, reconstructing a $256 \times 256$ image in roughly 0.09 seconds on a modern GPU.

Conclusion

NL-CSNet successfully bridges the gap between classical image priors and deep learning for compressed sensing. By incorporating non-local dependencies in both the measurement and feature domains and introducing a novel coupling loss, the framework achieves state-of-the-art reconstruction quality. Future work may involve extending this non-local coupling mechanism to video CS to exploit temporal redundancies.

Summary updated

BibTeX
@article{cui2021image,
  author = {Wenxue Cui and Shaohui Liu and Feng Jiang and Debin Zhao},
  title = {{Image Compressed Sensing Using Non-local Neural Network}},
  journal = {IEEE Trans. Multimedia},
  year = {2021},
  doi = {10.1109/tmm.2021.3132489},
}
Figure