[Paper Review] Fewer is More: A Deep Graph Metric Learning Perspective Using Fewer Proxies
This paper proposes ProxyGML, a novel deep graph metric learning method that uses fewer, adaptively selected proxies to model both global and local similarity relationships in embedding space. By constructing k-nearest neighbor subgraphs and applying a reverse label propagation algorithm, ProxyGML achieves state-of-the-art performance in accuracy and efficiency on CUB-200-2011, Cars196, and Stanford Online Products, outperforming existing methods with reduced computational cost.
Deep metric learning plays a key role in various machine learning tasks. Most of the previous works have been confined to sampling from a mini-batch, which cannot precisely characterize the global geometry of the embedding space. Although researchers have developed proxy- and classification-based methods to tackle the sampling issue, those methods inevitably incur a redundant computational cost. In this paper, we propose a novel Proxy-based deep Graph Metric Learning (ProxyGML) approach from the perspective of graph classification, which uses fewer proxies yet achieves better comprehensive performance. Specifically, multiple global proxies are leveraged to collectively approximate the original data points for each class. To efficiently capture local neighbor relationships, a small number of such proxies are adaptively selected to construct similarity subgraphs between these proxies and each data point. Further, we design a novel reverse label propagation algorithm, by which the neighbor relationships are adjusted according to ground-truth labels, so that a discriminative metric space can be learned during the process of subgraph classification. Extensive experiments carried out on widely-used CUB-200-2011, Cars196, and Stanford Online Products datasets demonstrate the superiority of the proposed ProxyGML over the state-of-the-art methods in terms of both effectiveness and efficiency. The source code is publicly available at https://github.com/YuehuaZhu/ProxyGML.
Motivation & Objective
- To address the sampling inefficiency and high computational cost of traditional deep metric learning methods that rely on mini-batch pairs or triplets.
- To overcome the limitation of single-proxy methods like ProxyNCA in capturing intra-class variations.
- To develop a more effective and efficient alternative to proxy- and classification-based metric learning by leveraging graph classification and adaptive proxy selection.
- To enable faster convergence and better generalization through a novel reverse label propagation mechanism that refines neighbor relationships using ground-truth labels.
Proposed method
- Multiple global proxies are used per class to better represent intra-class variations in the embedding space.
- A directed similarity graph is constructed between all proxies and data points in a mini-batch to model global relationships.
- The graph is decomposed into k-nearest neighbor subgraphs by adaptively selecting the most informative proxies for each data point to capture fine-grained local structures.
- A reverse label propagation algorithm is designed to iteratively adjust neighbor relationships in each subgraph using ground-truth labels, enhancing discriminative feature learning.
- The subgraphs are classified under a graph classification framework, allowing the model to learn a discriminative metric space through joint optimization of proxies and subgraph structures.
- The method is compatible as a drop-in replacement for existing metric learning losses and supports small batch sizes, improving training efficiency.
Experimental results
Research questions
- RQ1Can a smaller number of strategically selected proxies achieve better performance than existing proxy-based or sampling-based metric learning methods?
- RQ2How can local neighborhood structures be effectively modeled in deep metric learning without relying on random or heuristic sampling?
- RQ3Can reverse label propagation on subgraphs improve metric space discriminability by refining neighbor relationships using ground-truth labels?
- RQ4Does integrating global proxy representation with local subgraph classification lead to faster convergence and higher accuracy?
Key findings
- ProxyGML achieves state-of-the-art performance on CUB-200-2011, Cars196, and Stanford Online Products in both retrieval and clustering tasks.
- On the Cars196 dataset, ProxyGML achieves a Recall@1 of 91.2% with 512-dimensional embeddings, outperforming all baselines.
- Despite the large number of classes (11,318) in Stanford Online Products, ProxyGML achieves comparable performance to the best methods with significantly lower computational cost.
- ProxyGML uses only k = ⌈0.05 × 11318⌉ ≈ 566 proxies per sample during backpropagation, compared to full proxy sets of 11,318 in Proxy-Anchor, reducing memory and computation.
- The method converges faster than existing approaches, as shown by higher Recall@1 values in less training time on the Cars196 benchmark.
- The reverse label propagation mechanism effectively improves subgraph structure learning, leading to more discriminative embeddings without requiring large batch sizes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.