Ordinal Constraint Binary Coding for Approximate Nearest Neighbor Search.

Hong Liu, Rongrong Ji, Jingdong Wang, Chunhua Shen

Abstract

Binary code learning, <i>a.k.a.</i> hashing, has been successfully applied to the approximate nearest neighbor search in large-scale image collections. The key challenge lies in reducing the quantization error from the original real-valued feature space to a discrete Hamming space. Recent advances in unsupervised hashing advocate the preservation of ranking information, which is achieved by constraining the binary code learning to be correlated with pairwise similarity. However, few unsupervised methods consider the preservation of <i>ordinal relations</i> in the learning process, which serves as a more basic cue to learn optimal binary codes. In this paper, we propose a novel hashing scheme, termed Ordinal Constraint Hashing (OCH), which embeds the ordinal relation among data points to preserve ranking into binary codes. The core idea is to construct an ordinal graph via tensor product, and then train the hash function over this graph to preserve the permutation relations among data points in the Hamming space. Subsequently, an in-depth acceleration scheme, termed Ordinal Constraint Projection (OCP), is introduced, which approximates the <inline-formula><tex-math notation="LaTeX">$n$</tex-math></inline-formula> -pair ordinal graph by <inline-formula><tex-math notation="LaTeX">$L$</tex-math></inline-formula> -pair anchor-based ordinal graph, and reduce the corresponding complexity from <inline-formula><tex-math notation="LaTeX">$O(n^4)$</tex-math></inline-formula> to <inline-formula><tex-math notation="LaTeX">$O(L^3)$</tex-math></inline-formula> ( <inline-formula><tex-math notation="LaTeX">$L\ll n$</tex-math></inline-formula> ). Finally, to make the optimization tractable, we further relax the discrete constrains and design a customized stochastic gradient decent algorithm on the Stiefel manifold. Experimental results on serval large-scale benchmarks demonstrate that the proposed OCH method can achieve superior performance over the state-of-the-art approaches.
BibTeX
@article{liu2019ordinal,
  author = {Hong Liu and Rongrong Ji and Jingdong Wang and Chunhua Shen},
  title = {{Ordinal Constraint Binary Coding for Approximate Nearest Neighbor Search.}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2019},
  url = {https://openreview.net/forum?id=Sjge4z-Bx_TB},
}

Loading related content...

Figure