Proceedings

Binarized Neural Networks for Resource-Efficient Hashing with Minimizing Quantization Loss

Download BibTeX Cite

Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence. Main track. Pages 1032-1040.

https://doi.org/10.24963/ijcai.2019/145

Abstract

In order to solve the problem of memory consumption and computational requirements, this paper proposes a novel learning binary neural network framework to achieve a resource-efficient deep hashing. In contrast to floating-point (32-bit) full-precision networks, the proposed method achieves a 32x model compression rate. At the same time, computational burden in convolution is greatly reduced due to efficient Boolean operations. To this end, in our framework, a new quantization loss defined between the binary weights and the learned real values is minimized to reduce the model distortion, while, by minimizing a binary entropy function, the discrete optimization is successfully avoided and the stochastic gradient descend method can be used smoothly. More importantly, we provide two theories to demonstrate the necessity and effectiveness of minimizing the quantization losses for both weights and activations. Numerous experiments show that the proposed method can achieve fast code generation without sacrificing accuracy.

  1. [Courbariaux and Bengio, 2015] Matthieu Courbariaux and Yoshua Bengio. Binaryconnect: Training deep neural net- works with binary weights during propagations. In NIPS, pages 3123-3131, 2015.
  2. [Courbariaux et al., 2016] Matthieu Courbariaux, Itay Hubara, Daniel Soudry, Ran El-Yaniv, and Yoshua Ben- gio. Binarized neural networks: Training neural networks with weights and activations constrained to +1 or 1. In NIPS, pages 4114-4122, 2016.
  3. [Do et al., 2016] Thanh-Toan Do, Anh-Dzung Doan, and Ngai-Man Cheung. Learning to hash with binary deep neural network. In ECCV, pages 219-234, 2016.
  4. [Farenzena et al., 2010] Michela Farenzena, Loris Bazzani, Alessandro Perina, Vittorio Murino, and Marco Cristani. Person re-identification by symmetry-driven accumulation of local features. In CVPR, pages 2360-2367, 2010.
  5. [Gong et al., 2013] Yunchao Gong, Svetlana Lazebnik, Al- bert Gordo, and Florent Perronnin. Iterative quantization: A procrustean approach to learning binary codes for large- scale image retrieval. IEEE TPAMI, 35(12):2916 -2929, 2013.
  6. [Han et al., 2015] Song Han, Jeff Pool, John Tran, and William J. Dally. Learning both weights and connections for efficient neural network. In NIPS, pages 1135-1143, 2015.
  7. [Heo et al., 2015] Jae-Pil Heo, Youngwoon Lee, Junfeng He, Shih-Fu Chang, and Sung-Eui Yoon. Spherical hashing: Binary code embedding with hyperspheres. IEEE TPAMI, 37(11):2304-2316, 2015.
  8. [Hinton et al., 2015] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. In arXiv preprint arXiv:1503.02531, 2015.
  9. [Hou et al., 2017] Lu Hou, Quanming Yao, and James T. Kwok. Loss-aware binarization of deep networks. In ICLR, 2017.
  10. [Huang et al., 2016] Chen Huang, Chen Change Loy, and Xiaoou Tang. Unsupervised learning of discriminative at- tributes and visual representations. In CVPR, pages 5175- 5184, 2016.
  11. [Indyk and Motwani, 1998] Piotr Indyk and Rajeev Mot- wani. Approximate nearest neighbors: towards remov- ing the curse of dimensionality. In STOC, pages 604-613, 1998.
  12. [Krizhevsky and Hinton, 2009] Alex Krizhevsky and Geof- frey Hinton. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009.
  13. [Krizhevsky et al., 2012] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. Imagenet classification with deep convolutional neural networks. In NIPS, pages 1097- 1105, 2012.
  14. [Lai et al., 2015] Hanjiang Lai, Yan Pan, Ye Liux, and Shuicheng Yan. Simultaneous feature learning and hash coding with deep neural networks. In CVPR, pages 3270- 3278, 2015.
  15. [Li et al., 2016] Fengfu Li, Bo Zhang, and Bin Liu. Ternary weight networks. In Workshop in NIPS, 2016.
  16. [Liny et al., 2016] Kevin Liny, Jiwen Luz, Chu-Song Cheny, and Jie Zhou. Learning compact binary descriptors with unsupervised deep neural networks. In CVPR, pages 1183-1192, 2016.
  17. [Liong et al., 2015] Venice Erin Liong, Jiwen Lu, Gang Wang, Pierre Moulin, and Jie Zhou. Deep hashing for compact binary codes learning. In CVPR, pages 2475- 2483, 2015.
  18. [Liu et al., 2016a] Haomiao Liu, Ruiping Wang, Shiguang Shan, and Xilin Chen. Deep supervised hashing for fast image retrieval. In CVPR, pages 2064-2072, 2016.
  19. [Liu et al., 2016b] Xinchen Liu, Wu Liu, Tao Mei, and Huadong Ma. A deep learning-based approach to pro- gressive vehicle re-identification for urban surveillance. In ECCV, pages 869-884, 2016.
  20. [Perpinan and Raziperchikolaei, 2015] Miguel A. Carreira Perpinan and Ramin Raziperchikolaei. Hashing with bi- nary autoencoders. In CVPR, pages 557-566, 2015.
  21. [Rastegariy et al., 2016] Mohammad Rastegariy, Vicente Ordonezy, Joseph Redmon, and Ali Farhadi. Xnor-net: Imagenet classification using binary convolutional neural networks. In ECCV, pages 525-542, 2016.
  22. [Schrof et al., 2015] Florian Schrof, Dmitry Kalenichenko, and James Philbin. Facenet: A unified embedding for face recognition and clustering. In CVPR, pages 815-823, 2015.
  23. [Shen et al., 2015] Fumin Shen, Chunhua Shen, Wei Liu, and Heng Tao Shen. Supervised discrete hashing. In CVPR, pages 37-45, 2015.
  24. [Simonyan and Zisserman, 2015] Karen Simonyan and An- drew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015.
  25. [Szegedy et al., 2015] Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Du- mitru Erhan Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. In CVPR, pages 1-9, 2015.
  26. [van de Weijer et al., 2007] Joost van de Weijer, Cordelia Schmid, Jakob Verbeek, and Diane Larlus. Learning color names for real-world applications. In CVPR, 2007.
  27. [Venkateswara et al., 2017] Hemanth Venkateswara, Jose Eusebio, Shayok Chakraborty, and Sethuraman Pan- chanathan. Deep hashing network for unsupervised do- main adaptation. In CVPR, pages 5018-5027, 2017.
  28. [Wang et al., 2012] Jun Wang, Sanjiv Kumar, and Shih-Fu Chang. Semi-supervised hashing for large-scale search. IEEE TPAMI, 34(12):2393-2406, 2012.
  29. [Weiss et al., 2009] Yair Weiss, Torralba, and Rob Fergus. Spectral hashing. In NIPS, pages 1753-1760, 2009.
  30. [Yan et al., 2007] Shuicheng Yan, Dong Xu, Benyu Zhang, Hong jiang Zhang, Qiang Yang, and Stephen Lin. Graph embedding and extensions: A general framework for di- mensionality reduction. IEEE TPAMI, 29(1), 2007.
  31. [Zhao et al., 2013a] Rui Zhao, Wanli Ouyang, and Xiaogang Wang. Person re-identification by salience matching. In ICCV, pages 2528-2535, 2013.
  32. [Zhao et al., 2013b] Rui Zhao, Wanli Ouyang, and Xiaogang Wang. Unsupervised salience learning for person re- identification. In CVPR, pages 3586-3593, 2013.
  33. [Zhao et al., 2014] Rui Zhao, Wanli Ouyang, and Xiao- gang Wang. Learning mid-level filters for person re- identification. In Proc. CVPR, pages 144-151, 2014.
  34. [Zhao et al., 2015] Fang Zhao, Yongzhen Huang, Liang Wang, and Tieniu Tan. Deep semantic ranking based hash- ing for multi-label image retrieval. In CVPR, pages 1556- 1564, 2015.
  35. [Zheng et al., 2015] Liang Zheng, Liyue Shen, Lu Tian, Shengjin Wang, Jingdong Wang, and Qi Tian. Scalable person re-identification: A benchmark. In ICCV, pages 1116-1124, 2015.
  36. [Zhou et al., 2016] Shuchang Zhou, Yuxin Wu, Zekun Ni, Xinyu Zhou, He Wen, and Yuheng Zou. Dorefa-net: Train- ing low bitwidth convolutional neural networks with low bitwidth gradients. In arXiv:1606.06160, 2016.
  37. [Zhu et al., 2016] Han Zhu, Mingsheng Long, Jianmin- Wang, and Yue Cao. Deep hashing network for efficient similarity retrieval. In AAAI, pages 2415-2421, 2016.
  38. [Zhu et al., 2017] Chenzhuo Zhu, Song Han, Huizi Mao, and William J. Dally. Trained ternary quantization. In LCLR, 2017.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards