[Paper Review] Exponential Moving Average Normalization for Self-supervised and Semi-supervised Learning
This paper proposes Exponential Moving Average Normalization (EMAN), a plug-in replacement for batch normalization in student-teacher self-supervised and semi-supervised learning frameworks. EMAN replaces batch statistics in the teacher network with exponentially averaged statistics from the student’s batch norms, reducing cross-sample dependency and improving generalization. It boosts MoCo and BYOL by 4–6/1–2 points and FixMatch by 7/2 points on ImageNet with 1%/10% labels, achieving new state-of-the-art results.
We present a plug-in replacement for batch normalization (BN) called exponential moving average normalization (EMAN), which improves the performance of existing student-teacher based self- and semi-supervised learning techniques. Unlike the standard BN, where the statistics are computed within each batch, EMAN, used in the teacher, updates its statistics by exponential moving average from the BN statistics of the student. This design reduces the intrinsic cross-sample dependency of BN and enhances the generalization of the teacher. EMAN improves strong baselines for self-supervised learning by 4-6/1-2 points and semi-supervised learning by about 7/2 points, when 1%/10% supervised labels are available on ImageNet. These improvements are consistent across methods, network architectures, training duration, and datasets, demonstrating the general effectiveness of this technique. The code is available at https://github.com/amazon-research/exponential-moving-average-normalization.
Motivation & Objective
- To address cross-sample dependency in batch normalization (BN) within student-teacher frameworks, which can enable 'cheating' in self- and semi-supervised learning.
- To resolve model parameter mismatch between the teacher's parameters and its BN statistics, which arise due to asynchronous updates.
- To develop a simple, efficient, and generalizable normalization technique that enhances generalization without requiring complex synchronization or communication.
- To improve performance across diverse self-supervised and semi-supervised learning methods, architectures, and datasets.
- To achieve state-of-the-art accuracy on ImageNet with minimal labeled data using a lightweight, plug-in replacement for BN.
Proposed method
- EMAN replaces the batch statistics in the teacher network with exponentially averaged statistics computed from the student's batch normalization statistics over time.
- The teacher's normalization statistics (mean and variance) are updated via exponential moving average (EMA) with the same momentum used for model parameter averaging.
- This design decouples the teacher's normalization from the current batch, eliminating cross-sample dependency inherent in standard BN.
- The method is implemented as a simple linear transformation without additional computation, making it efficient and compatible with existing frameworks.
- EMAN is applied only in the teacher network, preserving the student’s standard BN, and requires minimal code changes.
- The approach is compatible with various self-supervised and semi-supervised learning methods, including MoCo, BYOL, and FixMatch.
Experimental results
Research questions
- RQ1Can replacing batch normalization in the teacher network with exponentially averaged statistics improve generalization in self-supervised and semi-supervised learning?
- RQ2Does removing cross-sample dependency in the teacher’s normalization lead to better representation learning and higher accuracy?
- RQ3Can EMAN improve performance across diverse architectures, training durations, and datasets without architectural or hyperparameter changes?
- RQ4How does EMAN compare to complex normalization schemes like SyncBN or ShuffleBN in terms of accuracy and efficiency?
- RQ5Does EMAN enhance the robustness of EMA-teacher frameworks by aligning normalization statistics with model parameters?
Key findings
- EMAN improves MoCo and BYOL by 4–6 points and 1–2 points, respectively, when 1% and 10% ImageNet labels are available, demonstrating strong gains in self-supervised learning.
- EMAN boosts FixMatch by approximately 7 points and 2 points on ImageNet with 1% and 10% labels, achieving new state-of-the-art accuracies of 63.0% and 74.0% top-1 accuracy.
- The performance gains are consistent across different network architectures, training durations, and datasets, indicating broad applicability.
- EMAN does not require cross-GPU communication or synchronization, making it as efficient as standard batch normalization.
- The training dynamics show higher loss and lower instance discrimination accuracy with EMAN, suggesting it prevents model 'cheating' and improves representation quality.
- The best performance is typically achieved around 90% of training epochs, indicating a need for careful checkpoint selection when using EMAN.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.