Unsupervised Hashing with Contrastive Learning by Exploiting Similarity Knowledge and Hidden Structure of Data
Zhenpeng Song, Qinliang Su, Jiayang Chen
Abstract
By noticing the superior ability of contrastive learning in representation learning, several recent works have proposed to use it to learn semantic-rich hash codes. However, due to the absence of label information, existing contrastive-based hashing methods simply follow contrastive learning by only using the augmentation of the anchor as positive, while treating all other samples in the batch as negatives, resulting in the ignorance of a large number of potential positives. Consequently, the learned hash codes tend to be distributed dispersedly in the space, making their distances unable to accurately reflect their semantic similarities. To address this issue, we propose to exploit the similarity knowledge and hidden structure of the dataset. Specifically, we first develop an intuitive approach based on self-training that comprises two main components, a pseudo-label predictor and a hash code improving module, which mutually benefit from each other by utilizing the output from one another, in conjunction with the similarity knowledge obtained from pre-trained models. Furthermore, we subjected the intuitive approach to a more rigorous probabilistic framework and propose CGHash, a probabilistic hashing model based on conditional generative models, which is theoretically more reasonable and could model the similarity knowledge and the hidden group structure more accurately. Our extensive experimental results on three image datasets demonstrate that CGHash exhibits significant superiority when compared to both the proposed intuitive approach and existing baselines. Our code is available at https://github.com/KARLSZP/CGHash.
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 0f63a038-06c8-4a31-9a65-966d2d76ff33Cited by top-tier papers2
- Deep Unsupervised Hashing via External GuidanceQihong Song, XitingLiu, Hongyuan Zhu, Joey Tianyi Zhou et al.ICML 2025
- Conformalized Hierarchical Calibration for Uncertainty-Aware Adaptive HashingJunyu Luo, Jinsheng Huang, Yang Xu, Lutong Zou et al.ICLR 2026
Related papers
- HEART: Towards Effective Hash Codes under Label NoiseJinan Sun, Haixin Wang, Xiao Luo, Shikun Zhang et al.ACM MM 2022 · 9 citations
- AutoSSVH: Exploring Automated Frame Sampling for Efficient Self-Supervised Video HashingNiu Lian, Jun Li, Jinpeng Wang, Ruisheng Luo et al.CVPR 2025
- Improved Deep Unsupervised Hashing via Prototypical LearningZeyu Ma, Wei Ju, Xiao Luo, Chong Chen et al.ACM MM 2022 · 21 citations
- Partial-Softmax Loss based Deep HashingRong-Cheng Tu, Xian-Ling Mao, Jia-Nan Guo, Wei Wei et al.WWW 2021 · 43 citations
- Self-Supervised Multi-Modal Knowledge Graph Contrastive Hashing for Cross-Modal SearchMeiyu Liang, Junping Du, Zhengyang Liang, Yongwang Xing et al.AAAI 2024 · 24 citations
