Abstract
Snapshot compressive imaging (SCI) systems aim to capture high-dimensional ($\ge3$D) images in a single shot using 2D detectors. SCI devices include two main parts: a hardware encoder and a software decoder. The hardware encoder typically consists of an (optical) imaging system designed to capture compressed measurements. The software decoder on the other hand refers to a reconstruction algorithm that retrieves the desired high-dimensional signal from those measurements. In this paper, using deep unfolding ideas, we propose an SCI recovery algorithm, namely GAP-net, which unfolds the generalized alternating projection (GAP) algorithm. At each stage, GAP-net passes its current estimate of the desired signal through a trained convolutional neural network (CNN). The CNN operates as a denoiser that projects the estimate back to the desired signal space. For the GAP-net that employs trained auto-encoder-based denoisers, we prove a probabilistic global convergence result. Finally, we investigate the performance of GAP-net in solving video SCI and spectral SCI problems. In both cases, GAP-net demonstrates competitive performance on both synthetic and real data. In addition to having high accuracy and high speed, we show that GAP-net is flexible with respect to signal modulation implying that a trained GAP-net decoder can be applied in different systems.
TL;DR
GAP-net is a "deep unfolding" architecture that combines the mathematical rigor of iterative optimization with the speed of deep learning to reconstruct 3D data from 2D compressed snapshots. It achieves state-of-the-art accuracy and near real-time speeds (up to 250 reconstructions per second) for both video and spectral imaging, backed by a rare theoretical guarantee of global convergence.
Introduction: The Challenge of Snapshot Compressive Imaging
Snapshot Compressive Imaging (SCI) is an innovative hardware-software co-design that allows for the capture of high-dimensional data—such as high-speed video or hyperspectral images—using standard 2D camera sensors. The hardware "encodes" the 3D data into a single 2D frame using a coded mask, effectively compressing the signal at the point of capture.
The primary challenge in SCI lies in the software decoder. Traditionally, researchers faced a trade-off between two extremes:
- Iterative Optimization: Highly accurate and flexible, but painfully slow, often requiring hours to reconstruct a few seconds of video.
- End-to-End Deep Learning: Extremely fast, but "brittle." If the physical mask in the camera system is changed, the network typically requires complete retraining.
GAP-net: Deep Unfolding for Efficient Reconstruction
To overcome these limitations, the authors propose GAP-net, which utilizes a technique called deep unfolding. This approach takes the classical iterative Generalized Alternating Projection (GAP) algorithm and "unfolds" its iterations into the layers of a neural network.
Each "stage" of the GAP-net mimics a single iteration of the GAP algorithm and consists of two primary components:
- Linear Projection Layer: This ensures the reconstruction remains consistent with the physical measurements captured by the camera.
- CNN-based Denoiser: This acts as a signal prior, pushing the intermediate estimate toward the space of natural, high-quality images.
The authors tested several CNN architectures as the denoising engine, including Auto-encoders, DnCNN, ResNet, and U-net. Notably, the ResNet and U-net versions significantly outperformed basic auto-encoders by focusing on learning the "residual" noise to be removed at each stage. Furthermore, unlike many "black-box" deep learning models, the authors provide a probabilistic proof of global convergence for the version of GAP-net using auto-encoder denoisers.
Datasets and Evaluation
The researchers evaluated GAP-net on a wide range of synthetic and real-world data:
- Video SCI: Trained on 26,000 video clips from the DAVIS2017 dataset and tested on standard synthetic benchmarks (e.g., Kobe, Runner) and real-world footage of a "Chopper Wheel."
- Spectral SCI: Trained on 4,000 spectral cubes from the CAVE dataset, with testing performed on the KAIST dataset and real-world captures of plants and Lego figures.
Key Results and Insights
- Unprecedented Speed: GAP-net (using ResNet) takes only 4 milliseconds to reconstruct a frame that takes the state-of-the-art iterative algorithm (DeSCI) 6,180 seconds (over an hour and a half). This enables processing over 60 data cubes per second, making real-time computer vision applications viable.
- High Accuracy: In spectral imaging, GAP-net outperformed the previous leader (TSA-net) by approximately 2dB in PSNR. On real-world data, it produced sharper edges and cleaner backgrounds than other deep learning methods, which often suffer from motion-related artifacts.
- Mask Flexibility: A significant finding is that a GAP-net trained on one specific mask can still perform well on different masks. This "modulation flexibility" means a single pre-trained model can be deployed across different physical camera systems without retraining.
- Efficiency: GAP-net is more streamlined than previous unfolding methods like ADMM-net, achieving higher throughput by using fewer parameters and operations without sacrificing quality.
Conclusion
GAP-net bridges the gap between slow, rigorous optimization and fast, brittle deep learning. By unfolding the GAP algorithm, it provides a reconstruction method that is fast enough for real-time use, flexible enough for various hardware configurations, and theoretically grounded. Future work will focus on developing even more energy-efficient networks for deployment on edge devices like robots and autonomous vehicles.
The code for GAP-net is available at https://github.com/mengziyi64/ADMM-net.
Summary updated