NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Feature Normalization Prevents Collapse of Non-contrastive Learning Dynamics

Han Bao · Submission to ICLR 2024 · Rejected

TL;DR

Non-contrastive self-supervised learning methods like BYOL and SimSiam prevent representation collapse without needing negative sample pairs, but existing theory suggests they should collapse under heavy regularization. By analyzing training dynamics under the cosine loss rather than an $L_2$ loss, this paper shows that feature normalization creates a self-correcting, sixth-order dynamical system where non-collapsed representations dynamically emerge and remain stable regardless of weight decay strength.

What Problem Does This Paper Address?

In self-supervised learning, contrastive methods (such as SimCLR) prevent representations from collapsing into a trivial constant vector by combining an attractive force between augmented views of the same image with a repulsive force against negative examples. Non-contrastive methods (such as BYOL and SimSiam) eliminate negative pairs entirely, relying instead on architectural asymmetry and stop-gradient operations.

Seminal theoretical work by Tian et al. (2021) modeled BYOL/SimSiam dynamics using an $L_2$ mean squared error loss, concluding that representation collapse is avoided only when data augmentation is strictly stronger than weight decay regularization ($\rho < \frac{1}{4(1+\sigma^2)}$). Under that model, heavy regularization inevitably causes total collapse.

However, practical implementations do not use standard $L_2$ loss—they use cosine similarity, which incorporates explicit feature normalization. Empirically, SimSiam remains stable even when weight decay is dialed up by orders of magnitude (e.g., from $\rho = 10^{-4}$ to $10^{-1}$). The authors tackle this fundamental discrepancy: how does feature normalization alter the learning dynamics to prevent collapse under heavy regularization?

Methods

The authors analyze the continuous gradient flow of a two-layer linear network consisting of an encoder $\Phi \in \mathbb{R}^{h \times d}$ and a predictor head $W \in \mathbb{R}^{h \times h}$ trained with the cosine loss and weight decay:

  • Thermodynamic Limit ($d, h \to \infty$): Handling normalization in gradient dynamics is notoriously difficult because parameter norms appear in denominators. The authors overcome this by taking the high-dimensional limit ($d/h \to \alpha \in (0, 1)$), where Hanson-Wright concentration inequalities ensure that feature norms concentrate tightly around deterministic matrix norms ($N_\Phi = \|\Phi\|_F$ and $N_\Psi = \|W\Phi\|_F$).
  • Eigenmode Decomposition: Under verified assumptions that $W$ is symmetric and commutes with $F = \Phi\Phi^\top$, the matrix differential equations decouple into 1D eigenmode dynamics for the eigenvalues $p_j$ of $W$.
  • Invariant Parabola & Sixth-Order Dynamics: Eigenmodes rapidly converge to an invariant parabolic manifold ($s_j = p_j^2$). On this manifold, the time evolution of $p_j$ is governed by a sixth-order polynomial ordinary differential equation (ODE)—in stark contrast to the third-order ODE resulting from the unnormalized $L_2$ loss.

Datasets

  • Synthetic Data: Inputs drawn from a $d$-dimensional standard normal distribution $\mathcal{N}(0, I_d)$ with isotropic Gaussian noise augmentation $\mathcal{N}(x_0, \sigma^2 I_d)$, evaluated with dimensions $d \in \{512, 2048\}$ and hidden dimensions $h \in \{64, 256\}$.
  • CIFAR-10: Used for empirical evaluation via linear probing across various weight decay values ($\rho \in \{10^{-4}, 10^{-2}, 10^{-1}\}$) and for validating the predicted dynamical regime shifts using both linear models and a nonlinear ResNet-18 backbone ($h = 2048$).

Key Insights and Ideas

  • The Self-Correcting Feedback Loop: Under cosine loss, the dynamics exhibits three regimes: Collapse, Acute, and Stable. If strong regularization initially forces the system into the Collapse regime (where only the trivial equilibrium $p_j = 0$ exists), the shrinking eigenmodes reduce the global matrix norms $N_\Phi$ and $N_\Psi$. Because these norms appear in the denominator of the loss gradients, their shrinkage inflates gradient updates, automatically shifting the system into the Acute regime where stable, non-zero equilibria dynamically emerge.
  • Sixth-Order vs. Third-Order Systems: The $L_2$ loss dynamics has fixed equilibrium points dictated entirely by the choice of hyperparameter $\rho$. Cosine loss induces a sixth-order system whose effective landscape continually reshapes itself as representations shrink or grow.
  • Selective Eigenmode Survival: Rather than all modes surviving or all collapsing, the largest eigenmodes escape the collapse zone and converge to stable positive values, while smaller trailing eigenmodes decay toward zero. Having a few surviving positive eigenmodes is sufficient to prevent representation collapse ($W \to O$).

Key Results

  • Robustness to Regularization: ResNet-18 trained with SimSiam on CIFAR-10 achieves nearly identical linear probing accuracy (~38% at 500 pretraining epochs) whether $\rho = 10^{-4}$, $10^{-2}$, or $10^{-1}$ (Figure 1).
  • Observed Regime Shifts: In synthetic simulations with heavy regularization ($\rho = 0.005$), the leading eigenvalue $p_1$ starts in the Collapse regime, but as norms contract, the system transitions past a bifurcation boundary at epoch $\approx 2200$ into the Acute regime, settling into a stable positive value (Figure 6).
  • Nonlinear Verification: With a ResNet-18 backbone on CIFAR-10, the exact same regime transition occurs rapidly within the first 10 epochs, with top eigenvalues stabilizing into the predicted stable region (Figure 12).

Limitations and Future Work

  • Thermodynamic Limit vs. Manifolds: The analysis relies on $d, h \to \infty$ with isotropic Gaussian data, whereas real-world image representations are believed to lie on lower-dimensional manifolds.
  • Norm Stability Assumption: The derivation assumes representation norms remain approximately constant over local intervals ($N_\Phi, N_\Psi$), which empirically shows occasional spikes.
  • Downstream Utility Unexplained: While this work rigorously explains why representations avoid collapsing to zero, it does not analyze what semantic features are learned or how downstream linear classification performance is guaranteed.

Summary updated

BibTeX
@misc{bao2023feature,
  author = {Han Bao},
  title = {{Feature Normalization Prevents Collapse of Non-contrastive Learning Dynamics}},
  year = {2023},
  eprint = {2309.16109},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.16109},
}

Loading related content...

Figure