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

软合并:一种灵活且鲁棒的软模型合并方法以提升神经网络性能

Soft Merging: A Flexible and Robust Soft Model Merging Approach for Enhanced Neural Network Performance

University of Miami(迈阿密大学);University of Maryland, Baltimore County(马里兰大学巴尔的摩县分校)

Hao Chen, Yusen Wu, Phuong Nguyen, Chao Liu, Yelena Yesha

AI总结:

本文提出软合并方法,通过学习门参数快速合并多个局部最优模型,无需修改原有权重,在提升性能的同时增强鲁棒性并降低计算成本。

摘要:

随机梯度下降(SGD)是深度学习中广泛使用的优化算法,但由于问题的非凸性质,通常只能收敛到局部最优。利用这些局部最优来提升模型性能仍然是一项具有挑战性的任务。鉴于神经网络固有的复杂性,对已获得的局部最优模型进行简单的算术平均会产生不理想的结果。本文提出了一种“软合并”方法,该方法有助于快速合并多个模型,简化神经网络特定部分的合并,并增强对具有极端值的恶意模型的鲁棒性。该方法通过使用硬混凝土分布作为 $l_0$ 范数的替代来学习门参数,而无需修改给定局部最优模型的模型权重。这一合并过程不仅通过收敛到更好的局部最优来提升模型性能,还最大限度地降低了计算成本,提供了一种与随机梯度下降相结合的高效且明确的学习过程。充分的实验强调了合并后神经网络的效率和优越性能。

英文摘要:

Stochastic Gradient Descent (SGD), a widely used optimization algorithm in deep learning, is often limited to converging to local optima due to the non-convex nature of the problem. Leveraging these local optima to improve model performance remains a challenging task. Given the inherent complexity of neural networks, the simple arithmetic averaging of the obtained local optima models in undesirable results. This paper proposes a {\em soft merging} method that facilitates rapid merging of multiple models, simplifies the merging of specific parts of neural networks, and enhances robustness against malicious models with extreme values. This is achieved by learning gate parameters through a surrogate of the $l_0$ norm using hard concrete distribution without modifying the model weights of the given local optima models. This merging process not only enhances the model performance by converging to a better local optimum, but also minimizes computational costs, offering an efficient and explicit learning process integrated with stochastic gradient descent. Thorough experiments underscore the effectiveness and superior performance of the merged neural networks.

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

↑