Skip to main content
QUICK REVIEW

[Paper Review] CNNPruner: Pruning Convolutional Neural Networks with Visual Analytics

Li Guan, Junpeng Wang|arXiv (Cornell University)|Sep 8, 2020
Human Pose and Action RecognitionComputer Science33 references7 citations
TL;DR

CNN Pruner is a visual analytics system that enables deep learning experts to interactively design and refine convolutional neural network (CNN) pruning plans by leveraging filter importance metrics—instability and sensitivity—alongside interactive visualizations. It improves pruning efficiency and accuracy trade-offs by allowing users to iteratively adjust pruning strategies based on real-time feedback from model statistics, filter visualization, and instance-level analysis, outperforming automated threshold-based methods in controlled case studies.

ABSTRACT

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.

Motivation & Objective

  • To address the limitations of automated CNN pruning methods that rely on fixed numerical thresholds, leading to suboptimal trade-offs between model size and accuracy.
  • To improve transparency and controllability in the iterative pruning and fine-tuning pipeline, which is often opaque and difficult to optimize.
  • To empower domain experts with interactive visual tools to understand filter roles, diagnose model behavior, and refine pruning strategies in real time.
  • To provide a systematic way to identify and analyze degenerated and improved data instances during pruning, enhancing model interpretability and robustness.
  • To support flexible, goal-driven pruning by enabling users to set desired model size or accuracy targets and interactively adjust pruning plans accordingly.

Proposed method

  • CNN Pruner introduces two novel filter importance metrics—instability and sensitivity—to guide pruning decisions, combining structural and activation-based analysis of filters.
  • The system features a Tree View to track and compare multiple pruning plans across iterative stages, enabling version control and interactive reprocessing.
  • The Statistics View visualizes loss/accuracy fluctuations, recovery capability, and recovery cost to help users assess model stability and adjust pruning depth.
  • The Model View integrates instability and sensitivity metrics with interactive visual hints, allowing users to select and prune filters based on dynamic, data-driven importance scores.
  • The Filter View provides detailed, interactive visualizations of individual filters, enabling users to inspect feature maps and refine pruning plans based on filter semantics.
  • The system supports progressive pruning with real-time feedback on model performance and instance-level changes, including degenerated and improved predictions.

Experimental results

Research questions

  • RQ1How can visual analytics improve the interpretability and controllability of the CNN pruning process, especially in balancing efficiency and accuracy?
  • RQ2What visual and interactive techniques can help experts understand the roles of individual filters and assess their importance beyond numerical thresholds?
  • RQ3How can the system support flexible, user-driven pruning strategies that adapt to model-specific characteristics rather than relying on fixed pruning rules?
  • RQ4In what ways can visual analytics help diagnose anomalies and model degradation during iterative pruning and fine-tuning?
  • RQ5How can the system facilitate comparison and refinement of different pruning plans based on multiple criteria, including recovery cost and model stability?

Key findings

  • CNN Pruner enables users to create more effective pruning plans than automated threshold-based methods by leveraging interactive visual feedback and multi-criteria filter importance estimation.
  • The integration of instability and sensitivity metrics significantly improves the precision of filter selection, reducing unnecessary pruning and preserving model accuracy.
  • The Tree View and Statistics View allow experts to monitor model evolution and detect early signs of over-pruning or poor recovery, enabling timely strategy adjustments.
  • The Filter View successfully reveals the functional roles of filters, allowing experts to identify and preserve critical features, especially in complex or ambiguous image regions.
  • Case studies on real-world CNN models (e.g., VGG-16) demonstrate that CNN Pruner achieves better accuracy retention at higher compression ratios compared to baseline automated pruning approaches.
  • Domain experts confirmed that CNN Pruner enhances model interpretability and provides practical tools for refining pruning plans, particularly through the identification of degenerated and improved test instances.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.