Skip to main content
QUICK REVIEW

[Paper Review] Signal-to-Noise Ratio: A Robust Distance Metric for Deep Metric Learning

Tongtong Yuan, Weihong Deng|arXiv (Cornell University)|Apr 4, 2019
Advanced Image and Video Retrieval TechniquesComputer Science43 references6 citations
TL;DR

This paper proposes a novel Signal-to-Noise Ratio (SNR)-based distance metric to replace Euclidean distance in deep metric learning, enhancing feature discriminability by jointly reducing intra-class distances and increasing inter-class distances. The method, Deep SNR-based Metric Learning (DSML), achieves state-of-the-art performance on image clustering and retrieval benchmarks including CARS196, CUB200-2011, and CIFAR10, with further gains in deep hashing via DSNRH on CIFAR10 and NUS-WIDE.

ABSTRACT

Deep metric learning, which learns discriminative features to process image clustering and retrieval tasks, has attracted extensive attention in recent years. A number of deep metric learning methods, which ensure that similar examples are mapped close to each other and dissimilar examples are mapped farther apart, have been proposed to construct effective structures for loss functions and have shown promising results. In this paper, different from the approaches on learning the loss structures, we propose a robust SNR distance metric based on Signal-to-Noise Ratio (SNR) for measuring the similarity of image pairs for deep metric learning. By exploring the properties of our SNR distance metric from the view of geometry space and statistical theory, we analyze the properties of our metric and show that it can preserve the semantic similarity between image pairs, which well justify its suitability for deep metric learning. Compared with Euclidean distance metric, our SNR distance metric can further jointly reduce the intra-class distances and enlarge the inter-class distances for learned features. Leveraging our SNR distance metric, we propose Deep SNR-based Metric Learning (DSML) to generate discriminative feature embeddings. By extensive experiments on three widely adopted benchmarks, including CARS196, CUB200-2011 and CIFAR10, our DSML has shown its superiority over other state-of-the-art methods. Additionally, we extend our SNR distance metric to deep hashing learning, and conduct experiments on two benchmarks, including CIFAR10 and NUS-WIDE, to demonstrate the effectiveness and generality of our SNR distance metric.

Motivation & Objective

  • To address the limitations of Euclidean distance in deep metric learning, which lacks robustness and fails to preserve feature correlations.
  • To design a new distance metric grounded in signal processing theory that better captures semantic similarity in learned features.
  • To demonstrate the effectiveness and generalization of the SNR-based metric across multiple deep metric learning and hashing tasks.
  • To show that the SNR metric can jointly minimize intra-class variance and maximize inter-class separation more effectively than Euclidean distance.

Proposed method

  • Proposes a new distance metric based on Signal-to-Noise Ratio (SNR), defined as the ratio of feature variance to noise variance in paired embeddings.
  • The SNR metric is theoretically justified through geometric and statistical analysis, showing improved robustness and correlation preservation over Euclidean distance.
  • Integrates the SNR metric into a deep metric learning framework, formulating a new objective function for training discriminative embeddings.
  • Develops Deep SNR-based Metric Learning (DSML), which replaces Euclidean distance in contrastive or triplet-like loss functions with the SNR metric.
  • Extends the SNR metric to deep hashing by applying a sign function to real-valued SNR-optimized features, enabling binary code learning.
  • Employs a CNN-F network architecture and stochastic gradient descent with momentum for training on image datasets.

Experimental results

Research questions

  • RQ1Can SNR serve as a more robust and informative distance metric than Euclidean distance in deep metric learning?
  • RQ2Does the SNR-based metric improve intra-class compactness and inter-class separability in learned feature spaces?
  • RQ3Can the SNR metric generalize effectively to both metric learning and deep hashing retrieval tasks?
  • RQ4How does the SNR-based metric compare to state-of-the-art deep metric learning methods on standard benchmarks?

Key findings

  • DSML achieves state-of-the-art performance on CARS196, CUB200-2011, and CIFAR10 for image clustering and retrieval, outperforming methods based on contrastive, triplet, and N-pair losses.
  • On CIFAR10, DSML achieves superior retrieval accuracy under both Euclidean and Hamming ranking strategies, with MAP results significantly higher than baseline methods.
  • t-SNE visualization confirms that DSML produces more discriminative and well-separated feature clusters compared to the contrastive method with Euclidean distance.
  • The proposed DSNRH method achieves the highest MAP@50000 across all tested hashing baselines on both CIFAR10 and NUS-WIDE, with performance exceeding 60% average MAP on both datasets.
  • The SNR metric consistently reduces intra-class distances and enlarges inter-class distances more effectively than Euclidean distance, as validated by feature space analysis.
  • The SNR-based metric demonstrates strong generalization, maintaining high performance across diverse deep learning tasks including metric learning and hashing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.