LCS:学习可压缩子空间,用于推理时的自适应网络压缩
LCS: Learning Compressible Subspaces for Adaptive Network Compression at Inference Time
摘要:
在将深度学习模型部署到设备时,传统上假设可用的计算资源(计算、内存和电源)保持静态。然而,现实世界的计算系统并不总是提供稳定的资源保证。当来自其他进程的负载高或电池电量低时,需要节省计算资源。受神经网络子空间最近工作的启发,我们提出了一种训练神经网络的“可压缩子空间”的方法,该子空间包含从高效到高精度的细粒度模型谱。我们的模型不需要再训练,因此我们的模型子空间可以完全部署在设备上,以允许在推理时进行自适应网络压缩。我们提出的结果实现任意细粒度的准确性和效率的权衡在推理时间的结构化和非结构化稀疏。在测试未压缩模型时,我们实现了与标准模型相当的精度,并且在测试压缩模型时,稀疏率保持在90%以上的高精度。我们还证明了我们的算法扩展到可变位宽的量化,实现了与单独训练的网络相当的精度。
英文摘要:
When deploying deep learning models to a device, it is traditionally assumed that available computational resources (compute, memory, and power) remain static. However, real-world computing systems do not always provide stable resource guarantees. Computational resources need to be conserved when load from other processes is high or battery power is low. Inspired by recent works on neural network subspaces, we propose a method for training a "compressible subspace" of neural networks that contains a fine-grained spectrum of models that range from highly efficient to highly accurate. Our models require no retraining, thus our subspace of models can be deployed entirely on-device to allow adaptive network compression at inference time. We present results for achieving arbitrarily fine-grained accuracy-efficiency trade-offs at inference time for structured and unstructured sparsity. We achieve accuracies on-par with standard models when testing our uncompressed models, and maintain high accuracy for sparsity rates above 90% when testing our compressed models. We also demonstrate that our algorithm extends to quantization at variable bit widths, achieving accuracy on par with individually trained networks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。