HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Non-isotropy Regularization for Proxy-based Deep Metric Learning

Karsten Roth Oriol Vinyals Zeynep Akata

Non-isotropy Regularization for Proxy-based Deep Metric Learning

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.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
metric-learning-on-cars196ResNet50 + NIR
R@1: 89.1
metric-learning-on-cub-200-2011ResNet50 + NIR
R@1: 70.5
metric-learning-on-stanford-online-products-1ResNet50 + NIR
R@1: 80.7

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Non-isotropy Regularization for Proxy-based Deep Metric Learning | Papers | HyperAI