Neural Network Compression for Noisy Storage Devices

被引:3
作者
Isik, Berivan [1 ]
Choi, Kristy [2 ]
Zheng, Xin [3 ]
Weissman, Tsachy [1 ]
Ermon, Stefano [2 ]
Wong, H. -S. Philip [3 ]
Alaghi, Armin [4 ]
机构
[1] Stanford Univ, 350 Jane Stanford Way, Stanford, CA 94305 USA
[2] Stanford Univ, 353 Jane Stanford Way, Stanford, CA 94305 USA
[3] Stanford Univ, 330 Jane Stanford Way, Stanford, CA USA
[4] Meta Real Labs, 9845 Willows Rd NE, Redmond, WA 98052 USA
关键词
Neural networks; robustness; compression; analog storage; PCM; MODEL COMPRESSION; ACCELERATION; ALGORITHM;
D O I
10.1145/3588436
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Compression and efficient storage of neural network (NN) parameters is critical for applications that run on resource-constrained devices. Despite the significant progress in NN model compression, there has been considerably less investigation in the actual physical storage of NN parameters. Conventionally, model compression and physical storage are decoupled, as digital storage media with error-correcting codes (ECCs) provide robust error-free storage. However, this decoupled approach is inefficient as it ignores the overparameterization present in most NNs and forces the memory device to allocate the same amount of resources to every bit of information regardless of its importance. In this work, we investigate analog memory devices as an alternative to digital media - one that naturally provides a way to add more protection for significant bits unlike its counterpart, but is noisy and may compromise the stored model's performance if used naively. We develop a variety of robust coding strategies for NN weight storage on analog devices, and propose an approach to jointly optimize model compression and memory resource allocation. We then demonstrate the efficacy of our approach on models trained on MNIST, CIFAR-10, and ImageNet datasets for existing compression techniques. Compared to conventional error-free digital storage, our method reduces the memory footprint by up to one order of magnitude, without significantly compromising the stored model's accuracy.
引用
收藏
页数:29
相关论文
共 76 条
[21]  
Fan Angela, 2020, Training with quantization noise for extreme model compression
[22]   Phase-Change Memory-Towards a Storage-Class Memory [J].
Fong, Scott W. ;
Neumann, Christopher M. ;
Wong, H. -S. Philip .
IEEE TRANSACTIONS ON ELECTRON DEVICES, 2017, 64 (11) :4374-4385
[23]  
Frankle J., 2019, ICLR
[24]  
Grosse R, 2016, PR MACH LEARN RES, V48
[25]  
Guo YW, 2016, ADV NEUR IN, V29
[26]  
Han S., 2016, DEEP COMPRESSION COM
[27]  
Han S, 2015, ADV NEUR IN, V28
[28]  
Hassibi B., 1993, Advances in Neural Information Processing Systems, P263, DOI DOI 10.5555/2987189.2987223
[29]  
Havasi M., 2019, INT C LEARNING REPRE
[30]   Deep Residual Learning for Image Recognition [J].
He, Kaiming ;
Zhang, Xiangyu ;
Ren, Shaoqing ;
Sun, Jian .
2016 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2016, :770-778