Skip to main content
Log in

Deep semantic preserving hashing for large scale image retrieval

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Hashing approaches have got a great attention because of its efficient performance for large-scale images. This paper, aims to propose a deep hashing method which can combines stacked convolutional autoencoder with hashing learning, where the input image hierarchically maps to the low dimensional space. The proposed method DCAH contains encoder-decoder, and supervisory sub-network, that generates a low dimensional binary code in a layer-wised manner of the deep conventional neural network. To optimizing the hash algorithm, we added some extra relaxations constraint to the objective function. In our extensive experiments on ultra-high dimensional image datasets, our results demonstrate that the decoder structure can improve the hashing method to preserve the similarities in hashing codes; also, DCAH achieves the best performance comparing to other states of the art approaches.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

References

  1. Abadi M, Agarwal A, Barham P, Brevdo E, Chen Z, Citro C, Corrado GS, Davis A, Dean J, Devin M et al (2015) Tensorflow: large-scale machine learning on heterogeneous systems

  2. Alvear-Sandoval RF, Figueiras-Vidal AR (2018) On building ensembles of stacked denoising auto-encoding classifiers and their further improvement. Information Fusion 39:4152–4152. https://doi.org/10.1016/j.inffus.2017.03.008

    Article  Google Scholar 

  3. Andoni A, Indyk P (2006) Near-optimal hashing algorithms for approximate nearest neighbor in high dimensions. In: 47th annual IEEE symposium on foundations of computer science, pp 459–468

  4. Chang SF, Jiang YG, Ji R, Wang J, Liu W (2012) Supervised hashing with kernels. IEEE conference on computer vision and pattern recognition, pp 2074–2081

  5. Chollet F (2015) Keras: https://github.com/fchollet/keras

  6. Dalal N, Triggs B (2005) Histograms of oriented gradients for human detection. IEEE conference on computer vision and pattern recognition, CVPR, pp 886–893

  7. Dilokthanakul N, Mediano PAM, Garnelo M, Lee MCH, Salimbeni H, Kai A, Shanahan M (2016) Deep unsupervised clustering with gaussian mixture variational autoencoders. arXiv preprint arXiv:1611.02648

    Google Scholar 

  8. Ding K, Chen S, Meng F (2018) A novel perceptual hash algorithm for multispectral image authentication. Algorithms 11(1). https://doi.org/10.3390/a11010006

  9. Doersch C (2016) Tutorial on variational autoencoders. arXiv preprint arXiv:1606.05908

    Google Scholar 

  10. Dong Z, Jia S, Wu T, Pei M (2016) Face video retrieval via deep learning of binary hash representations. AAAI'16 proceedings of the thirtieth AAAI conference on artificial intelligence, pp 3471–3477

  11. En S, Crémilleux B, Jurie F (2017) Un-supervised deep hashing with stacked convolutional autoencoders. ICIP conference

  12. Gionis A, Indyk P, Motwani R (1999) Similarity search in high dimensions via hashing. In: Proceedings of 25th international conference on very large data bases (VLDB), pp 518–529

  13. Gong Y, Lazebnik S, Gordo A, Perronnin F (2013) Iterative quantization: a procrustean approach to learning binary codes for large-scale image retrieval. IEEE Trans PAMI 35(12):2916–2929

    Article  Google Scholar 

  14. He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. Computer vision and pattern recognition, pp 770–778

  15. Krizhevsky A (2009) Learning multiple layers of features from tiny images. Master’s thesis, technical report TR-2009, University of Toronto

  16. Krizhevsky A, Sutskever I, Hinton GE (2012) Imagenet classification with deep convolutional neural networks. International conference on neural information processing systems, pp 1097–1105

  17. Kuchaiev O, Ginsburg B (2018) Training deep autoencoders for recommender systems. In: International conference on learning representations

  18. Kulis B, Darrell T (2009) Learning to hash with binary reconstructive embeddings. In: NIPS

  19. Kulis B, Grauman K (2012) Kernelized localitysensitive hashing. IEEE Trans Pattern Anal Mach Intell 34(6):1092–1104

    Article  Google Scholar 

  20. Lai H, Pan Y, Liu Y, Yan S (2015) Simultaneous feature learning and hash coding with deep neural networks. In: CVPR, pp 3270–3278

  21. Lai S, Xu L, Liu K, Zhao J (2015) Recurrent convolutional neural networks for text classification. In: AAAI, pp 2267–2273

  22. Lazebnik S (2011) Iterative quantization: a procrustean approach to learning binary codes. IEEE conference on computer vision and pattern recognition, pp 817–824

  23. Lcun Y, Bottou L, Bengio Y, Haffner P (1998) Gradient-based learning applied to document recognition. Proc IEEE 86(11):2278–2324

    Article  Google Scholar 

  24. Liu L, Shao L (2016) Sequential compact code learning for unsupervised image hashing. IEEE Trans Neural Netw learn Syst 27(12):2526–2536

    Article  Google Scholar 

  25. Liu W, Wang J, Kumar S, Chang SF (2011) Hashing with graphs. International conference on machine learning, ICML 2011, Bellevue, Washington, USA, June 28 - July, pp 1–8

  26. Liu W, Wang J, Ji R, Jiang Y-G, Chang S-F (2012) Supervised hashing with kernels. In: Proceedings of computer vision and pattern recognition (CVPR), pp 2074–2081

  27. Liu H, Wang R, Shan S, Chen X (2016) Deep supervised hashing for fast image retrieval. IEEE conference on computer vision and pattern recognition, pp 2064–2072

  28. Liu H, Wang R, Shan S, Chen X (2016) Deep supervised hashing for fast image retrieval. In: CVPR, pp 2064–2072

  29. Netzer Y, Wang T, Coates A, Bissacco A, Wu B, Ng AY (2011) Reading digits in natural images with unsupervised feature learning. NIPS workshop on deep learning and unsupervised feature learning

  30. Norouzi M, Fleet DJ (2011) Minimal loss hashing for compact binary codes. In: Proceedings of 28th international conference on machine learning (ICML), pp 353–360

  31. Oliva A, Torralba A (2001) Modeling the shape of the scene: a holistic representation of the spatial en-velope. Int J Comput Vis 42(3):145–175

    Article  MATH  Google Scholar 

  32. Pu Y, Gan Z, Henao R, Yuan X, Li C, Stevens A, Carin L (2016) Variational autoencoder for deep learning of images, labels and captions. In: NIPS Conference, pp 2352–2360

  33. Shao J, Wu F, Ouyang C, Zhang X (2012) Sparse spectral hashing. Pattern Recogn Lett 33(3):271–277

    Article  Google Scholar 

  34. Sun Y, Chen Y, Wang X, Tang X (2014) Deep learning face representation by joint identification-verification. In: NIPS

  35. Tang J, Li Z, Wang M, Zhao R (2015) Neighborhood discriminant hashing for large-scale image retrieval. IEEE TIP 24(9):2827–2840

    MathSciNet  MATH  Google Scholar 

  36. Tang J, Li Z, Zhu X (2018) Supervised deep hashing for scalable face image retrieval. Pattern Recogn 2017. https://doi.org/10.1016/j.patcog.2017.03.028

  37. Vincent P, Larochelle H, Lajoie I, Bengio Y, Manzagol PA (2010) Stacked denoising autoencoders: learning useful representations in a deep network with a local denoising criterion. J Mach Learn Res 11(12):3371–3408

    MathSciNet  MATH  Google Scholar 

  38. Wang J, Zhang T, Song J, Sebe N, Shen HT (2017) A survey on learning to hash. IEEE Trans Pattern Anal Mach Intell 13(9):1–21

    Google Scholar 

  39. Weiss Y, Torralba A, Fergus R (2008) Spectral hashing. In: Neural information processing systems (NIPS), pp 1753–1760

  40. Xia R, Pan Y, Lai H, Liu C, Yan S (2014) Supervised hashing for image retrieval via image representation learning. Twenty-eighth AAAI conference on artificial intelligence, pp 2156–2162

  41. Yang HF, Lin K, Chen CS (2015) Supervised learning of semantics-preserving hash via deep convolutional neural networks. IEEE Trans Pattern Anal Mach Intell PP(99):1–1

    Google Scholar 

  42. Yu A, Grauman K (2014) Fine-grained visual comparisons with local learning. IEEE , pp 192–199

  43. Zareapoor M, Shamsolmolai P, Kumar Jain D, Haoxiang W, Jie Y (2017) Kernelized support vector machine with deep learning: an efficient approach for extreme multiclass dataset. Pattern Recogn Lett. https://doi.org/10.1016/j.patrec.2017.09.018

  44. Zelnik-Manor L, Perona P (2014) Self-tuning spectral clustering. In: Proceedings of advances in neural information processing systems (NIPS), pp 1601–1608

  45. Zhao F, Huang Y, Wang L, Tan T (2015) Deep semantic ranking based hashing for multi-label image retrieval. In: CVPR

  46. Zhu H, Long M, Wang J, Cao Y (2016) Deep hashing network for efficient similarity retrieval. In: AAAI

Download references

Acknowledgments

This research was supported by NSFC, China (No: 61603171) and 863 PlanChina (No.2015AA042308).

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Masoumeh Zareapoor or Jie Yang.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zareapoor, M., Yang, J., Jain, D.K. et al. Deep semantic preserving hashing for large scale image retrieval. Multimed Tools Appl 78, 23831–23846 (2019). https://doi.org/10.1007/s11042-018-5970-0

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-018-5970-0

Keywords