提出一种方法,通过梯度匹配来实测深度学习中的隐式正则化效果。
Estimating Implicit Regularization in Deep Learning

- 用梯度匹配法测量权重更新与损失梯度的偏差,识别隐式正则化。
- 在已知正则化网络中准确复现ℓ₁、ℓ₂等显式惩罚效果。
- 适用于复杂模型如含丢弃法的深层网络,帮助理解不可解析的正则机制。
深度学习系统表现出隐式正则化(即隐式偏差),倾向于选择简单解而非仅最小化损失函数。某些情况下可解析推导出隐式正则化,将其关联至一个等价的惩罚项。然而现代深度学习系统结构复杂,包含早停、小批量训练、丢弃法等修改,其影响难以直接解释。尽管估计这些隐式正则化对理论设计和超参数理解有帮助,但该问题未受足够关注。实际上,正则化会使权重更新偏离损失梯度,提供了检测隐式偏差的信号。本文提出基于梯度匹配的方法,可经验性估计隐式正则化。该方法在具有已知正则化的网络上能准确恢复ℓ₁、ℓ₂等显式惩罚,并重现早停引起的二次权重惩罚等已知隐式效应,验证了其理论检验能力。关键优势在于方法为经验性,适用于任意网络。我们以丢弃法为例,证明其在深层网络中产生隐式ℓ₂效应。结果表明,从业者可用此方法分析难以解析的隐式正则化机制。
原文摘要 · Abstract (English)
Deep learning systems are known to exhibit implicit regularization (alt. implicit bias), favoring simple solutions instead of merely minimizing the loss function. In some cases, we can analytically derive the implicit regularization -- connecting it to an equivalent penalty that augments the learning objective. However, modern deep learning systems are complex, carrying modifications to the training procedure and architecture (e.g. early stopping, minibatching, dropout) whose effects are not always directly interpretable. Although estimating the resulting implicit regularization could aid theorists in algorithm design and practitioners in interpreting their hyperparameter choices, this problem has received little direct attention. It is also tractable: regularization makes weight updates deviate from loss gradients, promising a signal for identifying implicit bias. Here we provide gradient matching methods that can be used to empirically estimate the implicit regularization. Our method works on networks with known regularization, recovering popular explicit penalties like $\ell_1$ and $\ell_2$. It also replicates known implicit effects, like the quadratic weight penalty induced by early stopping in gradient descent, demonstrating that it can be used to test theories of implicit regularization. Crucially, because our method is empirical, it can handle implicit regularization in arbitrary networks. We demonstrate this use by characterizing the effects of dropout in deep networks, showing implicit $\ell_2$ effects in this popular method. Our work shows that practitioners can use gradient matching to understand regularization in networks with implicit biases that are too complicated to derive analytically.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。