NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Optimization Dynamics Imprint Semantic Specificity in Contrastive Embedding Norms

Ziwei Su, Junyu Ren, Victor Veitch

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Interpretability & Model Adaptation › Concept Decomposition and Interpretability · Type: theory · Keywords: contrastive embedding, embedding norms, semantic specificity, optimization dynamics, calibration signals

Summary

We derive an analytic formula showing that embedding norms encode semantic specificity as a byproduct of contrastive training dynamics, providing a theoretical explanation and calibration signals.

Explained to a 5-year-old

When we teach computers to understand words, we try to make the words equally far apart. Even though we ignore how big the words are, they end up being bigger for more specific ideas. We figured out why this happens by doing math. This helps us check if the computer understands things without extra work. It makes the computer smarter about words.

Explained to a 5-year-old, longer

Computers learn to compare words by pushing similar words close together and different words far apart. They usually only care about how similar words are, not how big the words are. But when we look at the size of these word numbers, we see something interesting. Bigger numbers often belong to words that mean very specific things. Smaller numbers belong to words that are used a lot and mean many things. We used math to figure out why this happens during learning. This tells us that the size of the numbers can be a free hint about how well the computer understands the words. We can use this hint to check if the computer is doing a good job without training it more. It helps us make the computer more reliable. It also helps us understand why the computer makes mistakes. It works like a shortcut that we didn't know existed. This makes the computer easier to work with and less confusing.

For a technical reader

The paper investigates why the magnitudes of embedding vectors in contrastive models correlate with semantic properties despite being ignored during training. By analyzing the optimization dynamics, the authors derive an analytic expression that links embedding length to concept specificity and token frequency. This relationship provides a free source of calibration signals that can be used to assess model performance on retrieval tasks. The findings enable engineers to leverage embedding norms for model monitoring and improvement without additional training. Overall, the work offers a theoretical justification for an observed empirical phenomenon and practical guidance for using embedding magnitudes.

Problem

Contrastive embedding models trained with scale-invariant losses discard embedding magnitudes, yet observed norms correlate with semantic properties such as concept specificity and token frequency. Understanding why this occurs is unclear.

Method

We analyze the optimization dynamics of contrastive training, derive an analytic formula linking embedding length to semantic information, and demonstrate how this yields calibration signals.

Results

The analysis reveals that embedding norms naturally encode semantic specificity and can be used as free calibration tools in retrieval tasks.

Contributions

We provide a formal theoretical framework and analytic derivation that explains why embedding norms capture semantic information, and we demonstrate their utility as calibration signals.

Practical relevance

These findings enable free calibration of retrieval systems without additional training, improving efficiency and interpretability.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction