K-Means Hashing: An Affinity-Preserving Quantization Method for Learning Binary Compact Codes

Abstract

In computer vision there has been increasing interest in learning hashing codes whose Hamming distance approximates the data similarity. The hashing functions play roles in both quantizing the vector space and generating similarity-preserving codes. Most existing hashing methods use hyper-planes (or kernelized hyper-planes) to quantize and encode. In this paper, we present a hashing method adopting the k-means quantization. We propose a novel Affinity-Preserving K-means algorithm which simultaneously performs k-means clustering and learns the binary indices of the quantized cells. The distance between the cells is approximated by the Hamming distance of the cell indices. We further generalize our algorithm to a product space for learning longer codes. Experiments show our method, named as K-means Hashing (KMH), outperforms various state-of-the-art hashing encoding methods.

Cite

Text

He et al. "K-Means Hashing: An Affinity-Preserving Quantization Method for Learning Binary Compact Codes." Conference on Computer Vision and Pattern Recognition, 2013. doi:10.1109/CVPR.2013.378

Markdown

[He et al. "K-Means Hashing: An Affinity-Preserving Quantization Method for Learning Binary Compact Codes." Conference on Computer Vision and Pattern Recognition, 2013.](https://mlanthology.org/cvpr/2013/he2013cvpr-kmeans/) doi:10.1109/CVPR.2013.378

BibTeX

@inproceedings{he2013cvpr-kmeans,
  title     = {{K-Means Hashing: An Affinity-Preserving Quantization Method for Learning Binary Compact Codes}},
  author    = {He, Kaiming and Wen, Fang and Sun, Jian},
  booktitle = {Conference on Computer Vision and Pattern Recognition},
  year      = {2013},
  doi       = {10.1109/CVPR.2013.378},
  url       = {https://mlanthology.org/cvpr/2013/he2013cvpr-kmeans/}
}