Fast FixMatch: Faster Semi-Supervised Learning with Curriculum Batch Size

09/07/2023
by   John Chen, et al.
0

Advances in Semi-Supervised Learning (SSL) have almost entirely closed the gap between SSL and Supervised Learning at a fraction of the number of labels. However, recent performance improvements have often come at the cost of significantly increased training computation. To address this, we propose Curriculum Batch Size (CBS), an unlabeled batch size curriculum which exploits the natural training dynamics of deep neural networks. A small unlabeled batch size is used in the beginning of training and is gradually increased to the end of training. A fixed curriculum is used regardless of dataset, model or number of epochs, and reduced training computations is demonstrated on all settings. We apply CBS, strong labeled augmentation, Curriculum Pseudo Labeling (CPL) <cit.> to FixMatch <cit.> and term the new SSL algorithm Fast FixMatch. We perform an ablation study to show that strong labeled augmentation and/or CPL do not significantly reduce training computations, but, in synergy with CBS, they achieve optimal performance. Fast FixMatch also achieves substantially higher data utilization compared to previous state-of-the-art. Fast FixMatch achieves between 2.1× - 3.4× reduced training computations on CIFAR-10 with all but 40, 250 and 4000 labels removed, compared to vanilla FixMatch, while attaining the same cited state-of-the-art error rate <cit.>. Similar results are achieved for CIFAR-100, SVHN and STL-10. Finally, Fast MixMatch achieves between 2.6× - 3.3× reduced training computations in federated SSL tasks and online/streaming learning SSL tasks, which further demonstrate the generializbility of Fast MixMatch to different scenarios and tasks.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset