复杂的分形可训练性边界可由平凡的非凸性产生
Complex fractal trainability boundary can arise from trivial non-convexity
AI总结:
该研究聚焦梯度下降,发现简单非凸扰动即可产生分形可训练性边界,明确扰动粗糙度是分形维数的控制因素,为理解神经网络训练复杂行为、优化训练策略提供新视角。
摘要:
训练神经网络涉及优化参数以最小化损失函数,其中损失函数的性质与优化策略对有效训练至关重要。超参数的选择,例如梯度下降(GD)中的学习率,会显著影响收敛的成功率与速度。近期研究表明,有界与发散超参数之间的边界可能是分形的,这使得可靠的超参数选择变得复杂。然而,该分形边界的本质以及规避它的方法仍不明确。\n本研究聚焦于梯度下降(GD),探究可能导致分形可训练性边界的损失景观性质。我们发现分形边界可由简单的非凸扰动产生,即对二次函数添加或乘以余弦型扰动。观测到的分形维数受参数维度、非凸性类型、扰动波长与扰动幅度等因素影响。\n我们的分析确定了“扰动粗糙度”——衡量梯度对参数变化的敏感度——是控制可训练性边界分形维数的因素。我们观测到,随着粗糙度增加,可训练性边界会从非分形明确转变为分形,临界粗糙度会使受扰动的损失函数变为非凸。因此我们得出结论:分形可训练性边界可由极其简单的非凸性产生。我们预期该发现将增进对神经网络训练过程中复杂行为的理解,助力开发更稳定、可预测的训练策略。
英文摘要:
Training neural networks involves optimizing parameters to minimize a loss function, where the nature of the loss function and the optimization strategy are crucial for effective training. Hyperparameter choices, such as the learning rate in gradient descent (GD), significantly affect the success and speed of convergence. Recent studies indicate that the boundary between bounded and divergent hyperparameters can be fractal, complicating reliable hyperparameter selection. However, the nature of this fractal boundary and methods to avoid it remain unclear. In this study, we focus on GD to investigate the loss landscape properties that might lead to fractal trainability boundaries. We discovered that fractal boundaries can emerge from simple non-convex perturbations, i.e., adding or multiplying cosine type perturbations to quadratic functions. The observed fractal dimensions are influenced by factors like parameter dimension, type of non-convexity, perturbation wavelength, and perturbation amplitude. Our analysis identifies "roughness of perturbation", which measures the gradient's sensitivity to parameter changes, as the factor controlling fractal dimensions of trainability boundaries. We observed a clear transition from non-fractal to fractal trainability boundaries as roughness increases, with the critical roughness causing the perturbed loss function non-convex. Thus, we conclude that fractal trainability boundaries can arise from very simple non-convexity. We anticipate that our findings will enhance the understanding of complex behaviors during neural network training, leading to more consistent and predictable training strategies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。