English

Integrating Language Guidance into Vision-based Deep Metric Learning

Computer Vision and Pattern Recognition 2022-03-17 v1

Abstract

Deep Metric Learning (DML) proposes to learn metric spaces which encode semantic similarities as embedding space distances. These spaces should be transferable to classes beyond those seen during training. Commonly, DML methods task networks to solve contrastive ranking tasks defined over binary class assignments. However, such approaches ignore higher-level semantic relations between the actual classes. This causes learned embedding spaces to encode incomplete semantic context and misrepresent the semantic relation between classes, impacting the generalizability of the learned metric space. To tackle this issue, we propose a language guidance objective for visual similarity learning. Leveraging language embeddings of expert- and pseudo-classnames, we contextualize and realign visual representation spaces corresponding to meaningful language semantics for better semantic consistency. Extensive experiments and ablations provide a strong motivation for our proposed approach and show language guidance offering significant, model-agnostic improvements for DML, achieving competitive and state-of-the-art results on all benchmarks. Code available at https://github.com/ExplainableML/LanguageGuidance_for_DML.

Keywords

Cite

@article{arxiv.2203.08543,
  title  = {Integrating Language Guidance into Vision-based Deep Metric Learning},
  author = {Karsten Roth and Oriol Vinyals and Zeynep Akata},
  journal= {arXiv preprint arXiv:2203.08543},
  year   = {2022}
}

Comments

Accepted to CVPR 2022

R2 v1 2026-06-24T10:15:31.387Z