arXiv:2610.32630cs.LGOct 2026

Manuscript Offprint

arXiv:2610.32630

The Standard Deviation in VICReg Buys a Safety Margin

Hawar Dizayee

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

VICReg prevents collapse with a hinge on the standard deviation of each embedding dimension, and its authors argue from the gradient that a hinge on the variance would fail. To our knowledge, this claim has not been tested experimentally. We test it in a controlled setting (ResNet-18, CIFAR-10 and CIFAR-100), changing only the hinge and sweeping its weight μ\mu over five orders of magnitude. At the default weight ( μ=1\mu = 1), the two hinges reach the same linear-probe accuracy on CIFAR-10 (about 89.5%). Both collapse below a threshold weight, but the standard-deviation hinge's threshold is 35−130×35-130\times lower. CIFAR-100 shows a consistent gap. In training, the variance hinge's gradient fades as the feature variance shrinks, while the standard-deviation hinge's does not until that variance is very small. The standard-deviation hinge therefore buys a safety margin: it keeps training at weights far below the point where the variance hinge collapses.

1 Introduction

VICReg (Bardes et al., 2022) keeps a joint-embedding model from collapsing with three loss terms: an invariance term that pulls the two views of an image together, a covariance term that decorrelates embedding dimensions, and a variance term that keeps every dimension spread out across the batch. The variance term is a hinge on the standard deviation of each dimension. Bardes et al. (2022, Section 4.1) state that using the standard deviation rather than the variance is crucial: with a hinge on the variance, the gradient vanishes as the embeddings shrink, and training collapses. This argument is made from the form of the gradient; to our knowledge it has not been tested directly. The EB-JEPA library (Terver et al., 2026), which we build on, uses the same standard-deviation hinge.

We test the claim: we change only the hinge (standard deviation or variance) and sweep its weight μ\mu over five orders of magnitude. At EB-JEPA's default weight ( μ=1\mu = 1) the two hinges reach the same accuracy (about 89.5% on CIFAR-10). Both collapse when the weight is low enough, but the variance hinge collapses first, at a weight 35 to 130 times higher than the standard-deviation hinge.

Our contributions are:

  • A controlled test of the standard-deviation-versus-variance claim in VICReg, changing only the hinge and sweeping its weight over five orders of magnitude, with three seeds at every weight and a CIFAR-100 check (Section 4).

  • The finding that both hinges have a collapse threshold, that the two thresholds sit 35−130×35-130\times apart, and that the hinges tie at the default weight (Section 4).

  • An account of the mechanism from the measured gradients during training, including why the standard-deviation hinge also collapses (Section 5).

• Code to reproduce every run, publicly available at https://github.com/hawardizayee/vicreg-hinge.

References (21)