arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.13128math.NAcs.NAmath.OC
收藏

速率常数矩阵收缩方法的快速且数值稳定的实现

Fast and Numerically Stable Implementation of Rate Constant Matrix Contraction Method

Shinichi Hemmi, Satoru Iwata, Taihei Oki

AI总结:

本文针对速率常数矩阵收缩方法的瓶颈,提出一种结合LazyFastGreedy修改和线段树的快速数值稳定算法,避免灾难性抵消,在真实实例上验证了其稳定性和显著加速效果。

摘要:

由Sumiya等人(2015, 2017)提出的速率常数矩阵收缩(RCMC)方法,能够在大规模反应路径网络上实现化学动力学的快速且数值稳定的模拟。随后,Iwata等人(2023)将RCMC方法在数学上重新表述为一种数值算法,用于求解主方程,这些方程的系数矩阵(称为速率常数矩阵)具有细致平衡性质。本文旨在加速RCMC方法。RCMC方法的瓶颈在于稳态的贪心选择,这实际上等价于在基数约束下对DPP进行MAP推断的贪心算法。Hemmi等人(2022)通过将Chen等人(2018)的贪心算法与Minoux(1978)的懒惰贪心算法(一种利用目标函数子模性的实用高效贪心算法)相结合,引入了贪心DPP MAP推断的快速实现,称为LazyFastGreedy。然而,对于来自化学动力学的实例,直接应用LazyFastGreedy会因反应时间尺度的广泛范围而遭受灾难性抵消。为了解决这种数值不稳定性,我们提出对LazyFastGreedy进行修改,通过利用速率常数矩阵的性质以及DPP MAP推断与Cholesky分解的联系,避免同号数字的减法。为了实现更快的实现,我们利用线段树,这是一种管理半群中一维数组元素的数据结构。我们还分析了由同号减法引起的相对误差增加,并允许在不导致灾难性抵消的情况下进行此类减法,旨在进一步加速过程。使用真实实例,我们确认所提出的算法既数值稳定又比原始RCMC方法显著更快。

英文摘要:

The rate constant matrix contraction (RCMC) method, proposed by Sumiya et al. (2015, 2017), enables fast and numerically stable simulations of chemical kinetics on large-scale reaction path networks. Later, Iwata et al. (2023) mathematically reformulated the RCMC method as a numerical algorithm to solve master equations whose coefficient matrices, known as rate constant matrices, possess the detailed balance property. This paper aims to accelerate the RCMC method. The bottleneck in the RCMC method lies in the greedy selection of steady states, which is actually equivalent to the greedy algorithm for the MAP inference in DPPs under cardinality constraints. Hemmi et al. (2022) introduced a fast implementation of the greedy DPP MAP inference, called LazyFastGreedy, by combining the greedy algorithm of Chen et al. (2018) with the lazy greedy algorithm by Minoux (1978), a practically efficient greedy algorithm that exploits the submodularity of the objective function. However, for instances arising from chemical kinetics, the straightforward application of LazyFastGreedy suffers from catastrophic cancellations due to the wide range of reaction time scales. To address this numerical instability, we propose a modification to LazyFastGreedy that avoids the subtraction of like-sign numbers by leveraging the properties of rate constant matrices and the connection of the DPP MAP inference to Cholesky decomposition. For faster implementation, we utilize a segment tree, a data structure that manages one-dimensional arrays of elements in a semigroup. We also analyze the increase in relative errors caused by like-sign subtractions and permit such subtractions when they do not lead to catastrophic cancellations, aiming to further accelerate the process. Using real instances, we confirm that the proposed algorithm is both numerically stable and significantly faster than the original RCMC method.

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

↑