TL;DR
This paper introduces a novel bilevel optimization framework to learn binary illumination patterns for Single-Pixel Imaging (SPI). By using a Straight-Through Estimator (STE) and pre-trained learned regularizers, they achieve superior reconstruction quality, especially in data-scarce and undersampled scenarios, outperforming existing methods.
What Problem Does This Paper Address?
Single-Pixel Imaging (SPI) is a cost-effective imaging technique that reconstructs an object by illuminating it sequentially with different structured light patterns and measuring the total light intensity with a single detector. The choice of these illumination patterns is crucial for reconstruction quality and acquisition speed. Traditionally, fixed patterns like Hadamard sequences are used, but these can lead to significant artifacts, especially when the number of patterns (and thus acquisition time) is limited. Designing optimal, task-specific patterns is challenging because the patterns must be binary (0 or 1, or -1 and 1) due to hardware constraints, making direct gradient-based optimization intractable. This paper aims to address this by learning optimal binary patterns directly from data, tailored to specific applications like microscopy, and overcoming the challenges of discrete optimization.
Methods
The core of the paper is a bilevel optimization framework. This means they optimize two levels of problems simultaneously:
- Upper Level: Learns the latent representation of the binary sampling patterns (denoted by $Z$) and a regularization weight ($\alpha$). The goal here is to minimize the overall reconstruction error across a dataset.
- Lower Level: Solves the image reconstruction problem for each individual measurement. This is formulated as a variational problem using a pre-trained learned regularizer (either Total Deep Variation (TDV) or Weakly Convex Ridge Regularizer (WCRR)). This learned regularizer acts as a prior to guide the reconstruction.
To handle the non-differentiable nature of binary patterns ($A = \text{sgn}(Z)$), they employ the Straight-Through Estimator (STE). STE allows gradients to flow through the non-differentiable sign function during backpropagation by using a surrogate gradient. This enables end-to-end training of the pattern generation process. They also use a Jacobian-Free Backpropagation (JFB) approach to reduce computational cost when solving the lower-level reconstruction problem.
Datasets
- Training and Evaluation: The CytoImageNet microscopy dataset is used. A subset of 1000 images is used for training the illumination patterns, and an independent set of 100 images for evaluation.
- Comparison with End-to-End Methods: For comparisons, training set sizes ranging from 250 to 25,000 images are considered.
- Learned Regularizers: The TDV and WCRR regularizers are pre-trained on the BSDS500 dataset for denoising.
Key Insights and Ideas
- Learned Regularizers are Powerful: Replacing traditional Total Variation (TV) regularization with learned regularizers (TDV, WCRR) significantly improves reconstruction quality even with fixed, classical patterns.
- Bilevel Optimization for Pattern Learning: The bilevel optimization framework, by jointly optimizing patterns and reconstruction quality (via the regularizer), leads to substantial further gains, especially at low sampling rates.
- STE is Key for Binary Patterns: The Straight-Through Estimator is crucial for enabling gradient-based optimization of binary sampling patterns, effectively bypassing the non-differentiability issue.
- Data Efficiency: The proposed method is remarkably data-efficient, achieving strong performance with as few as 250 training images, a significant advantage over previous end-to-end deep learning approaches that require tens of thousands.
- Robustness to Noise Mismatch: The learned patterns show robustness to mismatches in noise levels between training and testing, with performance often peaking when the training noise level is higher than the test level.
Key Results
- Superior Reconstruction Quality: The proposed STE-TDV method achieves significant improvements in PSNR and SSIM compared to baseline methods (Gaussian-TV, SH-TV) and end-to-end methods (DCAN). For example, at M=256 (1.6% sampling), STE-TDV achieves a PSNR comparable to SH-TV at M=1024 (6.3% sampling), suggesting a 4x reduction in measurement requirements.
- Improved Performance in Undersampled Regimes: The gains are most pronounced in highly undersampled scenarios (e.g., M=128, M=256), where learned patterns capture higher spatial frequencies and produce cleaner reconstructions with fewer artifacts.
- Competitive with Limited Data: Even with only 250 training images, the method achieves impressive results, outperforming DCAN, which degrades significantly in data-scarce regimes.
- STE Surrogate Choice Matters Little: The specific choice of STE surrogate (Tanh, Clipped) has a negligible impact on reconstruction quality, simplifying the selection process.
Limitations and Future Work
- Generalization to Unseen Regularizers: While the learned patterns are somewhat robust, a mismatch between the regularizer used during training and testing can lead to noticeable performance degradation, especially at low sampling ratios. This suggests a coupling between learned patterns and regularizers.
- Computational Cost: While JFB helps, the bilevel optimization can still be computationally intensive.
- Future Work:
- Adapting pre-trained regularizers during pattern optimization.
- Evaluating learned patterns on real SPI systems and downstream tasks (e.g., data fusion).
- Exploring adaptive or sequential pattern learning for further improvements in highly undersampled regimes.
Summary updated