Skip to main content
QUICK REVIEW

[Paper Review] Interpreting Convolutional Neural Networks Through Compression

Reza Abbasi-Asl, Bin Yu|arXiv (Cornell University)|Nov 7, 2017
Explainable Artificial Intelligence (XAI)Computer Science8 references15 citations
TL;DR

This paper proposes a filter pruning method based on Classification Accuracy Reduction (CAR) to interpret Convolutional Neural Networks (CNNs) through structural compression. By iteratively pruning filters with minimal impact on accuracy, the method reveals that pruned filters are often visually redundant, such as color-selective filters, while the most important filters are shape-selective. The key contribution is a class-based CAR index that links filter importance to specific image classes, enabling interpretable, human-readable explanations of filter functionality.

ABSTRACT

Convolutional neural networks (CNNs) achieve state-of-the-art performance in a wide variety of tasks in computer vision. However, interpreting CNNs still remains a challenge. This is mainly due to the large number of parameters in these networks. Here, we investigate the role of compression and particularly pruning filters in the interpretation of CNNs. We exploit our recently-proposed greedy structural compression scheme that prunes filters in a trained CNN. In our compression, the filter importance index is defined as the classification accuracy reduction (CAR) of the network after pruning that filter. The filters are then iteratively pruned based on the CAR index. We demonstrate the interpretability of CAR-compressed CNNs by showing that our algorithm prunes filters with visually redundant pattern selectivity. Specifically, we show the importance of shape-selective filters for object recognition, as opposed to color-selective filters. Out of top 20 CAR-pruned filters in AlexNet, 17 of them in the first layer and 14 of them in the second layer are color-selective filters. Finally, we introduce a variant of our CAR importance index that quantifies the importance of each image class to each CNN filter. We show that the most and the least important class labels present a meaningful interpretation of each filter that is consistent with the visualized pattern selectivity of that filter.

Motivation & Objective

  • To address the challenge of interpreting complex CNNs due to their large number of parameters.
  • To develop a structural compression method that preserves performance while enhancing interpretability.
  • To identify which filters contribute most to classification by measuring their impact on accuracy.
  • To introduce a class-based importance index (CAR^c) that links filter function to specific image categories.
  • To demonstrate that filter pruning based on CAR reveals visually redundant and functionally meaningful filters.

Proposed method

  • Proposes a greedy structural compression scheme that prunes filters based on their Classification Accuracy Reduction (CAR) after removal.
  • Defines filter importance as the drop in top-1 accuracy when a filter is removed, with pruning prioritized from least to most impactful.
  • Uses iterative pruning with retraining after each step to maintain performance.
  • Introduces a variant, CAR^c(i,L), which measures accuracy reduction per image class c when filter i in layer L is pruned.
  • Visualizes filter pattern selectivity using top-activating image patches and correlates them with high/low CAR^c classes.
  • Applies the method to AlexNet and LeNet, focusing on early and mid-level convolutional layers for interpretability.

Experimental results

Research questions

  • RQ1Which filters in a CNN are functionally redundant, and can they be systematically identified through compression?
  • RQ2Does filter pruning based on CAR lead to interpretable network structures that reflect visual pattern selectivity?
  • RQ3Can the importance of a filter be meaningfully interpreted through its dependency on specific image classes?
  • RQ4How does the class-based CAR^c index correlate with visual pattern selectivity of filters?
  • RQ5To what extent does CAR-based compression preserve classification accuracy while enabling human interpretation?

Key findings

  • Out of the top 20 CAR-pruned filters in AlexNet’s first layer, 17 were color-selective, indicating that color-selective filters are functionally redundant.
  • In the second layer of AlexNet, 14 of the top 20 CAR-pruned filters were color-selective, reinforcing the finding that such filters are less critical for recognition.
  • The most important filters identified by CAR are shape-selective, such as those detecting elliptical or linear structures, which align with object recognition needs.
  • For filters in layer 5 of AlexNet, the classes with highest CAR^c values (e.g., 'steep arch bridge', 'soup bowl') visually match the patterns activated by the filter, confirming consistency between class dependency and visual selectivity.
  • The class-based CAR^c index successfully identifies the most and least dependent image classes for each filter, providing a verbal, interpretable explanation of filter function.
  • Even after pruning 102 filters from the second layer of AlexNet (from 256), 37% to 49% of ImageNet classes maintained classification accuracy within 3% of the original network.

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.