Learning neural operators for solving partial differential equations (PDEs) has attracted great attention due to its high inference efficiency. However, training such operators requires generating a substantial amount of labeled data, i.e., PDE problems together with their solutions. The data generation process is exceptionally time-consuming, as it involves solving numerous systems of linear equations to obtain numerical solutions to the PDEs. Many existing methods solve these systems independently without considering their inherent similarities, resulting in extremely redundant computations. To tackle this problem, we propose a novel method, namely Sorting Krylov Recycling (SKR), to boost the efficiency of solving these systems, thus significantly accelerating data generation for neural operators training. To the best of our knowledge, SKR is the first attempt to address the time-consuming nature of data generation for learning neural operators. The working horse of SKR is Krylov subspace recycling, a powerful technique for solving a series of interrelated systems by leveraging their inherent similarities. Specifically, SKR employs a sorting algorithm to arrange these systems in a sequence, where adjacent systems exhibit high similarities. Then it equips a solver with Krylov subspace recycling to solve the systems sequentially instead of independently, thus effectively enhancing the solving efficiency. Both theoretical analysis and extensive experiments demonstrate that SKR can significantly accelerate neural operator data generation, achieving a remarkable speedup of up to 13.9 times.
翻译:学习神经算子以求解偏微分方程(PDE)因其高推理效率而备受关注。然而,训练此类算子需要生成大量带标签数据,即PDE问题及其对应的解。这一数据生成过程极为耗时,因为需要求解大量线性方程组以获得PDE的数值解。现有许多方法独立求解这些方程组,未考虑其内在相似性,导致大量冗余计算。为解决该问题,我们提出一种新方法——排序Krylov循环(SKR),以提高求解这些方程组的效率,从而显著加速神经算子训练所需的数据生成。据我们所知,SKR是首个针对学习神经算子时数据生成耗时问题的尝试。SKR的核心机制是Krylov子空间循环,这是一种通过利用一系列相关系统内在相似性来高效求解的强大技术。具体而言,SKR采用排序算法将这些系统按序列排列,使相邻系统具有高度相似性,随后为求解器配备Krylov子空间循环技术,以顺序而非独立的方式求解这些系统,从而有效提升求解效率。理论分析与大量实验均表明,SKR可显著加速神经算子数据生成,最高可实现13.9倍的惊人加速比。