Abstract
Deep Supervised Hashing (DSH) is a cornerstone of large-scale image retrieval, yet it often suffers from a performance plateau as hashcode length increases. This paper identifies "trivial solutions" and "high bit correlation" as the primary causes, where standard loss functions allow networks to replicate redundant information across bits. We propose an ensemble learning strategy that trains sub-models on diverse data subsets to produce decorrelated bits. Our approach significantly improves retrieval accuracy for long hashcodes and supports efficient incremental learning.
Introduction: The Trivial Solution Problem
In large-scale image retrieval, images are represented as binary hashcodes to optimize memory and search speed. While Deep Supervised Hashing (DSH) has shown promise, increasing hashcode length (e.g., from 32 to 128 bits) often yields diminishing returns.
The authors identify two critical issues:
- Trivial Solutions: Standard pair-wise or triplet loss functions are "bit-wise decoupled." Mathematically, a network can minimize total loss by learning one optimal bit and simply replicating it across all output units.
- High Correlation: Without explicit constraints, bits become highly redundant. A 128-bit code might only possess the information density of a much shorter code, wasting resources.
Methodology: Ensemble-based DSH
To address these issues, the authors propose an Ensemble-based DSH framework. Rather than training a single monolithic model, the target $k$ bits are divided into $m$ groups, each generated by a distinct sub-model.
Key features of this architecture include:
- Architecture Sharing: Sub-models share initial convolutional layers to capture general low-level features, branching into independent fully connected and hashing layers.
- Decorrelation through Diversity: By using different data subsets and random initializations for each sub-model, the resulting bits capture diverse semantic aspects.
- Incremental Learning: The modular design allows adding new bits (e.g., upgrading from 64 to 80 bits) by training only a new sub-model, avoiding full system retraining.
Experimental Evaluation
The framework was tested on three benchmarks: CIFAR-10, Animals with Attributes (AwA), and a 100-category subset of ImageNet.
Bit Correlation Analysis
The authors utilize mean Absolute Correlation (mAC) to quantify redundancy. In traditional DSH, mAC increases with code length, reaching 0.73 for 128 bits. In contrast, the ensemble method maintains a low mAC (~0.25), indicating more informative bits.
Key Results
The ensemble method consistently outperformed state-of-the-art DSH methods (e.g., CNNH, DPSH):
- Accuracy: On ImageNet (128 bits), the method achieved a mean Average Precision (mAP) of 0.6156, significantly higher than the previous best of 0.5399.
- Scaling: While competitors' performance plateaued, the ensemble method showed a steep improvement curve, gaining ~8% mAP from 32 to 128 bits compared to the ~3-4% gain of other methods.
Conclusion and Future Work
The ensemble approach effectively mitigates the trivial solution problem by forcing bit diversity. While it introduces some inference overhead due to multiple "heads," the gains in retrieval precision and the ability to perform incremental updates are substantial. Future research may explore more sophisticated data grouping techniques and the application of this strategy to modern architectures like Vision Transformers.
Summary updated