Optimization Dynamics Imprint Semantic Specificity in Contrastive Embedding Norms
Abstract
In both training and inference, output vectors of contrastive embedding models are typically compared by cosine similarity, effectively ignoring their magnitudes. Yet empirical studies reveal that these "discarded" norms correlate with properties such as concept specificity and uncertainty. In this work, we develop a theoretical framework to explain this phenomenon through optimization dynamics. We derive an analytic formula relating equilibrium embedding norms to the variability and radial drift of training updates, which explains how concepts with different semantic properties can behave differently during training and thereby acquire different embedding norms. We also show that these norms can serve as "free" calibration signals to improve retrieval in specific models and tasks without retraining. Source code will be released at https://github.com/su-z/optimization-dynamics-imprint-semantic-specificity.git.