TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Non-isotropy Regularization for Proxy-based Deep Metric Le...

Non-isotropy Regularization for Proxy-based Deep Metric Learning

Karsten Roth, Oriol Vinyals, Zeynep Akata

2022-03-16CVPR 2022 1Metric Learning
PaperPDFCode(official)

Abstract

Deep Metric Learning (DML) aims to learn representation spaces on which semantic relations can simply be expressed through predefined distance metrics. Best performing approaches commonly leverage class proxies as sample stand-ins for better convergence and generalization. However, these proxy-methods solely optimize for sample-proxy distances. Given the inherent non-bijectiveness of used distance functions, this can induce locally isotropic sample distributions, leading to crucial semantic context being missed due to difficulties resolving local structures and intraclass relations between samples. To alleviate this problem, we propose non-isotropy regularization ($\mathbb{NIR}$) for proxy-based Deep Metric Learning. By leveraging Normalizing Flows, we enforce unique translatability of samples from their respective class proxies. This allows us to explicitly induce a non-isotropic distribution of samples around a proxy to optimize for. In doing so, we equip proxy-based objectives to better learn local structures. Extensive experiments highlight consistent generalization benefits of $\mathbb{NIR}$ while achieving competitive and state-of-the-art performance on the standard benchmarks CUB200-2011, Cars196 and Stanford Online Products. In addition, we find the superior convergence properties of proxy-based methods to still be retained or even improved, making $\mathbb{NIR}$ very attractive for practical usage. Code available at https://github.com/ExplainableML/NonIsotropicProxyDML.

Results

TaskDatasetMetricValueModel
Metric LearningCARS196R@189.1ResNet50 + NIR
Metric Learning CUB-200-2011R@170.5ResNet50 + NIR
Metric LearningStanford Online ProductsR@180.7ResNet50 + NIR

Related Papers

Unsupervised Ground Metric Learning2025-07-17Are encoders able to learn landmarkers for warm-starting of Hyperparameter Optimization?2025-07-16$\texttt{Droid}$: A Resource Suite for AI-Generated Code Detection2025-07-11Grid-Reg: Grid-Based SAR and Optical Image Registration Across Platforms2025-07-06Dare to Plagiarize? Plagiarized Painting Recognition and Retrieval2025-06-29Multimodal Information Retrieval for Open World with Edit Distance Weak Supervision2025-06-25Offline Goal-Conditioned Reinforcement Learning with Projective Quasimetric Planning2025-06-23AbRank: A Benchmark Dataset and Metric-Learning Framework for Antibody-Antigen Affinity Ranking2025-06-21