cs.AIOct 2, 2026

Anchor Divergence for Semantic Geometry in Contrastive Learning

Authors: Akash Kannan, Kiho Park, Victor Veitch

Organizations: University of Chicago

Abstract

This paper concerns how semantic context determines geometry in learned vector representations. Similarity is typically measured using cosine similarity, which provides a single fixed geometry. Semantic similarity, however, is inherently context dependent: two images may be similar because they depict the same object, share a visual style, or are relevant to the same clinical finding. We show that contrastive representations naturally encompass a family of geometries that can be specialized to particular semantic structure. The key idea is to use an interplay between contrastive learning, exponential families, and information geometry to establish a correspondence between probability distributions over "anchors" and Bregman geometries on the representation space. We use this correspondence to define "Anchor Divergences", a method for specifying context-specific semantic geometries on fixed representations. Under this correspondence, modeling the anchor distribution models the geometry itself. Experiments on retrieval show that anchor divergences provide an effective and efficient way to specify context-specific semantic similarity.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. The Loss Is Not Enough: Sampling Conditions and Inductive Bias in Contrastive Representation Learning

    Jun 2, 2026Justinas Zaliaduonis, Patrick Putzky, Till Richter +1Contrastive LearningSelf-Supervised Learning

  2. The Geometric Mechanics of Contrastive Representation Learning: Alignment Potentials, Entropic Dispersion, and Cross-modal Divergence

    Jan 27, 2026Yichao Cai, Zhen Zhang, Yuhang Liu +1Cross-Modal LearningContrastive Learning

  3. A Unified Geometric Framework for Weighted Contrastive Learning

    May 13, 2026Raphael Vock, Edouard Duchesnay, Benoit DufumierContrastive LearningNeural Representation Geometry