mlsanityData to 7 Oct 2026

Learning to Hash Naturally Sorts

arXiv 2201.13322 ↗First posted 31 Jan 2022cs.CV cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Learning to hash pictures a list-wise sorting problem. Its testing metrics, e.g., mean-average precision, count on a sorted candidate list ordered by pair-wise code similarity. However, scarcely does one train a deep hashing model with the sorted results end-to-end because of the non-differentiable nature of the sorting operation. This inconsistency in the objectives of training and test may lead to sub-optimal performance since the training loss often fails to reflect the actual retrieval metric. In this paper, we tackle this problem by introducing Naturally-Sorted Hashing (NSH). We sort the Hamming distances of samples' hash codes and accordingly gather their latent representations for self-supervised training. Thanks to the recent advances in differentiable sorting approximations, the hash head receives gradients from the sorter so that the hash encoder can be optimized along with the training procedure. Additionally, we describe a novel Sorted Noise-Contrastive Estimation (SortedNCE) loss that selectively picks positive and negative samples for contrastive learning, which allows NSH to mine data semantic relations during training in an unsupervised manner. Our extensive experiments show the proposed NSH model significantly outperforms the existing unsupervised hashing methods on three benchmarked datasets.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 20 of its 41 references that are in the map. First posted on arXiv 31 Jan 2022.

Builds on

20 of 41 references.

References · 20

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  4. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  5. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  6. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  7. 2020Supervised Contrastive Learningcited by 2,803
  8. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
  9. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
  10. 2020Fast Differentiable Sorting and Rankingcited by 196
  11. 2019Ranked List Loss for Deep Metric Learningcited by 77
  12. 2020SoftSort: A Continuous Relaxation for the argsort Operatorcited by 66
8 more
  1. 2019DistillHash: Unsupervised Deep Hashing by Distilling Data Pairscited by 26
  2. 2020Auto-Encoding Twin-Bottleneck Hashingcited by 26
  3. 2021Unsupervised Hashing with Contrastive Information Bottleneckcited by 24
  4. 2017Binary Generative Adversarial Networks for Image Retrievalcited by 22
  5. 2020Deep Unsupervised Image Hashing by Maximizing Bit Entropycited by 20
  6. 2017Stochastic Generative Hashingcited by 17
  7. 2018BinGAN: Learning Compact Binary Descriptors with a Regularized GANcited by 13
  8. 2020CIMON: Towards High-quality Hash Codescited by 8

Built on by

Cited by year

Citing papers per year: 2022: 2; 2023: 1; 2024: 1.

4 papers.