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

Tengteng Huang, Yifan Sun, Xun Wang, Haotian Yao, Chi Zhang
10/4/2021
cs.CV
contrastive-ssl

Official code: tengteng95/Spatial_Ensemble (18 stars, Python, last commit 2021-12-25).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

180PythonOct 3, 20214 years ago

Similar Papers

Cite this paper

@article{huang2021spatial,
  title  = {Spatial Ensemble: a Novel Model Smoothing Mechanism for Student-Teacher Framework},
  author = {Tengteng Huang and Yifan Sun and Xun Wang and Haotian Yao and Chi Zhang},
  year   = {2021},
  eprint = {2110.01253},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.01253}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.01253.svg)](https://codeofpaper.com/paper/2110.01253)

Discussion