arXiv cs.AI· Wenqing Peng, Michael Boy, Zhi-Song Liu·· 13 小时前AI 评分29
KPPax:为大气化学机器学习打造的可微分动力学 ODE 预处理器
KPPax: preprocess differentiable kinetic ODE for machine learning in atmospheric chemistry
AI 导读
KPPax 是一个动力学预处理器,可将 KPP 语言描述的大气化学机理转换为 JAX 中可微分、即时编译且可向量化的化学代码。它用 log 空间的稀疏运算计算速率定律,并借助 diffrax 的隐式求解器与正向/反向伴随获得精确敏感度,无需手写伴随代码。
正文 · 原文
Abstract:Atmospheric chemical mechanisms are commonly distributed in the language of the Kinetic PreProcessor (KPP), which generates efficient Fortran or C code but does not fit into the differentiable programming frameworks in which machine-learning models are developed. We present KPPax, a kinetic preprocessor that generates differentiable, just-in-time compiled, and vectorisable chemistry code in JAX from mechanisms written in the KPP language. KPPax evaluates the rate law with sparse operations in log space, which keeps it differentiable, and integrates the stiff system with the implicit solvers and the forward- and reverse-mode adjoints of the \texttt{diffrax} library, so that exact sensitivities are obtained without hand-derived adjoint code. We demonstrate two applications with the POLLU benchmark mechanism. In the first, the Fisher information matrix computed from an automatically differentiated Jacobian predicts, before any fit, which of the 25 rate coefficients a flow-tube-like design can identify, and noisy synthetic estimation confirms the predicted uncertainties of the nine identifiable rate coefficients to within about 30\% while revealing clusters of fast reactions of which only ratios are constrained. In the second, a neural-network correction of an emission inventory is trained offline on per-scenario 4D-Var retrievals and then fine-tuned online through the chemical model, which reduces the error of the biogenic correction by a factor of 2.4--5 and recovers information on low-temperature emissions that the individual retrievals lose. KPPax makes KPP mechanisms directly usable for parameter estimation and hybrid physics--machine-learning modelling.
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.37655 [cs.AI] |
| (or arXiv:2610.37655v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.37655 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Wenqing Peng [view email]
[v1]
Tue, 27 Oct 2026 17:58:40 UTC (1,154 KB)
来源:arXiv cs.AI · arxiv.org