PtychoFM: A Foundation Model for Ptychographic Imaging
Ptychography provides high-resolution lensless imaging across X-ray, electron, and optical microscopy, but reconstructing images from diffraction measurements generally requires computationally intensity iterative phase retrieval. These methods often require experiment-specific analysis, limiting real-time feedback as data acquisition rates increase. Here, we demonstrate PtychoFM, a physics-aware foundation model for ptychographic imaging that combines large-scale pre-training with experiment-specific fine-tuning to reconstruct complex object images directly from individual diffraction patterns. Trained using a differentiable forward model without object-space labels, PtychoFM transfers from step-scan training data on one sample to fly-scan measurements of other samples with different feature sizes, morphologies, and refraction indices. At a synchrotron beamline, diffraction frames were streamed from the detector to a single GPU for inference at up to 200 frames per second and returned for real-time visualization. PtychoFM provides a practical route to rapid, transferable ptychographic reconstruction and live experimental feedback under nonideal conditions.
Authors
- Siniša Veseli (ORCID: https://orcid.org/0009-0002-0978-6364)
- Zirui Gao (ORCID: https://orcid.org/0000-0003-2498-0122)
- Takenori Shimamura (ORCID: https://orcid.org/0000-0002-4144-2206)
- Alec Sandy (ORCID: https://orcid.org/0000-0001-9347-1087)
- Tejas Guruswamy (ORCID: https://orcid.org/0000-0002-4165-6765)
- Bowen Zheng (ORCID: https://orcid.org/0009-0000-3167-4399)
- Varuni Katti Sastry (ORCID: https://orcid.org/0009-0007-0366-4186)
- Apurva Mehta (ORCID: https://orcid.org/0000-0003-0870-6932)
- Tekin Biçer (ORCID: https://orcid.org/0000-0002-8428-5159)
- Jeffrey A. Klug (ORCID: https://orcid.org/0000-0002-1130-5569)
- Antonino Miceli (ORCID: https://orcid.org/0000-0001-5994-5402)
- D. A. Bennett (ORCID: https://orcid.org/0000-0003-3011-3690)
- Robert Underwood (ORCID: https://orcid.org/0000-0002-1464-729X)
- L. C. Chapon (ORCID: https://orcid.org/0000-0002-2756-8160)
- Peco Myint (ORCID: https://orcid.org/0000-0002-7807-7775)
- Joel N. Ullom (ORCID: https://orcid.org/0000-0003-2486-4025)
- Lorenzo Rota (ORCID: https://orcid.org/0000-0002-5075-210X)
- Leila R. Vale (ORCID: https://orcid.org/0000-0001-8561-2580)
- Mathew J. Cherukara (ORCID: https://orcid.org/0000-0002-1475-6998)
- Michael R. Vissers (ORCID: https://orcid.org/0000-0003-2467-7801)
- Oliver R. Hoidn
- John A. B. Mates (ORCID: https://orcid.org/0000-0001-5955-8103)
- Aileen Luo
- Alexander Hexemer (ORCID: https://orcid.org/0000-0002-5269-0125)
- Christopher Kenney
- Cheng‐Chu Chung (ORCID: https://orcid.org/0000-0002-9578-8544)
- Hannah Parraga (ORCID: https://orcid.org/0009-0007-8152-4090)
- Stefan Vogt (ORCID: https://orcid.org/0000-0002-8034-5513)
- Llorenç Fanals-i-Batllori
- Aashwin Mishra (ORCID: https://orcid.org/0000-0002-7257-6784)
- Jinxing Jiang (ORCID: https://orcid.org/0000-0003-1048-5913)
- Emon Dey (ORCID: https://orcid.org/0000-0002-1290-0378)
- Himanshu Goel
- Hanfei Yan (ORCID: https://orcid.org/0009-0008-4746-1070)
- Xuanyu Zheng (ORCID: https://orcid.org/0009-0003-8548-180X)
- Nicholas Schwarz (ORCID: https://orcid.org/0009-0009-1535-3056)
- Ming Du
- Michael Wojcik
- Angelo Dragone
- Brandon Stone
- Henry Shi
- Jonathan Baldwin
- Hassina Bilheux
- Xiangyu Yin
- Kibaek Kim
- Junjing Deng
- Aldo Peña Pérez
- Shashank Subramanian
- Aaron Michelson
- Tao Zhou
- Yijiang Li
- Yi Jiang
- Johanna Nelson Weker
Publication Details
- Journal
- arXiv
- Published
- 2026-11-24
- DOI
- https://doi.org/10.48550/arxiv.2611.32830
- Primary Topic
- Advanced X-ray Imaging Techniques
- Type
- preprint