[Paper Review] Feature Learning based Deep Supervised Hashing with Pairwise Labels
This paper proposes Deep Pairwise-Supervised Hashing (DPSH), an end-to-end deep learning framework that jointly performs feature learning and hash-code learning using pairwise labels—addressing a gap in existing methods that rely on triplet or point-wise labels. DPSH achieves state-of-the-art performance on image retrieval benchmarks by enabling feedback between feature extraction and hashing components, outperforming both non-deep baselines with deep features and deep methods using ranking labels.
Recent years have witnessed wide application of hashing for large-scale image retrieval. However, most existing hashing methods are based on hand-crafted features which might not be optimally compatible with the hashing procedure. Recently, deep hashing methods have been proposed to perform simultaneous feature learning and hash-code learning with deep neural networks, which have shown better performance than traditional hashing methods with hand-crafted features. Most of these deep hashing methods are supervised whose supervised information is given with triplet labels. For another common application scenario with pairwise labels, there have not existed methods for simultaneous feature learning and hash-code learning. In this paper, we propose a novel deep hashing method, called deep pairwise-supervised hashing(DPSH), to perform simultaneous feature learning and hash-code learning for applications with pairwise labels. Experiments on real datasets show that our DPSH method can outperform other methods to achieve the state-of-the-art performance in image retrieval applications.
Motivation & Objective
- To address the lack of deep hashing methods that simultaneously learn features and hash codes from pairwise-labeled data.
- To overcome the limitations of two-stage methods like CNNH, which do not allow feedback from learned features to hash code optimization.
- To develop an end-to-end deep learning framework that integrates feature learning, hash-code learning, and pairwise supervision.
- To improve retrieval accuracy by enabling mutual optimization between deep feature representation and binary hash codes.
- To demonstrate the effectiveness of DPSH on real-world image retrieval datasets under pairwise labeling scenarios.
Proposed method
- DPSH employs an end-to-end deep neural network architecture that jointly optimizes feature learning and hash-code generation.
- The method uses a Siamese-like twin network structure to process image pairs and learn similarity-preserving hash codes based on pairwise labels.
- A differentiable hashing layer is introduced to allow backpropagation through the discrete hash codes, enabling end-to-end training.
- The loss function combines a pairwise contrastive loss to enforce similarity preservation between positive pairs and dissimilarity for negative pairs.
- The network is trained end-to-end using stochastic gradient descent with backpropagation, allowing feature and hash code learning to mutually refine each other.
- The framework is evaluated on CIFAR-10 and NUS-WIDE datasets using mean average precision (MAP) as the primary metric.
Experimental results
Research questions
- RQ1Can an end-to-end deep learning framework effectively learn both features and hash codes from pairwise-labeled data?
- RQ2How does joint feature and hash-code learning with pairwise supervision compare to two-stage or non-deep methods?
- RQ3Does DPSH outperform existing deep hashing methods that use triplet or ranking labels in pairwise retrieval settings?
- RQ4How sensitive is DPSH to hyperparameter choices such as the margin parameter η?
- RQ5Can DPSH achieve state-of-the-art performance on standard image retrieval benchmarks using only pairwise labels?
Key findings
- DPSH achieves state-of-the-art performance on both CIFAR-10 and NUS-WIDE datasets, with MAP scores of 0.807 and 0.741 for 48-bit codes, respectively.
- On NUS-WIDE, DPSH outperforms FastH+CNN (0.825 MAP), SDH+CNN (0.824 MAP), and KSH+CNN (0.799 MAP) at 48-bit codes.
- DPSH significantly outperforms CNNH, a prior two-stage method, demonstrating the advantage of end-to-end joint learning.
- DPSH maintains strong performance across different bit lengths (16–48 bits), showing robustness and scalability.
- The method is not sensitive to the hyperparameter η in the range [10, 100], indicating stable training behavior.
- In comparisons with triplet-label-based deep methods (DSRH, DSCH, DRSCH), DPSH achieves higher MAP scores even when trained and evaluated under pairwise label settings.
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.