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

通过约束参数正则化改进深度学习优化

Improving Deep Learning Optimization through Constrained Parameter Regularization

University of Freiburg(弗赖堡大学);RevoAI(RevoAI公司);German Cancer Research Center (DKFZ)(德国癌症研究中心);ELLIS Institute Tübingen(图宾根ELLIS研究所)

Jörg K. H. Franke, Michael Hefenbrock, Gregor Koehler, Frank Hutter

AI总结:

针对传统权重衰减对参数统一惩罚的不足,提出约束参数正则化(CPR),以参数矩阵统计度量上限构建约束优化问题,用改进增广拉格朗日法求解,在视觉和语言任务上优于权重衰减,提升预训练与微调性能。

摘要:

正则化是深度学习中的关键组成部分。最常用的权重衰减方法对所有参数统一施加恒定的惩罚系数,这可能对部分参数限制过强,而对另一部分参数限制不足。为解决该问题,我们提出约束参数正则化(Constrained Parameter Regularization,CPR)作为传统权重衰减的替代方案。与单一惩罚的均匀应用不同,CPR对单个参数矩阵的统计度量(如L2范数)施加上限,从而将学习转化为约束优化问题,我们采用改进的增广拉格朗日方法求解该问题。CPR仅带来极小的运行时开销,且只需设置一个上限。我们提出了简单高效的上限初始化机制,使CPR无需超参数或仅需一个超参数,与权重衰减类似。我们在计算机视觉和语言建模任务上的实证研究证明了CPR的有效性,结果表明CPR性能优于传统权重衰减,能提升预训练和微调阶段的表现。

英文摘要:

Regularization is a critical component in deep learning. The most commonly used approach, weight decay, applies a constant penalty coefficient uniformly across all parameters. This may be overly restrictive for some parameters, while insufficient for others. To address this, we present Constrained Parameter Regularization (CPR) as an alternative to traditional weight decay. Unlike the uniform application of a single penalty, CPR enforces an upper bound on a statistical measure, such as the L2-norm, of individual parameter matrices. Consequently, learning becomes a constraint optimization problem, which we tackle using an adaptation of the augmented Lagrangian method. CPR introduces only a minor runtime overhead and only requires setting an upper bound. We propose simple yet efficient mechanisms for initializing this bound, making CPR rely on no hyperparameter or one, akin to weight decay. Our empirical studies on computer vision and language modeling tasks demonstrate CPR's effectiveness. The results show that CPR can outperform traditional weight decay and increase performance in pre-training and fine-tuning.

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

↑