arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.14875math.NAcs.AIcs.CEcs.FLcs.NAcs.NE
收藏

用进化程序合成自动化设计多重网格方法

Automating the Design of Multigrid Methods with Evolutionary Program Synthesis

Lehrstuhl für Informatik 10(计算机科学10系)

Jonas Schmitt

AI总结:

本论文提出用语法引导遗传编程自动设计多重网格求解器,开发了上下文无关文法及EvoStencils框架,能发现高效且泛化的新结构多重网格方法。

摘要:

许多最基本的自然定律都可以表述为偏微分方程(PDE)。因此,理解这些方程对于现代科学和工程的许多分支都极其重要。然而,由于许多偏微分方程的一般解是未知的,对这些方程进行高效的近似求解是人类面临的最大挑战之一。虽然多重网格是数值求解偏微分方程最有效的方法之一,但在许多情况下,设计一个高效甚至可用的多重网格求解器仍然是一个开放问题。本论文证明,语法引导的遗传编程(一种进化程序合成技术)能够发现结构前所未有的多重网格方法,这些方法实现了高水平的效率和泛化能力。为此,我们开发了一种新颖的上下文无关文法,使得能够以符号可操作的形式语言自动生成多重网格方法,基于此,我们可以将相同的基于多重网格的求解器应用于不同规模的问题,而无需调整其内部结构。将高效多重网格方法的自动化设计视为程序合成任务,使我们能够找到新颖的多重网格操作序列,包括在离散化层次的每一层上组合不同的平滑和粗网格校正步骤。为了证明该方法的可行性,我们以Python框架EvoStencils的形式展示了其实现,该框架作为开源软件免费提供。该实现涵盖了从以Python对象的有向无环图形式表示多重网格方法的算法序列,到利用代码生成框架ExaStencils和进化计算库DEAP的功能进行自动生成和优化的所有步骤。

英文摘要:

Many of the most fundamental laws of nature can be formulated as partial differential equations (PDEs). Understanding these equations is, therefore, of exceptional importance for many branches of modern science and engineering. However, since the general solution of many PDEs is unknown, the efficient approximate solution of these equations is one of humanity's greatest challenges. While multigrid represents one of the most effective methods for solving PDEs numerically, in many cases, the design of an efficient or at least working multigrid solver is an open problem. This thesis demonstrates that grammar-guided genetic programming, an evolutionary program synthesis technique, can discover multigrid methods of unprecedented structure that achieve a high degree of efficiency and generalization. For this purpose, we develop a novel context-free grammar that enables the automated generation of multigrid methods in a symbolically-manipulable formal language, based on which we can apply the same multigrid-based solver to problems of different sizes without having to adapt its internal structure. Treating the automated design of an efficient multigrid method as a program synthesis task allows us to find novel sequences of multigrid operations, including the combination of different smoothing and coarse-grid correction steps on each level of the discretization hierarchy. To prove the feasibility of this approach, we present its implementation in the form of the Python framework EvoStencils, which is freely available as open-source software. This implementation comprises all steps from representing the algorithmic sequence of a multigrid method in the form of a directed acyclic graph of Python objects to its automatic generation and optimization using the capabilities of the code generation framework ExaStencils and the evolutionary computation library DEAP.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑