English

HadaNets: Flexible Quantization Strategies for Neural Networks

Computer Vision and Pattern Recognition 2020-04-15 v1 Machine Learning

Abstract

On-board processing elements on UAVs are currently inadequate for training and inference of Deep Neural Networks. This is largely due to the energy consumption of memory accesses in such a network. HadaNets introduce a flexible train-from-scratch tensor quantization scheme by pairing a full precision tensor to a binary tensor in the form of a Hadamard product. Unlike wider reduced precision neural network models, we preserve the train-time parameter count, thus out-performing XNOR-Nets without a train-time memory penalty. Such training routines could see great utility in semi-supervised online learning tasks. Our method also offers advantages in model compression, as we reduce the model size of ResNet-18 by 7.43 times with respect to a full precision model without utilizing any other compression techniques. We also demonstrate a 'Hadamard Binary Matrix Multiply' kernel, which delivers a 10-fold increase in performance over full precision matrix multiplication with a similarly optimized kernel.

Keywords

Cite

@article{arxiv.1905.10759,
  title  = {HadaNets: Flexible Quantization Strategies for Neural Networks},
  author = {Yash Akhauri},
  journal= {arXiv preprint arXiv:1905.10759},
  year   = {2020}
}

Comments

Accepted in CVPR 2019, UAVision 2019

R2 v1 2026-06-23T09:24:34.698Z