Weighted Gaussian Loss based Hamming Hashing
Rong-Cheng Tu, Xian-Ling Mao, Cihang Kong, Zihang Shao, Zelin Li, Wei Wei, Heyan Huang
Abstract
Recently, deep Hamming hashing methods have been proposed for Hamming space retrieval which enables constant-time search by hash table lookups instead of linear scan. When carrying out Hamming space retrieval, for each query datapoint, there is a Hamming ball centered on the query datapoint, and only the datapoints within the Hamming ball are returned as the relevant ones, while those beyond are discarded directly. Thus, to further enhance the retrieval performance, it is a key point for the Hamming hashing methods to decrease the dissimilar datapoints within the Hamming ball. However, nearly all existing Hamming hashing methods cannot effectively penalize the dissimilar pairs within the Hamming ball to push them out. To tackle this problem, in this paper, we propose a novel Weighted Gaussian Loss based Hamming Hashing, called WGLHH, which introduces a weighted Gaussian loss to optimize hashing model. Specifically, the weighted Gaussian loss consists of three parts: a novel Gaussian-distribution based loss, a novel badly-trained-pair attention mechanism and a quantization loss. The Gaussian-distribution based loss is proposed to effectively penalize the dissimilar pairs within the Hamming ball. The badly-trained-pair attention mechanism is proposed to assign a weight for each data pair, which puts more weight on data pairs whose corresponding hash codes cannot preserve original similarity well, and less on those having already handled well. The quantization loss is used to reduce the quantization error. By incorporating the three parts, the proposed weighted Gaussian loss will penalize significantly on the dissimilar pairs within the Hamming ball to generate more compact hashing codes. Extensive experiments on two benchmark datasets show that the proposed method outperforms the state-of-the-art baselines in image retrieval task.
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.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 79f2a5af-8003-4c1c-a4ee-32f62d3ecc9dCited by top-tier papers7
- HyP2 Loss: Beyond Hypersphere Metric Space for Multi-label Image RetrievalChengyin Xu, Zenghao Chai, Zhengzhuo Xu, Chun Yuan et al.ACM MM 2022 · 30 citations
- Unsupervised Hashing with Semantic Concept MiningRong-Cheng Tu, Xian-Ling Mao, Kevin Qinghong Lin, Chengfei Cai et al.SIGMOD 2023 · 11 citations
- Distribution-Consistency-Guided Multi-modal HashingJin-Yu Liu, Xian-Ling Mao, Tian-Yi Che, Rong-Cheng TuAAAI 2025 · 8 citations
- Deep Unsupervised Hashing with Latent Semantic ComponentsQinghong Lin, Xiaojun Chen, Qin Zhang, Shaotian Cai et al.AAAI 2022 · 6 citations
- SEGA: Shaping Semantic Geometry for Robust Hashing under Noisy SupervisionYiyang Gu, Bohan Wu, Qinghua Ran, Rong-Cheng Tu et al.NeurIPS 2025 · 1 citation
Related papers
- Maximum-Margin Hamming HashingRong Kang, Yue Cao, Mingsheng Long, Jianmin Wang et al.ICCV 2019 · 33 citations
- Binary Neural Network Hashing for Image RetrievalWanqian Zhang, Dayan Wu, Yu Zhou, Bo Li et al.SIGIR 2021 · 19 citations
- Accelerate Learning of Deep Hashing With Gradient AttentionLong-Kai Huang, Jianda Chen, Sinno Jialin PanICCV 2019 · 22 citations
- One Loss for Quantization: Deep Hashing with Discrete Wasserstein Distributional MatchingKhoa D. Doan, Peng Yang, Ping LiCVPR 2022 · 46 citations
- Deep Hashing with Minimal-Distance-Separated Hash CentersLiangdao Wang, Yan Pan, Cong Liu, Hanjiang Lai et al.CVPR 2023
