From Hashing to CNNs: Training Binary Weight Networks via Hashing

Authors

  • Qinghao Hu Institute of Automation, Chinese Academy of Sciences; University of Chinese Academy of Sciences
  • Peisong Wang Institute of Automation, Chinese Academy of Sciences; University of Chinese Academy of Sciences
  • Jian Cheng Institute of Automation, Chinese Academy of Sciences; University of Chinese Academy of Sciences

DOI:

https://doi.org/10.1609/aaai.v32i1.11660

Keywords:

Hashing, Binary Weight Network, CNNs

Abstract

Deep convolutional neural networks (CNNs) have shown appealing performance on various computer vision tasks in recent years. This motivates people to deploy CNNs to real-world applications. However, most of state-of-art CNNs require large memory and computational resources, which hinders the deployment on mobile devices. Recent studies show that low-bit weight representation can reduce much storage and memory demand, and also can achieve efficient network inference. To achieve this goal, we propose a novel approach named BWNH to train Binary Weight Networks via Hashing. In this paper, we first reveal the strong connection between inner-product preserving hashing and binary weight networks, and show that training binary weight networks can be intrinsically regarded as a hashing problem. Based on this perspective, we propose an alternating optimization method to learn the hash codes instead of directly learning binary weights. Extensive experiments on CIFAR10, CIFAR100 and ImageNet demonstrate that our proposed BWNH outperforms current state-of-art by a large margin.

Downloads

Published

2018-04-29

How to Cite

Hu, Q., Wang, P., & Cheng, J. (2018). From Hashing to CNNs: Training Binary Weight Networks via Hashing. Proceedings of the AAAI Conference on Artificial Intelligence, 32(1). https://doi.org/10.1609/aaai.v32i1.11660