arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.09940cs.CVcs.GR
收藏

CNNPruner:使用可视化分析修剪卷积神经网络

CNNPruner: Pruning Convolutional Neural Networks with Visual Analytics

Computer Network Information Center, Chinese Academy of Sciences(中国科学院计算机网络信息中心);University of Chinese Academy of Sciences(中国科学院大学);Visa Research(Visa研究院);The Ohio State University(俄亥俄州立大学)

Guan Li, Junpeng Wang, Han-Wei Shen, Kaixin Chen, Guihua Shan, Zhonghua Lu

摘要:

卷积神经网络(CNN)在许多计算机视觉任务中表现出非常好的性能。然而,CNN模型的增加的大小阻止它们被广泛部署到具有有限计算资源的设备,例如,移动/嵌入式设备。模型修剪的新兴主题致力于通过删除不太重要的神经元并微调修剪后的网络来解决这个问题,以最大限度地减少准确性损失。然而,现有的自动修剪解决方案往往依赖于修剪标准的数值阈值,缺乏灵活性,以最佳地平衡模型大小和准确性之间的权衡。此外,神经元修剪和模型微调阶段之间的复杂相互作用使得这个过程不透明,因此难以优化。在本文中,我们通过一种名为CNNPruner的可视化分析方法来解决这些挑战。它通过不稳定性和敏感性来考虑卷积滤波器的重要性,并允许用户根据模型大小或准确性的期望目标交互式地创建修剪计划。此外,CNNPruner集成了最先进的过滤器可视化技术,以帮助用户了解不同过滤器所扮演的角色,并改进其修剪计划。通过对具有真实世界大小的CNN进行全面的案例研究,我们验证了CNNPruner的有效性。

英文摘要:

Convolutional neural networks (CNNs) have demonstrated extraordinarily good performance in many computer vision tasks. The increasing size of CNN models, however, prevents them from being widely deployed to devices with limited computational resources, e.g., mobile/embedded devices. The emerging topic of model pruning strives to address this problem by removing less important neurons and fine-tuning the pruned networks to minimize the accuracy loss. Nevertheless, existing automated pruning solutions often rely on a numerical threshold of the pruning criteria, lacking the flexibility to optimally balance the trade-off between model size and accuracy. Moreover, the complicated interplay between the stages of neuron pruning and model fine-tuning makes this process opaque, and therefore becomes difficult to optimize. In this paper, we address these challenges through a visual analytics approach, named CNNPruner. It considers the importance of convolutional filters through both instability and sensitivity, and allows users to interactively create pruning plans according to a desired goal on model size or accuracy. Also, CNNPruner integrates state-of-the-art filter visualization techniques to help users understand the roles that different filters played and refine their pruning plans. Through comprehensive case studies on CNNs with real-world sizes, we validate the effectiveness of CNNPruner.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑