English

Codebook-Centric Deep Hashing: End-to-End Joint Learning of Semantic Hash Centers and Neural Hash Function

Computer Vision and Pattern Recognition 2025-11-18 v1 Machine Learning

Abstract

Hash center-based deep hashing methods improve upon pairwise or triplet-based approaches by assigning fixed hash centers to each class as learning targets, thereby avoiding the inefficiency of local similarity optimization. However, random center initialization often disregards inter-class semantic relationships. While existing two-stage methods mitigate this by first refining hash centers with semantics and then training the hash function, they introduce additional complexity, computational overhead, and suboptimal performance due to stage-wise discrepancies. To address these limitations, we propose Center-Reassigned Hashing (CRH)\textbf{Center-Reassigned Hashing (CRH)}, an end-to-end framework that dynamically reassigns hash centers\textbf{dynamically reassigns hash centers} from a preset codebook while jointly optimizing the hash function. Unlike previous methods, CRH adapts hash centers to the data distribution without explicit center optimization phases\textbf{without explicit center optimization phases}, enabling seamless integration of semantic relationships into the learning process. Furthermore, a multi-head mechanism\textbf{a multi-head mechanism} enhances the representational capacity of hash centers, capturing richer semantic structures. Extensive experiments on three benchmarks demonstrate that CRH learns semantically meaningful hash centers and outperforms state-of-the-art deep hashing methods in retrieval tasks.

Keywords

Cite

@article{arxiv.2511.12162,
  title  = {Codebook-Centric Deep Hashing: End-to-End Joint Learning of Semantic Hash Centers and Neural Hash Function},
  author = {Shuo Yin and Zhiyuan Yin and Yuqing Hou and Rui Liu and Yong Chen and Dell Zhang},
  journal= {arXiv preprint arXiv:2511.12162},
  year   = {2025}
}

Comments

14 pages