PDE-constrained inverse problems are some of the most challenging and computationally demanding problems in computational science today. Fine meshes that are required to accurately compute the PDE solution introduce an enormous number of parameters and require large scale computing resources such as more processors and more memory to solve such systems in a reasonable time. For inverse problems constrained by time dependent PDEs, the adjoint method that is often employed to efficiently compute gradients and higher order derivatives requires solving a time-reversed, so-called adjoint PDE that depends on the forward PDE solution at each timestep. This necessitates the storage of a high dimensional forward solution vector at every timestep. Such a procedure quickly exhausts the available memory resources. Several approaches that trade additional computation for reduced memory footprint have been proposed to mitigate the memory bottleneck, including checkpointing and compression strategies. In this work, we propose a close-to-ideal scalable compression approach using autoencoders to eliminate the need for checkpointing and substantial memory storage, thereby reducing both the time-to-solution and memory requirements. We compare our approach with checkpointing and an off-the-shelf compression approach on an earth-scale ill-posed seismic inverse problem. The results verify the expected close-to-ideal speedup for both the gradient and Hessian-vector product using the proposed autoencoder compression approach. To highlight the usefulness of the proposed approach, we combine the autoencoder compression with the data-informed active subspace (DIAS) prior to show how the DIAS method can be affordably extended to large scale problems without the need of checkpointing and large memory.
翻译:PDE约束反问题是当今计算科学中最具挑战性和计算量的问题之一。为了准确计算PDE解,需要使用细网格,这引入了大量参数,并且需要更多的处理器和内存等大规模计算资源来在合理的时间内解决这些系统。对于受时变PDE约束的反问题,通常采用的伴随方法来有效计算梯度和高阶导数需要在每个时步求解一个时间反演的伴随PDE,而该伴随PDE依赖于每个时步的正向PDE解。这要求在每个时步存储一个高维度的正向解向量。这样的过程很快会耗尽可用的存储资源。提出了几种方法,可以通过增加计算量来减少内存占用,包括断点续算和压缩策略。在本文中,我们提出了一种接近理想的可扩展压缩方法,使用自动编码器消除了断点续算和大量存储的需要,从而减少了时间到解决方案和内存要求。我们在一个地球级别的不适定地震反问题上比较了我们的方法与断点续算和现成的压缩方法。结果验证了我们提出的自动编码器压缩方法在梯度和Hessian向量乘积上的预期近似理想加速。为了凸显所提出的方法的实用性,我们将自动编码器压缩与数据驱动的主动子空间(DIAS)先验相结合,以展示如何在不需要断点续算和大内存的情况下将DIAS方法廉价扩展到大规模问题。