arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.12646cs.LGcs.AI
收藏

基于坐标搜索算法训练人工神经网络

Training Artificial Neural Networks by Coordinate Search Algorithm

Ontario Tech University(安大略理工大学);Brock University(布鲁克大学);Wilfrid Laurier University(威尔弗里德劳里埃大学);Mayo Clinic(梅奥诊所)

Ehsan Rokhsatyazdi, Shahryar Rahnamayan, Sevil Zanjani Miyandoab, Azam Asilian Bidgoli, H. R. Tizhoosh

AI总结:

本文提出一种基于坐标搜索的无梯度优化算法,通过权重捆绑加速收敛,用于训练人工神经网络,在标签数据不足等场景下可优于梯度方法。

摘要:

训练人工神经网络是机器学习中一个具有挑战性且至关重要的问题。尽管基于梯度的学习方法(如随机梯度下降(SGD))在训练神经网络方面十分有效,但它们确实存在若干局限性。例如,它们要求激活函数可微,并且无法同时基于多个独立的不可微损失函数来优化模型;举例来说,测试阶段使用的F1分数,在采用无梯度优化算法时,就可以在训练阶段使用。此外,任何深度神经网络(DNN)的训练都可以在训练数据集规模较小的情况下实现。为了解决这些问题,我们提出了一种高效的无梯度坐标搜索(CS)算法,该算法是通用模式搜索方法的一个实例,用于训练神经网络。所提出的算法可以与不可微的激活函数一起使用,并且适用于多目标/多损失问题。寻找人工神经网络权重的优化值是一个大规模优化问题。因此,与经典坐标搜索中逐个变量寻找最优值的常用技术不同,我们通过对权重进行捆绑来加速优化和收敛。实际上,这种策略是优化问题的一种降维形式。基于实验结果,所提出的方法在某些情况下优于基于梯度的方法,尤其是在带标签训练数据不足的情况下。性能图展示了较高的收敛速度,突显了我们所建议的方法能够以更少的函数调用次数找到合理解决方案的能力。目前,训练具有数十万权重的人工神经网络唯一实用且高效的方式是基于梯度的算法,如SGD或Adam。在本文中,我们介绍了一种训练人工神经网络的替代方法。

英文摘要:

Training Artificial Neural Networks poses a challenging and critical problem in machine learning. Despite the effectiveness of gradient-based learning methods, such as Stochastic Gradient Descent (SGD), in training neural networks, they do have several limitations. For instance, they require differentiable activation functions, and cannot optimize a model based on several independent non-differentiable loss functions simultaneously; for example, the F1-score, which is used during testing, can be used during training when a gradient-free optimization algorithm is utilized. Furthermore, the training in any DNN can be possible with a small size of the training dataset. To address these concerns, we propose an efficient version of the gradient-free Coordinate Search (CS) algorithm, an instance of General Pattern Search methods, for training neural networks. The proposed algorithm can be used with non-differentiable activation functions and tailored to multi-objective/multi-loss problems. Finding the optimal values for weights of ANNs is a large-scale optimization problem. Therefore instead of finding the optimal value for each variable, which is the common technique in classical CS, we accelerate optimization and convergence by bundling the weights. In fact, this strategy is a form of dimension reduction for optimization problems. Based on the experimental results, the proposed method, in some cases, outperforms the gradient-based approach, particularly, in situations with insufficient labeled training data. The performance plots demonstrate a high convergence rate, highlighting the capability of our suggested method to find a reasonable solution with fewer function calls. As of now, the only practical and efficient way of training ANNs with hundreds of thousands of weights is gradient-based algorithms such as SGD or Adam. In this paper we introduce an alternative method for training ANN.

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

↑