Beyond Post-Quantization: Native Hash Learning with a Dedicated HASH Token
Not on the map. Why?
Abstract (arXiv)
Efficient large-scale image retrieval requires compact representations that preserve semantic similarity under fast Hamming-space search. Deep hashing is appealing, but most existing CNN- and ViT-based methods still follow a post-quantization paradigm, where continuous visual features are first learned and binary codes are then produced by a terminal hash projection or binarization operation. This late code generation creates a feature-to-code discrepancy between the continuously optimized representation space and the discrete Hamming space used for retrieval. To address this limitation, we propose HashViT, a Vision Transformer framework for native hash token learning. Instead of treating hashing as a terminal readout, HashViT introduces a dedicated HASH token that serves as a persistent, hash-oriented retrieval state inside the transformer. The HASH token is structurally decomposed into a Hash Register for direct binary code generation and a Semantic Workspace for preserving auxiliary continuous semantics. To enable effective workspace-to-register interaction, we further design a lightweight Hash Refinement Adapter that progressively refines the Hash Register across transformer layers. As a result, binary-oriented representations are formed through token evolution within the backbone, rather than being abruptly induced by an output-level projection. HashViT is optimized with a unified objective that combines learnable semantic center supervision, class-token similarity distillation, and quantization regularization, encouraging the HASH token to encode semantically structured and compact binary representations. Extensive experiments on three widely used benchmarks demonstrate that HashViT achieves state-of-the-art or highly competitive retrieval performance while preserving the efficiency of compact Hamming codes. Code is available at https://github.com/Xinze919/HashViT.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 19 of its 43 references that are in the map. First posted on arXiv 3 Jul 2026.
Builds on
19 of 43 references.
References · 19
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2023Vision Transformers Need Registerscited by 844
- 2016Large-Scale Image Retrieval with Attentive Deep Local Featurescited by 238
- 2017No Fuss Distance Metric Learning using Proxiescited by 225
- 2020Proxy Anchor Loss for Deep Metric Learningcited by 195
- 2018Revisiting Oxford and Paris: Large-Scale Image Retrieval Benchmarkingcited by 189
- 2017HashNet: Deep Learning to Hash by Continuationcited by 121
- 2019Central Similarity Quantization for Efficient Image and Video Retrievalcited by 77
- 2015Feature Learning based Deep Supervised Hashing with Pairwise Labelscited by 59
- 2021One Loss for All: Deep Hashing with a Single Cosine Similarity based Learning Objectivecited by 43
7 more
- 2017Asymmetric Deep Supervised Hashingcited by 35
- 2021TransHash: Transformer-based Hamming Hashing for Efficient Image Retrievalcited by 8
- 2021Deep Hashing with Hash Center Update for Efficient Image Retrievalcited by 4
- 2025Deep Hashing with Semantic Hash Centers for Image Retrievalcited by 3
- 2024HybridHash: Hybrid Convolutional and Self-Attention Deep Hashing for Image Retrievalcited by 1
- 2025MambaHash: Visual State Space Deep Hashing Model for Large-Scale Image Retrievalcited by 1
- 2025Codebook-Centric Deep Hashing: End-to-End Joint Learning of Semantic Hash Centers and Neural Hash Functioncited by 1
Built on by
Not cited yet.