Abstract
Deep supervised hashing methods have become a cornerstone of large-scale image retrieval. However, traditional approaches often suffer from a "mini-batch bottleneck," where the model only learns from small subsets of data at a time, failing to utilize the global structure of the entire training set. This paper introduces Deep Supervised Hashing with Anchor Graph (DAGH), a novel framework that seamlessly integrates deep feature learning with global binary code optimization. By leveraging an anchor graph to relate mini-batch samples to the entire dataset, DAGH achieves superior retrieval accuracy and significantly faster training times compared to existing state-of-the-art methods.
Introduction
In the era of big data, efficient image retrieval requires representing high-dimensional images as compact binary codes. This allows for rapid similarity searches using Hamming distance. While deep learning has significantly improved hashing performance, most current methods update their networks using mini-batches. This localized approach ignores the labels of the remaining data in each iteration, leading to sub-optimal binary codes and information loss. DAGH addresses this by providing global feedback to the neural network during the local update process.
The DAGH Framework
The core innovation of DAGH lies in its ability to bridge the gap between deep feature learning and global binary code optimization through three integrated objectives:
- Anchor Graph Regression ($R_1$): The model selects a small subset of samples as "anchors" to establish a mathematical connection between the deep features of the current mini-batch and the binary codes of the entire training set ($B_{all}$). This allows the network to receive feedback from the whole dataset even when training on a subset.
- Deep Pairwise Hashing ($R_2$): A standard pairwise loss ensures that images from the same class have similar binary codes, while those from different classes are pushed apart in the Hamming space.
- Discriminant Binary Code Learning ($R_3$): A regression term utilizing the ground-truth label matrix ensures that the learned binary codes are highly discriminative for classification tasks.
By optimizing these objectives simultaneously, the network obtains more discriminative feedback from linear combinations of the learned bits, leading to a more robust retrieval model.
Experimental Evaluation
The researchers evaluated DAGH on three major benchmarks: CIFAR-10, Fashion-MNIST, and NUS-WIDE. The method was compared against several state-of-the-art deep hashing techniques, including DPSH, DTSH, and DSDH.
Key Results
- Superior Retrieval Accuracy: DAGH consistently outperformed competitors across all datasets and code lengths. For instance, on CIFAR-10 with 12-bit codes, DAGH achieved a Mean Average Precision (MAP) of 0.934, a significant jump from the 0.770 achieved by the next best method (DTSH).
- Efficiency: Despite its more complex objective function, DAGH is remarkably efficient. On CIFAR-10, it reduced training time by more than 50% compared to DTSH (48.5 minutes vs. 102 minutes).
- Robust Performance: The model demonstrated strong generalization, maintaining high precision and recall even when retrieving images from classes not seen during the training phase.
Conclusion and Future Work
DAGH successfully addresses the mini-batch bottleneck in deep hashing by incorporating global dataset information via an anchor graph. This approach not only improves retrieval performance but also enhances training efficiency.
Future research may explore more sophisticated anchor selection strategies, such as k-means clustering, to better characterize the data manifold. Additionally, while the anchor graph approach is highly efficient, further distributed optimization strategies may be required as dataset sizes scale into the billions of images.
Summary updated