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

Shuo Yin, Zhiyuan Yin, Yuqing Hou, Rui Liu, Yong Chen +1 more
11/15/2025
cs.CVcs.LG

No official code found. Best implementation: iFamilyi/CRH (10 stars, last commit 2025-11-14).

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 $\textbf{Center-Reassigned Hashing (CRH)}$, an end-to-end framework that $\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 $\textbf{without explicit center optimization phases}$, enabling seamless integration of semantic relationships into the learning process. Furthermore, $\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.

View on arXivView PDF

Code Implementations(1)

iFamilyi/CRHCommunity73%

Codebook-Centric Deep Hashing: End-to-End Joint Learning of Semantic Hash Centers and Neural Hash Function (AAAI 2026, CCF A)

101PythonNov 14, 202511 months ago

Cite this paper

@article{yin2025codebookcentric,
  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},
  year   = {2025},
  eprint = {2511.12162},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.12162v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.12162.svg)](https://codeofpaper.com/paper/2511.12162)

Discussion