arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.07194cs.NEcs.AIcs.LG
收藏

深度学习中的大规模降维与元启发式算法混合方法

Massive Dimensions Reduction and Hybridization with Meta-heuristics in Deep Learning

Brock University(布罗克大学)

Rasa Khosrowshahli, Shahryar Rahnamayan, Beatrice Ombuki-Berman

AI总结:

针对深度学习高维参数优化易陷入局部最优、收敛慢的问题,提出融合梯度与无梯度算法的HBDE方法,通过分块降维将ResNet-18参数从11M降至3K,在CIFAR数据集上性能优于基线算法且计算需求更低。

摘要:

深度学习主要依托基于梯度的优化方法训练深度神经网络(Deep Neural Network,DNN)模型。基于梯度的优化算法虽鲁棒性强且应用广泛,但易陷入局部极小值。在当下的深度学习时代,前沿DNN模型拥有数百万乃至数十亿个参数(包括权重和偏置),其搜索空间构成了超大规模优化问题。调优海量参数是一项极具挑战性的任务,会引发梯度消失/爆炸与过拟合问题;此外,所采用的损失函数也无法精准表征我们的目标性能指标。元启发式算法是探索庞大且复杂解空间的一种实用解决方案。但由于DNN的参数多达数千乃至数百万,即便如差分进化(Differential Evolution)这类鲁棒的元启发式算法,也难以在如此高维的搜索空间中高效探索与收敛,会导致收敛速度极慢、内存需求过高的问题。为解决上述维度灾难问题,近年有研究提出分块概念,通过将搜索空间维度分组为块来实现降维。本研究旨在提出基于直方图的分块差分进化(Histogram-based Blocking Differential Evolution,HBDE),这是一种融合基于梯度与无梯度算法来优化参数的新方法。实验结果表明,在训练/优化阶段,HBDE可通过元启发式算法将ResNet-18模型的参数从1100万减少至3000;在CIFAR-10和CIFAR-100数据集上的评估显示,所提出的HBDE性能优于基线基于梯度算法与父代无梯度DE算法,首次证明了其在降低计算需求方面的有效性。

英文摘要:

Deep learning is mainly based on utilizing gradient-based optimization for training Deep Neural Network (DNN) models. Although robust and widely used, gradient-based optimization algorithms are prone to getting stuck in local minima. In this modern deep learning era, the state-of-the-art DNN models have millions and billions of parameters, including weights and biases, making them huge-scale optimization problems in terms of search space. Tuning a huge number of parameters is a challenging task that causes vanishing/exploding gradients and overfitting; likewise, utilized loss functions do not exactly represent our targeted performance metrics. A practical solution to exploring large and complex solution space is meta-heuristic algorithms. Since DNNs exceed thousands and millions of parameters, even robust meta-heuristic algorithms, such as Differential Evolution, struggle to efficiently explore and converge in such huge-dimensional search spaces, leading to very slow convergence and high memory demand. To tackle the mentioned curse of dimensionality, the concept of blocking was recently proposed as a technique that reduces the search space dimensions by grouping them into blocks. In this study, we aim to introduce Histogram-based Blocking Differential Evolution (HBDE), a novel approach that hybridizes gradient-based and gradient-free algorithms to optimize parameters. Experimental results demonstrated that the HBDE could reduce the parameters in the ResNet-18 model from 11M to 3K during the training/optimizing phase by metaheuristics, namely, the proposed HBDE, which outperforms baseline gradient-based and parent gradient-free DE algorithms evaluated on CIFAR-10 and CIFAR-100 datasets showcasing its effectiveness with reduced computational demands for the very first time.

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

↑