泛化问题:通过参数混合实现最小损失平坦化以实现有效的在线知识蒸馏
Generalization Matters: Loss Minima Flattening via Parameter Hybridization for Efficient Online Knowledge Distillation
摘要:
现有的在线知识蒸馏(OKD)技术通常需要复杂的模块来产生多样化的知识,以提高学生的概括能力。在本文中,我们努力充分利用多模型设置,而不是精心设计的模块,以实现具有良好的泛化性能的蒸馏效果。通常,模型泛化可以反映在损失景观的平坦性中。由于多个模型的平均参数可以找到更平坦的最小值,因此我们受到启发,将该过程扩展到OKD中多学生模型的采样凸组合。具体来说,通过线性加权学生的参数在每个训练批次,我们构建了一个混合权重模型(HWM)来表示周围的参数涉及的学生。HWM的监督损失可以估计学生周围整个区域的景观曲率,以明确衡量泛化。因此,我们整合HWM的损失到学生的培训,并提出了一种新的OKD框架通过参数杂交(OKDPH),以促进平坦的最小值,并获得强大的解决方案。考虑到参数的冗余可能导致HWM的崩溃,我们进一步引入了融合操作,以保持学生的高相似性。与最先进的(SOTA)OKD方法和SOTA方法相比,我们的OKDPH以更少的参数实现了更高的性能,使OKD具有轻量级和鲁棒的特性。我们的代码可在https://github.com/tianlizhang/OKDPH上公开获取。
英文摘要:
Most existing online knowledge distillation(OKD) techniques typically require sophisticated modules to produce diverse knowledge for improving students' generalization ability. In this paper, we strive to fully utilize multi-model settings instead of well-designed modules to achieve a distillation effect with excellent generalization performance. Generally, model generalization can be reflected in the flatness of the loss landscape. Since averaging parameters of multiple models can find flatter minima, we are inspired to extend the process to the sampled convex combinations of multi-student models in OKD. Specifically, by linearly weighting students' parameters in each training batch, we construct a Hybrid-Weight Model(HWM) to represent the parameters surrounding involved students. The supervision loss of HWM can estimate the landscape's curvature of the whole region around students to measure the generalization explicitly. Hence we integrate HWM's loss into students' training and propose a novel OKD framework via parameter hybridization(OKDPH) to promote flatter minima and obtain robust solutions. Considering the redundancy of parameters could lead to the collapse of HWM, we further introduce a fusion operation to keep the high similarity of students. Compared to the state-of-the-art(SOTA) OKD methods and SOTA methods of seeking flat minima, our OKDPH achieves higher performance with fewer parameters, benefiting OKD with lightweight and robust characteristics. Our code is publicly available at https://github.com/tianlizhang/OKDPH.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。