HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

ProxyNCA++: Revisiting and Revitalizing Proxy Neighborhood Component Analysis

Eu Wern Teh Terrance DeVries Graham W. Taylor

ProxyNCA++: Revisiting and Revitalizing Proxy Neighborhood Component Analysis

Abstract

We consider the problem of distance metric learning (DML), where the task is to learn an effective similarity measure between images. We revisit ProxyNCA and incorporate several enhancements. We find that low temperature scaling is a performance-critical component and explain why it works. Besides, we also discover that Global Max Pooling works better in general when compared to Global Average Pooling. Additionally, our proposed fast moving proxies also addresses small gradient issue of proxies, and this component synergizes well with low temperature scaling and Global Max Pooling. Our enhanced model, called ProxyNCA++, achieves a 22.9 percentage point average improvement of Recall@1 across four different zero-shot retrieval datasets compared to the original ProxyNCA algorithm. Furthermore, we achieve state-of-the-art results on the CUB200, Cars196, Sop, and InShop datasets, achieving Recall@1 scores of 72.2, 90.1, 81.4, and 90.9, respectively.

Code Repositories

euwern/proxynca_pp
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-retrieval-on-cars196ProxyNCA++
R@1: 90.1
image-retrieval-on-cub-200-2011ProxyNCA++
R@1: 72.2
image-retrieval-on-in-shopProxyNCA++
R@1: 90.9
image-retrieval-on-sopProxyNCA++
R@1: 81.4
metric-learning-on-cars196ResNet-50 + ProxyNCA++
R@1: 86.5
metric-learning-on-cub-200-2011ResNet-50 + ProxyNCA++
R@1: 69.0
metric-learning-on-in-shop-1ResNet-50 + ProxyNCA++
R@1: 90.9
metric-learning-on-stanford-online-products-1ResNet-50 + ProxyNCA++
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
ProxyNCA++: Revisiting and Revitalizing Proxy Neighborhood Component Analysis | Papers | HyperAI