Kandel Saugat, Maddali S, Nashed Youssef S G, Hruszkewycz Stephan O, Jacobsen Chris, Allain Marc
Opt Express. 2021 Jul 19;29(15):23019-23055. doi: 10.1364/OE.422768.
The phase retrieval problem, where one aims to recover a complex-valued image from far-field intensity measurements, is a classic problem encountered in a range of imaging applications. Modern phase retrieval approaches usually rely on gradient descent methods in a nonlinear minimization framework. Calculating closed-form gradients for use in these methods is tedious work, and formulating second order derivatives is even more laborious. Additionally, second order techniques often require the storage and inversion of large matrices of partial derivatives, with memory requirements that can be prohibitive for data-rich imaging modalities. We use a reverse-mode automatic differentiation (AD) framework to implement an efficient matrix-free version of the Levenberg-Marquardt (LM) algorithm, a longstanding method that finds popular use in nonlinear least-square minimization problems but which has seen little use in phase retrieval. Furthermore, we extend the basic LM algorithm so that it can be applied for more general constrained optimization problems (including phase retrieval problems) beyond just the least-square applications. Since we use AD, we only need to specify the physics-based forward model for a specific imaging application; the first and second-order derivative terms are calculated automatically through matrix-vector products, without explicitly forming the large Jacobian or Gauss-Newton matrices typically required for the LM method. We demonstrate that this algorithm can be used to solve both the unconstrained ptychographic object retrieval problem and the constrained "blind" ptychographic object and probe retrieval problems, under the popular Gaussian noise model as well as the Poisson noise model. We compare this algorithm to state-of-the-art first order ptychographic reconstruction methods to demonstrate empirically that this method outperforms best-in-class first-order methods: it provides excellent convergence guarantees with (in many cases) a superlinear rate of convergence, all with a computational cost comparable to, or lower than, the tested first-order algorithms.
相位恢复问题旨在从远场强度测量中恢复复值图像,是一系列成像应用中遇到的经典问题。现代相位恢复方法通常依赖于非线性最小化框架中的梯度下降方法。计算用于这些方法的闭式梯度是一项繁琐的工作,而公式化二阶导数则更加费力。此外,二阶技术通常需要存储和求逆偏导数的大型矩阵,对于数据丰富的成像模态,内存需求可能过高。我们使用反向模式自动微分(AD)框架来实现Levenberg-Marquardt(LM)算法的高效无矩阵版本,这是一种长期以来在非线性最小二乘最小化问题中广泛使用但在相位恢复中很少使用的方法。此外,我们扩展了基本的LM算法,使其不仅可以应用于最小二乘应用之外的更一般的约束优化问题(包括相位恢复问题)。由于我们使用AD,我们只需要为特定成像应用指定基于物理的正向模型;一阶和二阶导数项通过矩阵向量乘积自动计算,而无需显式形成LM方法通常所需的大型雅可比矩阵或高斯-牛顿矩阵。我们证明,在流行的高斯噪声模型和泊松噪声模型下,该算法可用于解决无约束的叠层成像物体恢复问题以及约束的“盲”叠层成像物体和探针恢复问题。我们将该算法与最先进的一阶叠层成像重建方法进行比较,通过实验证明该方法优于一流的一阶方法:它提供了出色的收敛保证,在许多情况下具有超线性收敛速度,且计算成本与测试的一阶算法相当或更低。