Differentiable imaging

From HandWiki
Short description: Technique and research method within computational imaging


Differentiable imaging is a method within computational imaging that incorporates differentiable programming to design imaging systems. It treats the entire imaging process - from light passing through optical components to the numerical reconstruction—as a differentiable programming problem. This approach links optical hardware with numerical reconstruction, enabling joint optimization of both parts through differentiable programming.[1] Differentiable imaging additionally extends the scope of computational imaging beyond image reconstruction, such as by aiding in characterization of optical components.[2]

Background

Computational imaging combines optical hardware and computational algorithms to capture and reconstruct information that conventional imaging system cannot. This is achieved from a combination of the imaging system and the software used in the image reconstruction.[3] Since the captured information may not directly show the image of the target, these systems often rely on numerical models that describe how light encodes the target. In practice, such models may deviate from the physical systems due to uncertainties such as noise, misalignments, manufacturing imperfections, environmental variations, and etc. These uncertainties can cause a mismatch between the physical system and its numerical model, which may degrade reconstruction quality and limit the effectiveness of the hardware–software co-design.[3] Uncertainty quantification is also studied in other hybrid physical–numerical systems, such as digital twin.[4] While numerical modeling imaging systems date back to the several decades, such as the multislice method in electron microscopy[5] or X-Ray nanotomography[6], differentiable imaging emphasizes jointly modeling uncertainties and solving inverse problems with image reconstruction simultaneously.

Differentiable Imaging and Computational Imaging

Differentiable imaging transforms the traditional encoding model y=f(x) into a more comprehensive formulation y=f(x,θ), where θ represents a parameter set of mismatches between physical systems and numerical models.

The forward model captures the entire imaging pipeline through a series of interconnected component functions:

y=f(x,θ),f=fnoisefcfocfxfoifi,

where the function composition operator connects each system component, and θ={θc,θoc,} encompasses uncertainty system parameters. Each component corresponds to specific physical processes within the imaging system, from illumination through object interactions to sensor behavior and noises.

This forward model enables the formulation of an inverse problem that simultaneously optimizes system parameters while reconstructing images:

x*,θ*=argminx,θ(f(x,θ),y)+n=1Nβnn(x)

s.t.xΩx,θΩθ

Here, (f(x,θ),y) represents the fidelity term that quantifies the discrepancy between the model predictions and measured data.

The whole process of the y=f(x,θ) is constructed as a computer graph based on differentiable programming, and the inverse problem is solved with gradient based algorithm, while the gradient is calculated with automatic differentiation.

Applications

One application of differentiable imaging is uncertainty management, which seeks to quantify and mitigate the impact of factors induce reality-numerical mismatch. Explicitly accounting for uncertainties can improve reconstruction accuracy and system robustness. Examples include:

  • Model-related uncertainties: unknown or unmeasurable variables—for instance, optical system quantities that differ from the design specifications[7][8][9][10][11]
  • Data and system uncertainties: artifacts introduced during image acquisition, such as low-quality data, noise, or hardware imperfections[12][13]
  • Manufacturing uncertainties: variability in the production of imaging hardware—such as slight deviations in lens curvature or sensor alignment—that alters the physical system's behavior[14]

References

Template:CCBYSA4Source

  1. Chen, Ni; Cao, Liangcai; Poon, Ting-Chung; Lee, Byoungho; Lam, Edmund Y. (2023-03-23). "Differentiable Imaging: A New Tool for Computational Optical Imaging" (in en). Advanced Physics Research 2 (6). doi:10.1002/apxr.202200118. ISSN 2751-1200. https://onlinelibrary.wiley.com/doi/10.1002/apxr.202200118. 
  2. Chen, Ni; Brady, David J.; Lam, Edmund Y. (2025-07-04). "Differentiable Imaging: Progress, Challenges, and Outlook". Advanced Devices & Instrumentation 6. doi:10.34133/adi.0117. Bibcode2025AdDI....6..117C. 
  3. 3.0 3.1 Mait, Joseph N.; Euliss, Gary W.; Athale, Ravindra A. (2018-06-30). "Computational imaging" (in en). Advances in Optics and Photonics 10 (2): 409. doi:10.1364/AOP.10.000409. ISSN 1943-8206. Bibcode2018AdOP...10..409M. https://opg.optica.org/abstract.cfm?URI=aop-10-2-409. 
  4. Foundational Research Gaps and Future Directions for Digital Twins. Washington, D.C.: National Academies Press. 2024-03-28. doi:10.17226/26894. ISBN 978-0-309-70042-9. https://doi.org/10.17226/26894. 
  5. Cowley, J. M.; Moodie, A. F. (1957-10-01). "The scattering of electrons by atoms and crystals. I. A new theoretical approach". Acta Crystallographica 10 (10): 609–619. doi:10.1107/S0365110X57002194. ISSN 0365-110X. Bibcode1957AcCry..10..609C. https://journals.iucr.org/paper?S0365110X57002194. 
  6. Du, Ming; Nashed, Youssef S. G.; Kandel, Saugat; Gürsoy, Doğa; Jacobsen, Chris (2020-03-27). "Three dimensions, two microscopes, one code: Automatic differentiation for x-ray nanotomography beyond the depth of focus limit" (in en). Science Advances 6 (13). doi:10.1126/sciadv.aay3700. ISSN 2375-2548. PMID 32258397. Bibcode2020SciA....6.3700D. 
  7. Chen, Ni; Wang, Congli; Heidrich, Wolfgang (2023-08-07). "∂H: Differentiable Holography" (in en). Laser & Photonics Reviews 17 (9). doi:10.1002/lpor.202200828. ISSN 1863-8880. https://onlinelibrary.wiley.com/doi/10.1002/lpor.202200828. 
  8. Chen, Ni; Lam, Edmund Y. (2025-02-15). "Differentiable pixel-super-resolution lensless imaging" (in en). Optics Letters 50 (4): 1180–1183. doi:10.1364/OL.552086. ISSN 0146-9592. PMID 39951758. Bibcode2025OptL...50.1180C. https://opg.optica.org/abstract.cfm?URI=ol-50-4-1180. 
  9. Du, Ming; Kandel, Saugat; Deng, Junjing; Huang, Xiaojing; Demortiere, Arnaud; Nguyen, Tuan Tu; Tucoulou, Remi; De Andrade, Vincent et al. (2021-03-29). "Adorym: a multi-platform generic X-ray image reconstruction framework based on automatic differentiation" (in en). Optics Express 29 (7): 10000–10035. doi:10.1364/OE.418296. ISSN 1094-4087. PMID 33820138. PMC 8237934. Bibcode2021OExpr..2910000D. https://opg.optica.org/abstract.cfm?URI=oe-29-7-10000. 
  10. Seifert, Jacob; Bouchet, Dorian; Loetgering, Lars; Mosk, Allard P. (2021-01-15). "Efficient and flexible approach to ptychography using an optimization framework based on automatic differentiation" (in en). OSA Continuum 4 (1): 121. doi:10.1364/OSAC.411174. ISSN 2578-7519. https://opg.optica.org/abstract.cfm?URI=osac-4-1-121. 
  11. Nguyen, Ngan; Liang, Feng; Engel, Dominik; Bohak, Ciril; Strnad, Ondřej; Ropinski, Timo; Viola, Ivan (2024-04-23). "Towards Differentiable Electron Microscopy Simulation: Methods and Applications". 2024 IEEE 17th Pacific Visualization Conference (PacificVis). IEEE. pp. 62–71. doi:10.1109/PacificVis60374.2024.00016. ISBN 979-8-3503-9380-4. 
  12. Chen, Ni; Wu, Yang; Tan, Chao; Cao, Liangcai; Wang, Jun; Lam, Edmund Y. (2025-07-07). "Uncertainty-aware Fourier ptychography" (in en). Light: Science & Applications 14 (1). doi:10.1038/s41377-025-01915-w. ISSN 2047-7538. PMID 40624000. 
  13. Gupta, Sidharth; Kothari, Konik; Debarnot, Valentin; Dokmanić, Ivan (2024). "Differentiable Uncalibrated Imaging". IEEE Transactions on Computational Imaging 10: 1–16. doi:10.1109/TCI.2023.3346294. ISSN 2333-9403. 
  14. Chen, Guojin; Wang, Zixiao; Yu, Bei; Pan, David Z.; Wong, Martin D. F. (2024-02-02). "Ultrafast Source Mask Optimization via Conditional Discrete Diffusion". IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 43 (7): 2140–2150. doi:10.1109/TCAD.2024.3361400. ISSN 0278-0070. Bibcode2024ITCAD..43.2140C.