Large model enhanced computational ghost imaging

Yifan Chen, Hongjun An, Zhe Sun, Tong Tian, Mingliang Chen, Christian Spielmann, Xuelong Li

Abstract

Computational Ghost Imaging (GI) is a powerful technique for imaging through scattering media, yet it typically requires a high number of measurements to achieve acceptable image quality. This paper presents the Ghost Imaging Large Model (GILM), a 1.4-billion-parameter model that applies the "large model" paradigm to the GI domain. By integrating Transformer-based multi-head attention with a physics-informed self-supervised learning strategy, GILM achieves high-fidelity reconstruction even at extremely low sampling rates. Experimental results demonstrate that GILM significantly outperforms traditional deep learning models and conventional GI methods, particularly in challenging underwater environments at distances up to 52 meters.

Introduction

Ghost Imaging (GI) reconstructs 2D images by correlating 1D "bucket" signals with known 2D light patterns. Its ability to image through scattering media like fog or turbid water without a pixelated camera at the object location makes it invaluable for remote sensing and underwater exploration. However, the requirement for extensive measurements leads to long acquisition times. While deep learning has been employed to mitigate this, standard "small" models (e.g., CNNs or UNets) often underfit the complex, noisy mapping between 1D signals and 2D features at low sampling rates.

Methods

The proposed GILM (Ghost Imaging Large Model) architecture scales the parametric capacity to 1.4 billion parameters to capture the intricate relationships in GI data.

Architecture

GILM utilizes a U-Net-like structure enhanced with Transformer-based blocks. The use of multi-head attention allows the model to learn global spatial dependencies, which is critical since each bucket measurement encodes information about the entire scene. To maintain stability during training of such a deep model, ResNet blocks with skip connections are employed. The model operates primarily in a lower-dimensional latent space via a VAE-decoder structure to optimize computational efficiency.

Overview of the GILM framework and detailed architecture of the 1.4B parameter model.

Physics-Informed Self-Supervision

A key innovation is the self-supervised training approach. Rather than relying on labeled ground-truth datasets, GILM uses the physical forward model of GI as a constraint. The model predicts an image $x^*$, which is then multiplied by the known speckle patterns $H$ to generate predicted signals $I_N^*$. The loss function minimizes the squared difference between these predicted signals and the actual collected signals $I_N$: $$\min ||I_N^* - I_N||^2$$

Internal building blocks of GILM: (a) ResNetBlock2D, (b) Transformer2DModel, and (c) Multi-head attention mechanism.

Results and Discussion

The model was evaluated across simulated benchmarks and real-world experimental setups, including free-space turbulence and long-range underwater imaging.

Performance at Extreme Under-sampling

GILM demonstrates remarkable resilience to low sampling rates, successfully reconstructing target outlines at a sampling rate of just 1.94%. In contrast, traditional UNet architectures required at least double the measurements to reach comparable fidelity. In simulations, GILM achieved a PSNR of ~31-32 dB, nearly tripling the performance of traditional Differential Ghost Imaging (DGI).

Long-Range Underwater Imaging

In practical underwater tests, GILM successfully reconstructed clear images of objects (e.g., a frogman) at a distance of 52 meters. Traditional methods in these conditions typically result in unrecognizable noise due to the high turbidity and scattering of the medium.

Portability and Deployment

Despite its 1.4B parameters, the model was successfully deployed on an NVIDIA Jetson AGX Orin NX. This demonstrates that large-scale imaging models can be transitioned from high-performance clusters to edge devices for field applications.

Conclusion

GILM represents a paradigm shift in computational ghost imaging, proving that scaling laws observed in LLMs also apply to physical reconstruction tasks. By combining massive parametric capacity with physical constraints, the model overcomes the limitations of traditional deep learning in low-signal environments. Future work will explore extending this framework to phase and polarization imaging.

Summary updated

BibTeX
@misc{chen2025large,
  author = {Yifan Chen and Hongjun An and Zhe Sun and Tong Tian and Mingliang Chen and Christian Spielmann and Xuelong Li},
  title = {{Large model enhanced computational ghost imaging}},
  year = {2025},
  eprint = {2503.08710},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.08710},
}
Figure