变分微分的自动化实现
Automating Variational Differentiation
AI总结:
针对现有方法无法高效处理变分微分的问题,本研究结合组合逻辑的B、C组合子拉回提出新型微分模型,构建的CombDiff系统可处理HF理论、多层感知机等非平凡变分问题。
摘要:
物理与化学领域的诸多问题都被表述为泛函极小化问题。因此,求解这类问题的方法通常需要对输入和/或输出为函数的映射进行求导——这一操作通常被称为变分微分。作为现代符号微分与算法微分(AD)系统基础的链式法则,无法在数学层面处理这类映射。尽管目前已有追踪、反向累积等算法解决方案,但它们不具备人类可读性,还会引入严格的编程约束,成为性能瓶颈,在高性能计算(HPC)环境中尤为突出。本文中,我们结合组合逻辑中B组合子与C组合子的拉回操作,提出了一种全新的计算机理论微分模型。与基于链式法则的框架不同,该模型针对可计算函数空间的极小完备基进行求导。因此,该模型既能支持复数运算,又可实现解析反向传播与变分微分。为验证该方法的通用性,我们构建了名为CombDiff的系统,它可对Hartree-Fock(HF)理论、多层感知机等非平凡变分问题进行求导。
英文摘要:
Many problems in Physics and Chemistry are formulated as the minimization of a functional. Therefore, methods for solving these problems typically require differentiating maps whose input and/or output are functions -- commonly referred to as variational differentiation. Such maps are not addressed at the mathematical level by the chain rule, which underlies modern symbolic and algorithmic differentiation (AD) systems. Although there are algorithmic solutions such as tracing and reverse accumulation, they do not provide human readability and introduce strict programming constraints that bottleneck performance, especially in high-performance computing (HPC) environments. In this manuscript, we propose a new computer theoretic model of differentiation by combining the pullback of the $\mathbf{B}$ and $\mathbf{C}$ combinators from the combinatory logic. Unlike frameworks based on the chain rule, this model differentiates a minimal complete basis for the space of computable functions. Consequently, the model is capable of analytic backpropagation and variational differentiation while supporting complex numbers. To demonstrate the generality of this approach we build a system named CombDiff, which can differentiate nontrivial variational problems such as Hartree-Fock (HF) theory and multilayer perceptrons.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。