Efficient Hash Code Expansion by Recycling Old Bits
Dayan Wu, Qinghang Su, Bo Li, Weiping Wang
Abstract
Deep hashing methods have been intensively studied and successfully applied in large-scale multimedia retrieval. In real-world scenarios, code length can not be set once for all if retrieval accuracy is not satisfying. However, when code length increases, conventional deep hashing methods have to retrain their models and regenerate the whole database codes, which is impractical for large-scale retrieval system. In this paper, we propose an interesting deep hashing method from a brand new perspective, called Code Expansion oriented Deep Hashing (CEDH). Different from conventional deep hashing methods, our CEDH focuses on the fast expansion of existing hash codes. Instead of regenerating all bits from raw images, the new bits in CEDH can be incrementally learned by recycling the old ones. Specifically, we elaborately design an end-to-end asymmetric framework to simultaneously optimize a CNN model for query images and a code projection matrix for database images. With the learned code projection matrix, hash codes can achieve fast expansion through simple matrix multiplication. Subsequently, a novel code expansion hashing loss is proposed to preserve the similarities between query codes and expanded database codes. Due to the loose coupling in our framework, our CEDH is compatible with a variety of deep hashing methods. Moreover, we propose to adopt smooth similarity matrix to solve "similarity contradiction" problem existing in multi-label image datasets, thus further improving our performance on multi-label datasets. Extensive experiments on three widely used image retrieval benchmarks demonstrate that CEDH can significantly reduce the cost for expanding database codes (about 100,000x faster with GPU and 1,000,000x faster with CPU) when code length increases while keeping the state-of-the-art retrieval accuracy. Our code is available at https://github.com/IIE-MMR/2022MM-CEDH.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Cited by top-tier papers2
- Pairwise-Label-Based Deep Incremental Hashing with Simultaneous Code ExpansionDayan Wu, Qinghang Su, Bo Li, Weiping WangAAAI 2024 · 11 citations
- Discretization Is Not Always Better: Rethinking Deep Quantization for Asymmetric Image RetrievalXinze Liu, Dayan Wu, Hengjie Zhu, Chenming Wu et al.AAAI 2026
Related papers
- Asymmetric Deep Hashing for Efficient Hash Code CompressionShu Zhao, Dayan Wu, Wanqian Zhang, Yu Zhou et al.ACM MM 2020 · 18 citations
- Accelerate Learning of Deep Hashing With Gradient AttentionLong-Kai Huang, Jianda Chen, Sinno Jialin PanICCV 2019 · 22 citations
- Partial-Softmax Loss based Deep HashingRong-Cheng Tu, Xian-Ling Mao, Jia-Nan Guo, Wei Wei et al.WWW 2021 · 43 citations
- Online Hashing with Efficient Updating of Binary CodesZhenyu Weng, Yuesheng ZhuAAAI 2020 · 22 citations
- Deep Supervised Hashing With Anchor GraphYudong Chen, Zhihui Lai, Yujuan Ding, Kaiyi Lin et al.ICCV 2019 · 71 citations
