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

空间包围:一种新的师生框架模型平滑机制

Spatial Ensemble: a Novel Model Smoothing Mechanism for Student-Teacher Framework

Megvii Technology(旷视科技)

Tengteng Huang, Yifan Sun, Xun Wang, Haotian Yao, Chi Zhang

摘要:

模型平滑对于在学生-教师框架中获得可靠的教师模型至关重要,其中教师生成代理监督信号以训练学生。一种流行的模型平滑方法是时间移动平均(TMA),它连续平均教师参数与最新的学生参数。在本文中,我们提出了“空间包围”,一种新的模型平滑机制与TMA并行。空间包围随机选取学生模型的一个小片段,直接替换教师模型的相应片段。因此,它将历史学生模型的不同片段缝合成一个整体,产生了“空间包围”的效果。空间包围获得可比的师生学习性能本身,并表现出宝贵的互补性与时间移动平均。他们的整合,命名为时空平滑,带来了一般(有时显着)的改善,以各种国家的最先进的方法,学生-教师的学习框架。例如,基于自监督方法BYOL,它在ImageNet上产生了+0.9%的top-1准确率提高,而基于半监督方法FixMatch,当只有很少的训练标签可用时,它在CIFAR-10上将top-1准确率提高了约+6%。代码和模型可在https://github.com/tengteng95/Spatial_Ensemble上获得。

英文摘要:

Model smoothing is of central importance for obtaining a reliable teacher model in the student-teacher framework, where the teacher generates surrogate supervision signals to train the student. A popular model smoothing method is the Temporal Moving Average (TMA), which continuously averages the teacher parameters with the up-to-date student parameters. In this paper, we propose "Spatial Ensemble", a novel model smoothing mechanism in parallel with TMA. Spatial Ensemble randomly picks up a small fragment of the student model to directly replace the corresponding fragment of the teacher model. Consequentially, it stitches different fragments of historical student models into a unity, yielding the "Spatial Ensemble" effect. Spatial Ensemble obtains comparable student-teacher learning performance by itself and demonstrates valuable complementarity with temporal moving average. Their integration, named Spatial-Temporal Smoothing, brings general (sometimes significant) improvement to the student-teacher learning framework on a variety of state-of-the-art methods. For example, based on the self-supervised method BYOL, it yields +0.9% top-1 accuracy improvement on ImageNet, while based on the semi-supervised approach FixMatch, it increases the top-1 accuracy by around +6% on CIFAR-10 when only few training labels are available. Codes and models are available at: https://github.com/tengteng95/Spatial_Ensemble.

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

↑