面向超快自动模型压缩的精确性能预测器学习
Learning Accurate Performance Predictors for Ultrafast Automated Model Compression
AI总结:
本文提出SeerNet框架,通过进化搜索主动选择压缩策略训练精确性能预测器,并利用带约束的梯度优化直接获取剪枝与量化策略,在显著降低搜索成本的同时实现有竞争力的精度-复杂度权衡。
摘要:
本文提出了一种名为SeerNet的超快自动模型压缩框架,用于灵活的网络部署。传统的不可微方法基于穷举训练的轻量模型的精度来离散地搜索理想的压缩策略,而现有的可微方法则优化一个极其庞大的超网络以获得部署所需的压缩模型。由于复杂的压缩策略搜索和评估过程,这两种方法都会造成沉重的计算开销。相反,我们通过使用精确的性能预测器直接优化压缩策略来获得最优的高效网络,从而在各种计算成本约束下实现超快的自动模型压缩,而无需复杂的压缩策略搜索和评估。具体来说,我们首先基于由高效进化搜索主动选择的不确定压缩策略所对应的精度来训练性能预测器,从而以可接受的代价提供信息丰富的监督信号来学习精确的性能预测器。然后,我们利用在障碍复杂度约束下最大化预测性能的梯度来超快地获取理想的压缩策略,其中采用了带动量的自适应更新步长来增强所获得的剪枝和量化策略的最优性。与最先进的自动模型压缩方法相比,在图像分类和目标检测上的实验结果表明,我们的方法在显著降低搜索成本的同时,实现了有竞争力的精度-复杂度权衡。
英文摘要:
In this paper, we propose an ultrafast automated model compression framework called SeerNet for flexible network deployment. Conventional non-differen-tiable methods discretely search the desirable compression policy based on the accuracy from exhaustively trained lightweight models, and existing differentiable methods optimize an extremely large supernet to obtain the required compressed model for deployment. They both cause heavy computational cost due to the complex compression policy search and evaluation process. On the contrary, we obtain the optimal efficient networks by directly optimizing the compression policy with an accurate performance predictor, where the ultrafast automated model compression for various computational cost constraint is achieved without complex compression policy search and evaluation. Specifically, we first train the performance predictor based on the accuracy from uncertain compression policies actively selected by efficient evolutionary search, so that informative supervision is provided to learn the accurate performance predictor with acceptable cost. Then we leverage the gradient that maximizes the predicted performance under the barrier complexity constraint for ultrafast acquisition of the desirable compression policy, where adaptive update stepsizes with momentum are employed to enhance optimality of the acquired pruning and quantization strategy. Compared with the state-of-the-art automated model compression methods, experimental results on image classification and object detection show that our method achieves competitive accuracy-complexity trade-offs with significant reduction of the search cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。