Abstract
Coherent anti-Stokes Raman scattering (CARS) spectroscopy is a powerful imaging tool, but its signals are often distorted by non-resonant background (NRB) noise. This paper introduces uncertainty quantification (UQ) to physics-informed neural networks (PINNs) used for signal reconstruction. By combining physical laws with probabilistic models, the authors achieve highly accurate, well-calibrated reconstructions that provide explicit confidence measures. The study evaluates six UQ methods, demonstrating that physics-informed constraints significantly enhance both accuracy and uncertainty calibration, particularly in zero-shot applications to real-world data.
Introduction
CARS spectroscopy is a high-speed, label-free imaging technique widely used in chemistry and biomedicine. However, the true Raman signal, which carries molecular vibrational information, is often obscured by a strong NRB. While deep learning models, specifically PINNs, have shown success in stripping away this background by enforcing physical laws, they are typically deterministic. In critical domains like medical diagnostics, knowing the model's confidence is as vital as the prediction itself. This research bridges this gap by systematically evaluating UQ methods for CARS-to-Raman reconstruction.
Methodology
The researchers utilized a 1D ResNet architecture to separate CARS spectra into Raman and NRB components. To enable uncertainty awareness, they compared six UQ strategies: Gaussian Processes (GP), Monte Carlo Dropout (MC-Dropout), Deep Ensembles, Full Bayesian Neural Networks (BNN), Partial BNNs, and Distance-informed Neural Processes (DNP).
A key innovation is the integration of a physics-informed loss function that enforces:
- Kramers-Kronig Regularization: Ensuring the relationship between real and imaginary CARS responses aligns with causality via a differentiable Hilbert transform.
- NRB Smoothness: Penalizing sharp variations in the background to match physical expectations of a broad, smooth NRB.
The models were trained on a synthetic dataset of 2,000 spectral pairs and evaluated on both synthetic test data and a real-world dataset of 6 sample spectra for zero-shot performance.
Results and Discussion
The study found that physical constraints do more than just improve reconstruction accuracy; they fundamentally improve the calibration of uncertainty estimates, making models less overconfident.
Quantitative Performance
Performance was measured using Log-Likelihood (LL, higher is better) and Expected Calibration Error (ECE, lower is better).
- Synthetic Data: The Full BNN with physics constraints achieved the highest LL (1.274) and lowest ECE (0.049).
- Real-world Data (Zero-shot): The DNP with physics constraints emerged as the superior model, demonstrating robust generalization from synthetic training to real-world application.
The DNP model was particularly noted for providing highly localized uncertainty estimates that spike in low signal-to-noise regions, offering high interpretability for end-users.
Conclusion
This work demonstrates that physics-informed UQ models can successfully reconstruct real-world CARS spectra with reliable uncertainty bounds without fine-tuning on real data. While Full BNNs offer high performance, their computational cost remains a factor. Future research will focus on scaling these methods to broader spectral ranges and implementing active learning frameworks to guide real-time, adaptive data acquisition in spectroscopy.
Summary updated