Abstract
Compressed sensing fluorescence microscopy (CS-FM) proposes a scheme whereby less measurements are collected during sensing and reconstruction is performed to recover the image. Much work has gone into optimizing the sensing and reconstruction portions separately. We propose a method of jointly optimizing both sensing and reconstruction end-to-end under a total measurement constraint, enabling learning of the optimal sensing scheme concurrently with the parameters of a neural network-based reconstruction network. We train our model on a rich dataset of confocal, two-photon, and wide-field microscopy images comprising of a variety of biological samples. We show that our method outperforms several baseline sensing schemes and a regularized regression reconstruction algorithm.
Introduction
Fluorescence microscopy (FM) is an indispensable tool in biological research, enabling high-resolution visualization of cellular structures and processes. However, FM is fundamentally constrained by a "photon budget." Achieving high signal-to-noise ratios (SNR) typically requires high excitation intensities or long exposure times, both of which lead to deleterious effects: photo-bleaching, where fluorophores lose their ability to fluoresce, and photo-damage, which can alter biological function or kill live samples.
Compressed Sensing (CS) offers a potential solution by enabling the reconstruction of high-quality images from a sub-Nyquist number of measurements. Traditionally, the design of the sensing matrix (the patterns used to sample the object) and the reconstruction algorithm (the mathematical method to recover the image) are treated as independent problems. This "siloed" approach often fails to exploit the synergies between specific sensing patterns and the inductive biases of modern reconstruction engines, such as deep neural networks. This paper presents an end-to-end framework that jointly optimizes Hadamard sensing patterns and a U-Net-based reconstruction network.
Methodology
The proposed system treats the physical sensing process and the digital reconstruction as a unified, differentiable pipeline.
Hadamard Sensing and Probabilistic Masking
The sensing model utilizes Hadamard patterns, which are binary orthogonal bases (+1, -1) that can be efficiently implemented in hardware using Digital Micromirror Devices (DMDs). To optimize the selection of these patterns, the authors introduce a probabilistic mask ($P$). Each element in $P$ represents the probability of including a specific Hadamard coefficient in the measurement set.
Differentiable Sampling
A key challenge in joint optimization is the discrete nature of sampling (a pattern is either used or not). To allow gradient-based optimization via backpropagation, the authors employ the Straight-Through Gumbel-Softmax estimator. This technique provides a continuous, differentiable approximation of the discrete Bernoulli sampling process during the forward pass, while allowing gradients to flow back to the probabilistic mask parameters during the backward pass.
Reconstruction Network
The reconstruction model is based on a U-Net architecture, a standard in biomedical image restoration. The U-Net takes the undersampled, noisy Hadamard measurements (transformed back to the spatial domain via an inverse Hadamard transform) and learns to map them to the original high-resolution ground truth.
Results and Discussion
The joint optimization approach was evaluated against several baseline sensing masks, including random (R), low-sequency (LS), and half-half (HH) masks, as well as a traditional Total Variation-Wavelet (TV-W) reconstruction algorithm.
Learned Sensing Strategies
Analysis of the learned masks reveals that the model naturally prioritizes low-sequency patterns, which capture the coarse structural information of the sample. However, the learned mask also samples specific high-frequency components to preserve fine details. This suggests a "division of labor": the sensing hardware captures the essential structural "skeleton," while the U-Net leverages learned priors to impute the missing high-frequency details.
Quantitative and Qualitative Performance
The proposed method demonstrated significant improvements in both Peak Signal-to-Noise Ratio (PSNR) and Structural Similarity Index (SSIM). At a compression ratio of $\alpha = 0.25$, the jointly optimized U-Net achieved a PSNR of 39.38 dB on raw data, substantially outperforming the TV-W baseline (28.20 dB) and U-Net models paired with non-optimized masks.
As shown in the visual results, the joint optimization produces reconstructions with significantly higher fidelity, preserving intricate biological structures that are lost or blurred in traditional CS approaches.
Conclusion
This work demonstrates that the joint optimization of sensing and reconstruction significantly enhances the performance of compressed sensing fluorescence microscopy. By co-evolving the sensing patterns with the reconstruction network, the system achieves superior image quality at low photon counts. Future research will focus on prospective validation on physical hardware and the integration of the microscope's point spread function (PSF) into the forward model to further refine reconstruction accuracy.
Summary updated