One Loss for Quantization: Deep Hashing with Discrete Wasserstein Distributional Matching
Khoa D. Doan, Peng Yang, Ping Li
Abstract
Image hashing is a principled approximate nearest neighbor approach to find similar items to a query in a large collection of images. Hashing aims to learn a binary-output function that maps an image to a binary vector. For optimal retrieval performance, producing balanced hash codes with low-quantization error to bridge the gap between the learning stage's continuous relaxation and the inference stage's discrete quantization is important. However, in the existing deep supervised hashing methods, coding balance and low-quantization error are difficult to achieve and involve several losses. We argue that this is because the existing quantization approaches in these methods are heuristically constructed and not effective to achieve these objectives. This paper considers an alternative approach to learning the quantization constraints. The task of learning balanced codes with low quantization error is re-formulated as matching the learned distribution of the continuous codes to a pre-defined discrete, uniform distribution. This is equivalent to minimizing the distance between two distributions. We then propose a computationally efficient distributional distance by leveraging the discrete property of the hash functions. This distributional distance is a valid distance and enjoys lower time and sample complexities. The proposed single-loss quantization objective can be integrated into any existing supervised hashing method to improve code balance and quantization error. Experiments confirm that the proposed approach substantially improves the performance of several representative hashing methods.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers9
- Defending Backdoor Attacks on Vision Transformer via Patch ProcessingKhoa D. Doan, Yingjie Lao, Peng Yang, Ping LiAAAI 2023 · 33 citations
- Pairwise-Label-Based Deep Incremental Hashing with Simultaneous Code ExpansionDayan Wu, Qinghang Su, Bo Li, Weiping WangAAAI 2024 · 11 citations
- CgAT: Center-Guided Adversarial Training for Deep Hashing-Based RetrievalXunguang Wang, Yiqun Lin, Xiaomeng LiWWW 2023 · 10 citations
- IDEA: An Invariant Perspective for Efficient Domain Adaptive Image RetrievalHaixin Wang, Hao Wu, Jinan Sun, Shikun Zhang et al.NeurIPS 2023 · 8 citations
- Unleashing the Full Potential of Product Quantization for Large-Scale Image RetrievalYu Liang, Shiliang Zhang, Li Ken Li, Xiaoyu WangNeurIPS 2023 · 5 citations
Builds on6
- Backdoor Attack with Imperceptible Input and Latent ModificationKhoa D. Doan, Yingjie Lao, Ping LiNeurIPS 2021 · 179 citations
- One Loss for All: Deep Hashing with a Single Cosine Similarity based Learning ObjectiveJiun Tian Hoe, Kam Woh Ng, Tianyu Zhang, Chee Seng Chan et al.NeurIPS 2021 · 174 citations
- Distributional Sliced-Wasserstein and Applications to Generative ModelingKhai Nguyen, Nhat Ho, Tung Pham, Hung BuiICLR 2021 · 111 citations
- Interpretable Graph Similarity Computation via Differentiable Optimal Alignment of Node EmbeddingsKhoa D. Doan, Saurav Manchanda, Suchismit Mahapatra, Chandan K. ReddySIGIR 2021 · 26 citations
- Efficient Implicit Unsupervised Text Hashing using Adversarial AutoencoderKhoa D. Doan, Chandan K. ReddyWWW 2020 · 15 citations
Related papers
- Deep Hashing with Minimal-Distance-Separated Hash CentersLiangdao Wang, Yan Pan, Cong Liu, Hanjiang Lai et al.CVPR 2023
- Deep Unsupervised Hybrid-similarity Hadamard HashingWanqian Zhang, Dayan Wu, Yu Zhou, Bo Li et al.ACM MM 2020 · 40 citations
- Deep Unsupervised Image Hashing by Maximizing Bit EntropyYunqiang Li, Jan van GemertAAAI 2021 · 109 citations
- A Statistical Approach to Mining Semantic Similarity for Deep Unsupervised HashingXiao Luo, Daqing Wu, Zeyu Ma, Chong Chen et al.ACM MM 2021 · 28 citations
- Webly Supervised Image Hashing with Lightweight Semantic Transfer NetworkHui Cui, Lei Zhu, Jingjing Li, Zheng Zhang et al.ACM MM 2022 · 8 citations
