arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2312.07841cs.LG
收藏

关于Unhinged Loss(无铰链损失)下的动力学及拓展研究

On the Dynamics Under the Unhinged Loss and Beyond

Harbin Institute of Technology(哈尔滨工业大学);Tsinghua University(清华大学)

Xiong Zhou, Xianming Liu, Hanzhang Wang, Deming Zhai, Junjun Jiang, Xiangyang Ji

AI总结:

该研究提出unhinged loss简洁损失函数,基于层剥离模型在多约束场景下分析其闭式动力学,关联交叉熵损失的性能,证明其指数收敛特性并给出训练优化洞见,通过实验验证了理论结果。

摘要:

近期已有研究探讨深度学习中的隐式偏差,尤其是最后一层特征与分类器权重的行为,但由于损失函数和模型架构的难处理性,这类研究通常需要简化梯度流或梯度下降下的中间动力学过程。本文提出了unhinged loss(无铰链损失)这一简洁的损失函数,它在尽可能少的简化或假设前提下,为解析闭式动力学提供了更多数学分析空间,还可纳入更具实用性的技术,例如时变学习率和特征归一化。基于将最后一层特征视为自由优化变量的layer-peeled model(层剥离模型),我们在无约束、正则化、球面约束以及神经正切核保持不变的场景下开展了全面分析。为搭建unhinged loss与Cross-Entropy (CE,交叉熵)的性能关联,我们研究了分类器权重固定为特定结构(例如单纯形等角紧框架)的场景。分析表明,这些动力学会以指数速度收敛到依赖于特征和分类器权重初始化的解。这些理论结果不仅提供了包括显式特征正则化、缩放学习率以提升unhinged loss实际训练效果在内的宝贵洞见,还将其适用性拓展到了其他损失函数。最后,我们通过大量实验从实证层面验证了这些理论结果与洞见。

英文摘要:

Recent works have studied implicit biases in deep learning, especially the behavior of last-layer features and classifier weights. However, they usually need to simplify the intermediate dynamics under gradient flow or gradient descent due to the intractability of loss functions and model architectures. In this paper, we introduce the unhinged loss, a concise loss function, that offers more mathematical opportunities to analyze the closed-form dynamics while requiring as few simplifications or assumptions as possible. The unhinged loss allows for considering more practical techniques, such as time-vary learning rates and feature normalization. Based on the layer-peeled model that views last-layer features as free optimization variables, we conduct a thorough analysis in the unconstrained, regularized, and spherical constrained cases, as well as the case where the neural tangent kernel remains invariant. To bridge the performance of the unhinged loss to that of Cross-Entropy (CE), we investigate the scenario of fixing classifier weights with a specific structure, (e.g., a simplex equiangular tight frame). Our analysis shows that these dynamics converge exponentially fast to a solution depending on the initialization of features and classifier weights. These theoretical results not only offer valuable insights, including explicit feature regularization and rescaled learning rates for enhancing practical training with the unhinged loss, but also extend their applicability to other loss functions. Finally, we empirically demonstrate these theoretical results and insights through extensive experiments.

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

↑