Physics-informed neural networks for diffraction tomography

Amirhossein Saba, Carlo Gigli, Ahmed B. Ayoub, Demetri PsaltisarXiv 2022 · DOI

Abstract

Optical Diffraction Tomography (ODT) is a critical tool for 3D imaging of biological samples, yet it is often hampered by the computational cost of iterative reconstruction and the inaccuracies of linear approximations. We present MaxwellNet, a physics-informed neural network (PINN) that serves as a high-speed, differentiable forward model for ODT. By embedding the Helmholtz equation directly into the loss function, MaxwellNet achieves field predictions up to 50,000 times faster than traditional solvers like COMSOL. This speed enables rapid and accurate 3D refractive index (RI) reconstruction, effectively mitigating common artifacts such as elongation and RI underestimation.

Introduction

Optical Diffraction Tomography provides a non-invasive way to map the 3D refractive index distribution of biological cells. However, reconstructing these maps from measured light projections is a complex inverse problem. Traditional methods, such as Wolf’s method, often suffer from distortions—specifically elongation along the optical axis—due to the "missing cone" of frequencies and the limitations of the single-scattering approximation.

To overcome these issues, researchers employ iterative reconstruction methods. These methods require a forward model to predict scattered light for a given RI estimate. Existing forward models present a difficult trade-off: Finite Element Methods (FEM) are accurate but prohibitively slow, while the Beam Propagation Method (BPM) is faster but inaccurate for high-contrast samples. Furthermore, many traditional solvers are non-differentiable, making them difficult to integrate into modern gradient-based optimization loops.

Methods

MaxwellNet addresses these challenges by utilizing a deep learning architecture based on the U-Net design, modified to function as a Physics-Informed Neural Network (PINN). Unlike standard neural networks that require massive labeled datasets, MaxwellNet is trained by minimizing the residual of the Helmholtz equation.

MaxwellNet architecture and the physics-informed training loop.

Key Innovations:

  • Physics-Defined Loss: The network ensures its outputs satisfy the laws of electromagnetics by minimizing a loss function $\mathcal{L}_{Ph}$ derived from the Helmholtz equation.
  • Envelope Prediction: To simplify the learning task and improve convergence, the network predicts the slowly varying envelope of the scattered field ($U^s_{env}$) rather than the rapidly oscillating raw field.
  • Differentiability: As a neural network, MaxwellNet is inherently differentiable. This allows the system to "backpropagate" errors from measured projections (data loss $\mathcal{L}_D$) to update the 3D RI map $n(r)$ during reconstruction.
  • Numerical Implementation: Derivatives are calculated using a 4th-order finite difference scheme on a Yee grid, with a stretched-coordinate perfectly-matched layer (PML) to handle open boundary conditions.

Experimental Results

The performance of MaxwellNet was evaluated across several datasets, including 2D digital phantoms, 2D biological images of HCT-116 cancer cells, and 3D spherical phantoms.

Massive Speedups

The most striking result is the computational efficiency. In 2D, MaxwellNet performed field calculations in 17ms, compared to 13s for COMSOL (a 1,000x speedup). In 3D, the gap widened to approximately 50,000x, with MaxwellNet taking 44.9ms versus 41.2 minutes for the traditional solver.

Reconstruction Accuracy and Validation

When integrated into a tomographic reconstruction loop, MaxwellNet successfully eliminated the elongation and underestimation artifacts typical of Rytov/Wolf approximations. The method was further validated using experimental holography data of 2.0-micron polystyrene microspheres, demonstrating its robustness against the noise and complexities of real-world optical systems.

Discussion and Conclusion

MaxwellNet demonstrates that anchoring neural networks in physical laws allows them to generalize better than purely data-driven models. A significant advantage discovered was the efficiency of transfer learning: a model pretrained on simple digital phantoms could be fine-tuned for complex cancer cell data in just 0.18 hours, compared to over 30 hours for initial training.

While the network currently faces some resolution constraints due to discretization limits and the illumination wavelength, it provides a "good enough" approximation (relative error ~4%) at speeds that make real-time iterative reconstruction feasible. Future work will focus on extending this framework to handle varying wavelengths and more complex inverse scattering problems beyond biological imaging.

Summary updated

BibTeX
@misc{saba2022physics,
  author = {Amirhossein Saba and Carlo Gigli and Ahmed B. Ayoub and Demetri Psaltis},
  title = {{Physics-informed neural networks for diffraction tomography}},
  year = {2022},
  eprint = {2207.14230},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.14230},
}
Figure