Ghost Imaging Based on Recurrent Neural Network

Yuchen He, Sihong Duan, Jianxing Li, Hui Chen, Huaibin Zheng, Jianbin Liu, Yu Zhou, Zhuo XuarXiv 2021 · DOI

Abstract

Ghost imaging (GI) leverages second-order correlation to reconstruct images using single-pixel detectors, but it typically suffers from a difficult trade-off between sampling rate and image quality. Traditional reconstruction methods accumulate the results of individual speckle patterns and their corresponding bucket signals. This paper identifies a structural similarity between the GI reconstruction process and Recurrent Neural Networks (RNNs). We propose GI-RNN, a novel architecture that implements ghost imaging within an LSTM framework. By treating speckle-bucket pairs as sequential inputs, GI-RNN achieves high-quality reconstruction at ultra-low sampling rates (0.38%). Experimental results on the MNIST dataset show that GI-RNN outperforms traditional GI by 12.58 dB and Compressed Sensing (CS) by 6.61 dB in terms of average PSNR.

Introduction

Ghost Imaging (GI) is an unconventional imaging technique that uses a single-pixel "bucket" detector to capture the total intensity of light reflected or transmitted by an object illuminated by a sequence of known spatial patterns (speckles). While GI offers unique advantages in challenging environments, its primary bottleneck is the high number of measurements required for high-fidelity reconstruction. Traditional correlation-based methods and even advanced Compressed Sensing (CS) techniques often require significant sampling rates or high computational overhead. This paper seeks a more "natural" architecture that fits the sequential, cumulative nature of how ghost imaging actually works.

Methods

The core innovation of this work is the "structural isomorphism" between the cumulative nature of ghost imaging and the state-update logic of Recurrent Neural Networks. In traditional GI, the image is reconstructed by summing the products of speckle patterns $P_i$ and bucket signals $B_i$. Similarly, an RNN updates its internal state based on the current input and the previous state.

Architecture of the proposed GI-RNN, mapping speckle-bucket pairs to LSTM hidden states.

The GI-RNN architecture consists of three main components:

  1. Pre-processing Module: Converts the speckle pattern ($P_t$) and the corresponding bucket signal ($B_t$) into a vector suitable for the network.
  2. RNN Backbone (LSTM): A 5-layer Long Short-Term Memory (LSTM) network processes the sequence. The LSTM's ability to maintain long-term dependencies allows it to effectively "remember" and aggregate information from the entire sequence of illuminations without suffering from vanishing gradients.
  3. Predictor: A fully connected layer transforms the final hidden state of the LSTM into the reconstructed 2D image.

Key Results

The model was trained on 9,000 images from the MNIST dataset. The most striking result is the network's ability to reconstruct recognizable digits at a sampling rate of just 0.38%, which corresponds to only 3 illuminations for a 784-pixel image. At this extreme sparsity, traditional methods fail to produce any meaningful signal.

Visual comparison of reconstruction quality between traditional GI, CS, and the proposed GI-RNN.

Quantitative analysis confirms these visual improvements. Across the MNIST test set, GI-RNN achieved an average Peak Signal-to-Noise Ratio (PSNR) that was 12.58 dB higher than traditional GI and 6.61 dB higher than CS (using the FISTA algorithm). As shown in the visual comparisons, GI-RNN produces much cleaner, more recognizable digits even when other methods result in heavy noise or blurring. The system provides stable performance across different digits, whereas traditional methods fluctuate wildly depending on the complexity of the target.

Conclusion

By framing ghost imaging as a sequence-to-image problem suitable for RNNs, this research provides a physics-informed deep learning approach that significantly reduces sampling requirements. While future work is needed to test the architecture on more complex, high-resolution natural scenes and real-world noisy environments, GI-RNN represents a major step toward practical, real-time ghost imaging applications where light exposure must be minimized.

Summary updated

BibTeX
@misc{he2021ghost,
  author = {Yuchen He and Sihong Duan and Jianxing Li and Hui Chen and Huaibin Zheng and Jianbin Liu and Yu Zhou and Zhuo Xu},
  title = {{Ghost Imaging Based on Recurrent Neural Network}},
  year = {2021},
  eprint = {2112.00736},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.00736},
}
Figure