arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.07833q-bio.QMcs.LG
收藏

优化微分方程以拟合数据并预测结果

Optimizing differential equations to fit data and predict outcomes

Steven A. Frank

AI总结:

本文利用生态数据,通过比较常微分方程与神经微分方程拟合,结合pSGLD采样分析后验分布,克服拟合挑战并评估预测质量,揭示优化表面特性。

摘要:

许多科学问题关注观察到的变化模式,或如何设计一个系统以实现特定的动态。这些问题通常需要将微分方程模型拟合到目标轨迹上。拟合此类模型可能很困难,因为每次评估拟合都需要计算模型与目标模式在轨迹上众多点之间的距离。拟合相对于模型参数的梯度可能具有挑战性。最近在通过数值微分方程求解器进行自动微分方面的技术进步,可能将拟合过程转变为相对容易的问题,为研究动态开辟了新的可能性。然而,将新工具应用于真实数据可能无法实现良好的拟合。本文以经典的雪兔和猞猁种群振荡生态数据为例,说明如何克服各种常见挑战。模型包括简单常微分方程(ODEs)和神经常微分方程(NODEs),后者使用人工神经网络来估计微分方程系统的导数。通过比较使用ODEs与NODEs获得的拟合(分别代表小参数空间和大参数空间)以及改变变量维度的数量,可以深入了解观测轨迹和模型轨迹的几何形状。为了分析模型预测未来观测的质量,一种受贝叶斯启发的预条件随机梯度朗之万动力学(pSGLD)计算预测模型轨迹的后验分布,阐明了各种模型欠拟合或过拟合数据的趋势。将拟合的微分方程系统与pSGLD采样相结合,为研究优化表面的性质提供了一种强有力的方法,这与适应度景观上的突变-选择动态形成类比。

英文摘要:

Many scientific problems focus on observed patterns of change or on how to design a system to achieve particular dynamics. Those problems often require fitting differential equation models to target trajectories. Fitting such models can be difficult because each evaluation of the fit must calculate the distance between the model and target patterns at numerous points along a trajectory. The gradient of the fit with respect to the model parameters can be challenging. Recent technical advances in automatic differentiation through numerical differential equation solvers potentially change the fitting process into a relatively easy problem, opening up new possibilities to study dynamics. However, application of the new tools to real data may fail to achieve a good fit. This article illustrates how to overcome a variety of common challenges, using the classic ecological data for oscillations in hare and lynx populations. Models include simple ordinary differential equations (ODEs) and neural ordinary differential equations (NODEs), which use artificial neural networks to estimate the derivatives of differential equation systems. Comparing the fits obtained with ODEs versus NODEs, representing small and large parameter spaces, and changing the number of variable dimensions provide insight into the geometry of the observed and model trajectories. To analyze the quality of the models for predicting future observations, a Bayesian-inspired preconditioned stochastic gradient Langevin dynamics (pSGLD) calculation of the posterior distribution of predicted model trajectories clarifies the tendency for various models to underfit or overfit the data. Coupling fitted differential equation systems with pSGLD sampling provides a powerful way to study the properties of optimization surfaces, raising an analogy with mutation-selection dynamics on fitness landscapes.

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

↑