English

Co-training $2^L$ Submodels for Visual Recognition

Computer Vision and Pattern Recognition 2022-12-12 v1

Abstract

We introduce submodel co-training, a regularization method related to co-training, self-distillation and stochastic depth. Given a neural network to be trained, for each sample we implicitly instantiate two altered networks, ``submodels'', with stochastic depth: we activate only a subset of the layers. Each network serves as a soft teacher to the other, by providing a loss that complements the regular loss provided by the one-hot label. Our approach, dubbed cosub, uses a single set of weights, and does not involve a pre-trained external model or temporal averaging. Experimentally, we show that submodel co-training is effective to train backbones for recognition tasks such as image classification and semantic segmentation. Our approach is compatible with multiple architectures, including RegNet, ViT, PiT, XCiT, Swin and ConvNext. Our training strategy improves their results in comparable settings. For instance, a ViT-B pretrained with cosub on ImageNet-21k obtains 87.4% top-1 acc. @448 on ImageNet-val.

Keywords

Cite

@article{arxiv.2212.04884,
  title  = {Co-training $2^L$ Submodels for Visual Recognition},
  author = {Hugo Touvron and Matthieu Cord and Maxime Oquab and Piotr Bojanowski and Jakob Verbeek and Hervé Jégou},
  journal= {arXiv preprint arXiv:2212.04884},
  year   = {2022}
}
R2 v1 2026-06-28T07:27:51.527Z