← Latest papers
🤖 machine learning

On the Importance of Embedding Norms in Self-Supervised Learning

This paper resolves the apparent contradiction regarding the role of embedding norms in self-supervised learning by demonstrating through theoretical and experimental analysis that these norms, despite the prevalence of cosine similarity, critically govern convergence rates and encode network confidence, where smaller norms indicate unexpected samples.

Original authors: Andrew Draganov, Sharvaree Vadgama, Sebastian Damrich, Jan Niklas Böhm, Lucas Maes, Dmitry Kobak, Erik Bekkers

Published 2026-06-09
📖 5 min read🧠 Deep dive

Original authors: Andrew Draganov, Sharvaree Vadgama, Sebastian Damrich, Jan Niklas Böhm, Lucas Maes, Dmitry Kobak, Erik Bekkers

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: The "Spiky Ball" Problem

Imagine you are teaching a computer to recognize pictures (like cats and dogs) without showing it any labels. This is called Self-Supervised Learning (SSL).

To do this, the computer turns every picture into a mathematical point in a giant, multi-dimensional space. To make the math work, the computer usually forces all these points to sit on the surface of a perfect, smooth ball (a hypersphere). It does this by measuring how similar two points are based on their direction (like checking if two arrows are pointing the same way), ignoring how long the arrows are.

The Paper's Discovery:
The authors found that even though the computer is supposed to ignore the length of these arrows (the "embedding norm"), the length actually matters a lot. In fact, the training process naturally makes the arrows for common, easy-to-recognize pictures grow very long, while the arrows for rare or confusing pictures stay short.

This turns the computer's "perfect smooth ball" into a spiky ball. The spikes are the long arrows for familiar data, and the flat areas are the short arrows for unfamiliar data.


The Two Main Rules of the Paper

The paper explains two main things about these "arrow lengths" (norms):

1. The "Heavy Backpack" Effect (Convergence Speed)

The Analogy: Imagine you are trying to walk toward a destination (learning the right answer). If you are carrying a heavy backpack (a long arrow/norm), you move much slower. If you are light (a short arrow), you can sprint.

What the Paper Says:
The math shows that the longer the arrow gets, the slower the computer learns. Specifically, the learning speed drops by the square of the arrow's length.

  • The Catch-22: To learn, the computer needs to push the arrows together. But the act of pushing them together naturally makes the arrows grow longer.
  • The Result: The computer gets stuck in a loop where it tries to learn, but its own learning makes the "backpack" heavier, slowing it down.

2. The "Confidence Meter" (Network Confidence)

The Analogy: Think of the arrow length as a volume knob for confidence.

  • Loud (Long Arrow): The computer is very sure about this picture. It sees this type of cat often, so it has a strong, long signal for it.
  • Quiet (Short Arrow): The computer is unsure. This might be a weird angle of a cat, or a picture of a dog that looks like a cat. The signal is weak and short.

What the Paper Says:
The length of the arrow naturally encodes how confident the model is.

  • Common Data: If a picture looks like the training data, the arrow gets long (High Confidence).
  • Strange Data: If a picture is totally new or weird (Out-of-Distribution), the arrow stays short (Low Confidence).
  • Imbalanced Data: If the computer sees "Cats" 1,000 times and "Dogs" only 10 times, the "Cat" arrows will grow huge, and the "Dog" arrows will stay tiny. This makes the computer biased and unstable.

The Solutions: How to Fix the Spiky Ball

The authors tested three ways to stop the arrows from growing uncontrollably and to fix the learning speed.

1. The "Weight Decay" (The Tether)

  • What it is: A standard tool in machine learning that gently pulls the weights back toward zero.
  • The Paper's Finding: It helps keep the arrows from getting too long, but it's a slow, gradual fix. If you pull too hard, the computer forgets everything (the ball collapses). If you don't pull enough, the arrows get too long and learning slows down.

2. The "Cut-Initialization" (The Starting Line)

  • What it is: Before the training even starts, the authors take all the computer's internal numbers and divide them by a constant (like 3 or 9).
  • The Analogy: Imagine starting a race with everyone wearing heavy boots. Instead, you start them barefoot.
  • The Paper's Finding: This is a huge win. By starting with short arrows, the computer learns much faster. It prevents the "heavy backpack" problem from the very first step. It works especially well for models that don't use "negative" examples (non-contrastive models like SimSiam).

3. The "GradScale" (The Volume Knob)

  • What it is: A special layer that changes how the computer learns. It looks at the length of the arrow and adjusts the learning step.
  • The Analogy: If the arrow is long (heavy backpack), the computer takes a tiny step. If the arrow is short, it takes a big step.
  • The Paper's Finding: This cancels out the "heavy backpack" effect entirely. It makes the learning speed consistent regardless of how long the arrow is. However, the paper notes this can be tricky to tune and sometimes causes the computer to get confused if the data is too messy.

Summary of Results

  • The Problem: SSL models naturally create "spiky" representations where common data has long arrows and rare data has short ones. This slows down learning and creates bias.
  • The Good News: The length of the arrow is actually a useful signal! It tells you how confident the model is.
  • The Fix: You can fix the speed and stability issues by:
    1. Starting with smaller numbers (Cut-Initialization).
    2. Using a special layer to adjust learning steps based on arrow length (GradScale).
    3. Carefully tuning how much you pull the weights back (Weight Decay).

The paper concludes that we shouldn't just look at the direction of the data points; we must also manage their length to make self-supervised learning faster and more reliable.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →