CrossHash: Cross-scale Vision Transformer Hashing for Image Retrieval
Transformers have made significant progress in dealing with computer vision tasks. However, most existing Vision Transformers (ViT) typically focus on single-scale information, limiting their capability to model interactions when processing multi-scale features. Moreover, the explicit mapping of continuous real-valued features to discrete hashing codes via a quantization layer is suboptimal for retrieval tasks. To overcome the above problem, we propose a novel deep hashing based on a Cross-scale Transformer named CrossHash, aiming to extract multi-scale features. Furthermore, a relative similarity quantization method is first introduced, which maximizes the similarity between the relative positional representation of continuous codes and the normalized centroids; this method effectively reduces quantization error. It optimizes feature distribution via contrastive learning loss, maximizing the inter-class distance and minimizing the intra-class distance of the learned feature. Extensive experiments on three benchmark datasets demonstrate that the proposed model outperforms other state-of-the-art deep hashing methods. Source code is available https://github.com/wwg1010/CrossHash.
Authors
- Wentao Ma (ORCID: https://orcid.org/0000-0003-3059-6629)
- Weigang Wang (ORCID: https://orcid.org/0000-0001-5524-2849)
- Zhongwen Guo (ORCID: https://orcid.org/0000-0002-6890-0107)
- Yujun Lan (ORCID: https://orcid.org/0009-0008-7744-0617)
- Wenxiang Jiang (ORCID: https://orcid.org/0009-0000-9794-8241)
Institutions
- Ocean University of China (CN)
Publication Details
- Published
- 2025-03-12
- DOI
- https://doi.org/10.1109/icassp49660.2025.10890593
- Citations
- 3
- Primary Topic
- Advanced Image and Video Retrieval Techniques
- Type
- article
- Field-Weighted Citation Impact
- 3.83
Funders
- National Key Research and Development Program of China