神经ODE中精确固定点约束的通用性证明
Exact Fixed-Point Constraints in Neural-ODEs: Injecting Prior Knowledge into the Network Parameters
AI总结:
本文提出一种方法,使神经ODE能通过预先植入的固定点近似任意速度场。通过显式容纳参考多维空间中的有限点,使梯度训练在假设类内严格约束,同时保持神经ODE的表达能力。证明了在任意局部约束下神经ODE的通用性,并提供了一种计算方便的固定点施加方式。
摘要:
我们介绍了一种技术,使神经ODE能够通过预先植入的固定点近似任意速度场。具体而言,提供了一种配方,以显式容纳参考多维空间中有限数量的点,其中速度场恰好等于零。这样,基于梯度的训练被严格限制在预设的假设类内,同时保持神经ODE的表达能力。我们严格证明了在速度场的任意局部约束下,神经ODE的通用性,并提供了一种计算上方便的施加固定点的方法。我们的方法随后在两个典型物理模型上进行了测试。
英文摘要:
Neural ordinary differential equations (Neural-ODEs) learn a velocity field from data. Often, however, additional information on the target field is available, such as the location of some of its equilibria or, more generally, its values at given points. We introduce a method to inject this information directly into the parameters of a Neural-ODE, so that a finite set of prescribed fixed points holds exactly throughout training, with no penalty terms and no post-hoc projection. The output matrix is parametrized through the Moore-Penrose pseudoinverse, implemented by a thin QR factorization of the hidden features at the prescribed points. This splits the output matrix into a component determined by the constraints and a free one, which shapes the field away from the prescribed points without altering its values there. As a result, the constrained Neural-ODE remains a universal approximator of the continuous vector fields compatible with the constraints. We test the method on a two-dimensional Lotka-Volterra competition model with four equilibria. In vector field regression, the constrained model keeps the fixed-point residual at single-precision round-off, and its test error is up to about five times lower than that of an unconstrained network of the same architecture. A soft penalty on the equilibria lowers the residual only at the cost of accuracy, and still leaves it at least an order of magnitude above that of the constrained model. Trained to convergence on datasets of increasing size, the unconstrained and penalized networks saturate already on small datasets, while the constrained model keeps improving over a wider range. Close to the equilibria and over long time horizons, the constrained model is the most accurate at every dataset size considered. This also holds when the models are trained on observed trajectories, by backpropagation through the ODE solver.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。