Phase retrieval and design with automatic differentiation: tutorial
Abstract
Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.
The principal limitation in many areas of astronomy, especially for directly imaging exoplanets, arises from instability in the point spread function (PSF) delivered by the telescope and instrument. To understand the transfer function, it is often necessary to infer a set of optical aberrations given only the intensity distribution on the sensor—the problem of phase retrieval . This can be important for post-processing of existing data, or for the design of optical phase masks to engineer PSFs optimized to achieve high-contrast, angular resolution, or astrometric stability. By exploiting newly efficient and flexible technology for automatic differentiation , which in recent years has undergone rapid development driven by machine learning, we can perform both phase retrieval and design in a way that is systematic, user-friendly, fast, and effective. By using modern gradient descent techniques, this converges efficiently and is easily extended to incorporate constraints and regularization. We illustrate the wide-ranging potential for this approach using our new package, Morphine. Challenging applications performed with this code include precise phase retrieval for both discrete and continuous phase distributions, even where information has been censored such as heavily saturated sensor data. We also show that the same algorithms can optimize continuous or binary phase masks that are competitive with existing best solutions for two example problems: an apodizing phase plate coronagraph for exoplanet direct imaging, and a diffractive pupil for narrow-angle astrometry. The Morphine source code and examples are available open-source, with an interface similar to the popular physical optics package Poppy.
Results and benchmarks
The principal limitation in many areas of astronomy, especially for directly imaging exoplanets, arises from instability in the point spread function (PSF) delivered by the telescope and instrument.
Benchmark evidence is limited
Evidence graph: 2 refs, 1 links.
Utility signals: depth 60/100, grounding 58/100, status medium.
Implementation
No direct implementation yet
Maintained implementation evidence is not confirmed for this paper yet.
Use the implementation status and reproduction sections for the current action plan.
No verified maintained repo yet
There is no verified maintained implementation yet. Use this baseline plan to decide whether to prototype now or defer.
- This is primarily a method paper. Reproduce it within a maintained framework baseline instead of chasing paper-specific repos.
- Start with framework-native implementations (e.g. PyTorch optimizer module, Optax, or Transformers training loops).
- Replicate the paper ablation settings first, then compare against modern baselines.
Time to first repro: a few hours
This is primarily a method paper. Reproduce it within a maintained framework baseline instead of chasing paper-specific repos.
- No maintained paper-verified implementation is currently available
Reproduction readiness
No repo
No verified implementation available
- No maintained repository has been identified for this paper. Check adjacent implementations or HF artifacts below.
Validation caveat
Framework baselines
- PyTorch Adam optimizer docs
Reference implementation of Adam in PyTorch.
- Optax Adam optimizer docs
JAX/Flax baseline for Adam variants.
- Keras Adam optimizer docs
TensorFlow/Keras baseline for Adam.
Hugging Face artifacts
No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.
Tip: start with models, then check datasets and spaces if you need evaluation data or demos.
Research context
19
Citations
91
References
Tasks
Computer science, Automatic differentiation, Exoplanet, Telescope, Point spread function, Physical Sciences
Methods
Phase retrieval, Algorithm
Domains
Artificial intelligence, Computer vision, Physics and Astronomy, Atomic and Molecular Physics, and Optics
Related papers
- Transit timing analysis of the exoplanet TrES-5 b. Possible existence of the exoplanet TrES-5 cSearch on Paper2Code
2018 · Semantic similarity
- 7. ExoplanetsSearch on Paper2Code
2010 · Semantic similarity
- Detection of Exoplanets based on the Transit MethodSearch on Paper2Code
2023 · Semantic similarity
- Chemical modeling of exoplanet atmospheresSearch on Paper2Code
2014 · Semantic similarity
- In the Beginning – The First Exoplanet DiscoveriesSearch on Paper2Code
2011 · Semantic similarity
- The Comparison of Five Methods of Detecting ExoplanetsSearch on Paper2Code
2023 · Semantic similarity
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.