[Paper Review] Deep Cross-Modal Hashing
This paper proposes Deep Cross-Modal Hashing (DCMH), an end-to-end deep learning framework that jointly learns discriminative features and discrete hash codes for cross-modal retrieval. By integrating feature learning and hash-code learning in a single deep neural network per modality, DCMH outperforms state-of-the-art methods on text-image retrieval benchmarks, achieving the best F-measure across multiple datasets and code lengths without relaxation-based optimization.
Due to its low storage cost and fast query speed, cross-modal hashing (CMH) has been widely used for similarity search in multimedia retrieval applications. However, almost all existing CMH methods are based on hand-crafted features which might not be optimally compatible with the hash-code learning procedure. As a result, existing CMH methods with handcrafted features may not achieve satisfactory performance. In this paper, we propose a novel cross-modal hashing method, called deep crossmodal hashing (DCMH), by integrating feature learning and hash-code learning into the same framework. DCMH is an end-to-end learning framework with deep neural networks, one for each modality, to perform feature learning from scratch. Experiments on two real datasets with text-image modalities show that DCMH can outperform other baselines to achieve the state-of-the-art performance in cross-modal retrieval applications.
Motivation & Objective
- To address the limitation of existing cross-modal hashing (CMH) methods that rely on hand-crafted features incompatible with hash-code learning.
- To develop an end-to-end deep learning framework that simultaneously performs feature learning and discrete hash-code learning for improved cross-modal retrieval performance.
- To eliminate the need for relaxation in discrete optimization by directly learning binary hash codes, avoiding accuracy degradation from continuous relaxation.
- To demonstrate superior performance on real-world text-image datasets using both hand-crafted and deep features.
Proposed method
- DCMH employs a deep neural network for each modality (e.g., image and text) to learn discriminative features directly from raw input data.
- The framework jointly optimizes feature learning and hash-code learning in an end-to-end manner using a joint loss function that preserves cross-modal similarity.
- It directly optimizes for discrete binary codes without relaxing the discrete constraint, using a surrogate function to approximate the discrete optimization problem.
- The model is trained via backpropagation with a margin-based ranking loss that encourages similar samples to have close hash codes and dissimilar ones to be far apart in Hamming space.
- The method uses a stochastic gradient descent-based optimization strategy to minimize the joint loss, enabling effective end-to-end training.
- The framework is designed to be robust to hyperparameters γ and η within the range [0.5, 2], ensuring stable performance across different settings.
Experimental results
Research questions
- RQ1Can end-to-end deep learning jointly optimize feature extraction and hash-code generation to improve cross-modal retrieval performance?
- RQ2Does eliminating the relaxation step in discrete hash-code learning lead to better retrieval accuracy compared to existing methods?
- RQ3How does DCMH perform when using deep features (e.g., CNN-F) versus hand-crafted features in cross-modal retrieval?
- RQ4Is DCMH robust to variations in hyperparameters γ and η in the loss function?
- RQ5Can DCMH achieve state-of-the-art performance on real-world text-image retrieval benchmarks?
Key findings
- On the MIRFLICKR-25K dataset with CNN-F features and 16-bit codes, DCMH achieved an F-measure of 0.3416 for text-to-image retrieval at Hamming radius 2, outperforming all baselines.
- For image-to-text retrieval on MIRFLICKR-25K, DCMH achieved an F-measure of 0.3367 at Hamming radius 2, significantly outperforming STMH (0.0287) and SePH (0.2215) despite STMH having higher precision.
- DCMH achieved the highest F-measure across all tested cases (image-to-text and text-to-image) on both MIRFLICKR-25K and NUS-WIDE datasets with 16-bit codes.
- On MIRFLICKR-25K, DCMH retrieved 487 ground-truth similar points within Hamming radius 2 for image queries, compared to only 3 for STMH, demonstrating superior recall and practical utility.
- The method maintained strong performance across different code lengths and showed low sensitivity to hyperparameters γ and η in the range [0.5, 2], indicating robustness.
- DCMH outperformed all baselines—including SePH, STMH, CMFH, and CCA—on both precision, recall, and F-measure, especially in recall and F-measure, which are more meaningful in real retrieval applications.
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.