Towards Memory-Efficient Neural Networks via Multi-Level in situ Generation

Jiaqi Gu, Hanqing Zhu, Chenghao Feng, Mingjie Liu, Zixuan Jiang +2 more
8/25/2021
cs.LGcs.ET

Official code: JeremieMelo/Memory-Efficient-Multi-Level-Generation (5 stars, Python, MIT, last commit 2021-12-27).

Abstract

Deep neural networks (DNN) have shown superior performance in a variety of tasks. As they rapidly evolve, their escalating computation and memory demands make it challenging to deploy them on resource-constrained edge devices.

Show full abstract

Though extensive efficient accelerator designs, from traditional electronics to emerging photonics, have been successfully demonstrated, they are still bottlenecked by expensive memory accesses due to tremendous gaps between the bandwidth/power/latency of electrical memory and computing cores. Previous solutions fail to fully-leverage the ultra-fast computational speed of emerging DNN accelerators to break through the critical memory bound. In this work, we propose a general and unified framework to trade expensive memory transactions with ultra-fast on-chip computations, directly translating to performance improvement. We are the first to jointly explore the intrinsic correlations and bit-level redundancy within DNN kernels and propose a multi-level in situ generation mechanism with mixed-precision bases to achieve on-the-fly recovery of high-resolution parameters with minimum hardware overhead. Extensive experiments demonstrate that our proposed joint method can boost the memory efficiency by 10-20x with comparable accuracy over four state-of-the-art designs, when benchmarked on ResNet-18/DenseNet-121/MobileNetV2/V3 with various tasks.

View on arXivView PDF

Code Implementations(1)

MIT

Implementation of Memory-Efficient Neural Networks with Multi-Level Generation, ICCV 2021

52PythonDec 27, 20214 years agoMIT
computer-visionefficiencylowrankmachine-learning

Similar Papers

Cite this paper

@article{gu2021towards,
  title  = {Towards Memory-Efficient Neural Networks via Multi-Level in situ Generation},
  author = {Jiaqi Gu and Hanqing Zhu and Chenghao Feng and Mingjie Liu and Zixuan Jiang and Ray T. Chen and David Z. Pan},
  year   = {2021},
  eprint = {2108.11430},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.11430}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.11430.svg)](https://codeofpaper.com/paper/2108.11430)

Discussion