arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.02153cs.LGcs.NAmath.NA
收藏

基于等分布原理的自由结点样条与ReLU神经网络训练

Equidistribution-based training of Free Knot Splines and ReLU Neural Networks

Simone Appella, Simon Arridge, Chris Budd, Teo Deveney, Lisa Maria Kreusser

AI总结:

本文针对单变量函数逼近,提出基于等分布原理的两阶段训练方法,结合自由结点样条与预处理,实现浅层及深层ReLU神经网络的高效、良态训练,并验证其在正则、奇异及快速变化函数上的有效性。

摘要:

我们考虑使用具有整流线性单元(ReLU)激活函数的浅层神经网络(NN)进行单变量非线性函数逼近的问题。我们证明,基于L2范数的逼近问题是病态的,并且随着网络宽度的增加,用于训练这些网络的优化算法的性能会迅速下降。这可能导致在实际应用中,逼近效果显著差于ReLU架构的理论表达能力和传统方法(如单变量自由结点样条(FKS))所预期的效果。单变量浅层ReLU神经网络和FKS张成相同的函数空间,因此具有相同的理论表达能力。然而,随着结点数量的增加,FKS表示仍然保持良态。我们利用最优分段线性插值理论来改进ReLU神经网络的训练过程。基于等分布原理,我们提出了一种两阶段的FKS训练方法:首先解决寻找插值FKS最优结点位置的非线性问题,然后通过求解一个近似线性、良态的问题来确定FKS的最优权重和结点。FKS的训练为我们如何有效训练ReLU神经网络提供了洞见,并达到同样精确的逼近效果。我们将ReLU神经网络的训练与基于等分布的损失相结合,以找到ReLU函数的断点。然后,结合对ReLU神经网络逼近的预处理,以确定ReLU函数的缩放。这种快速、良态且可靠的方法能够为单变量目标函数找到精确的浅层ReLU神经网络逼近。我们在一系列正则、奇异和快速变化的目标函数上测试了该方法,并获得了良好的结果,在所有情况下都实现了浅层ReLU网络的表达能力。然后,我们将结果扩展到更深层的网络。

英文摘要:

We consider the problem of univariate nonlinear function approximation using shallow neural networks (NN) with a rectified linear unit (ReLU) activation function. We show that the $L_2$ based approximation problem is ill-conditioned and the behaviour of optimisation algorithms used in training these networks degrades rapidly as the width of the network increases. This can lead to significantly poorer approximation in practice than expected from the theoretical expressivity of the ReLU architecture and traditional methods such as univariate Free Knot Splines (FKS). Univariate shallow ReLU NNs and FKS span the same function space, and thus have the same theoretical expressivity. However, the FKS representation remains well-conditioned as the number of knots increases. We leverage the theory of optimal piecewise linear interpolants to improve the training procedure for ReLU NNs. Using the equidistribution principle, we propose a two-level procedure for training the FKS by first solving the nonlinear problem of finding the optimal knot locations of the interpolating FKS, and then determine the optimal weights and knots of the FKS by solving a nearly linear, well-conditioned problem. The training of the FKS gives insights into how we can train a ReLU NN effectively, with an equally accurate approximation. We combine the training of the ReLU NN with an equidistribution-based loss to find the breakpoints of the ReLU functions. This is then combined with preconditioning the ReLU NN approximation to find the scalings of the ReLU functions. This fast, well-conditioned and reliable method finds an accurate shallow ReLU NN approximation to a univariate target function. We test this method on a series of regular, singular, and rapidly varying target functions and obtain good results, realising the expressivity of the shallow ReLU network in all cases. We then extend our results to deeper networks.

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

↑