arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1505.00838cs.MS
收藏

稀疏自动微分用于微分代数方程复杂网络的抽象初等代数

Sparse Automatic Differentiation for Complex Networks of Differential-Algebraic Equations Using Abstract Elementary Algebra

United Technologies Research Center(联合技术研究中心);Lawrence Livermore National Laboratory(劳伦斯利弗莫尔国家实验室)

Slaven Peles, Stefan Klus

AI总结:

本文提出利用抽象初等代数实现稀疏雅可比矩阵计算,展示其在分布式内存环境下的并行化优势及计算成本与系统规模线性相关的特性。

摘要:

目前大多数数值求解器和库都是使用语言特定内置数据类型(如Fortran中的real或C中的double)及其相应的初等代数实现。然而,内置的初等代数通常功能有限,往往限制了数学模型的灵活性和可应用于这些模型的分析类型。为克服这一限制,提出了诸如gPROMS或Modelica等领域特定语言,具有更丰富的内置数据类型。本文认为,如果数值库和求解器设计为使用抽象初等代数而非语言特定的内置代数,现代主流语言可以像任何领域特定语言一样有效。我们通过稀疏雅可比矩阵计算的例子来阐述我们的观点。我们实现了一种利用稀疏系统结构的自动微分方法,该方法在分布式内存环境中易于并行化。此外,我们展示了计算成本与系统规模线性相关的特性。

英文摘要:

Most numerical solvers and libraries nowadays are implemented to use mathematical models created with language-specific built-in data types (e.g. real in Fortran or double in C) and their respective elementary algebra implementations. However, the built-in elementary algebra typically has limited functionality and often restricts the flexibility of mathematical models and the analysis types that can be applied to those models. To overcome this limitation, a number of domain-specific languages such as gPROMS or Modelica with more feature-rich built-in data types have been proposed. In this paper, we argue that if numerical libraries and solvers are designed to use abstract elementary algebra rather than the language-specific built-in algebra, modern mainstream languages can be as effective as any domain-specific language. We illustrate our ideas using the example of sparse Jacobian matrix computation. We implement an automatic differentiation method that takes advantage of sparse system structures and is straightforward to parallelize in a distributed memory setting. Furthermore, we show that the computational cost scales linearly with the size of the system.

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

↑