Anchor Divergence for Semantic Geometry in Contrastive Learning
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.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CV, cs.LG, stat.ML
- Comments
- Code is available at https://github.com/sky1712/Anchor-Divergence
Related papers
RAGrasp: Geometry-Semantic Template Retrieval and Grasp Transfer
Shared title terminologycs.AIShenzhe Zhu, Chengxiao He, Jan Harder
SayWhen: Set-Valued Semantic Commitment for Low-Regret Early Speech
Shared title terminologycs.AITianyi Huang, Lucas Su, Fred Zhang et al.
A Tropical Geometry View of Forgetting: A Per-Unit Projector for Knowledge-Preserving Fine-Tuning
Shared title terminologycs.AIYuyang Zhang, Xiaoyin Chen, Chunlin Ren et al.
Semantic Causal-Factor Inference from Aviation Incident Narratives Using A Variational Autoencoder with Cosine-Similarity-Based Reconstruction
Shared title terminologycs.AIAZIIDA NANYONGA1, HASSAN WASSWA, UGUR TURHAN et al.
Dense Neuro-Symbolic Reasoning in a Unified Geometry State
Shared title terminologycs.AIRuoran Xu, Wending Gao, Haoyu Cheng et al.
CADForge: Agentic Single-View CAD Reconstruction with Explicit Geometry Reasoning
Shared title terminologycs.AIKeyang Lu, Zhifei Yang, Tianao Dong et al.