Skip to main content
QUICK REVIEW

[Paper Review] Quantitative Performance Assessment of CNN Units via Topological Entropy Calculation

Yang Zhao, Hao Zhang|arXiv (Cornell University)|Mar 17, 2021
Topological and Geometric Data AnalysisComputer Science5 citations
TL;DR

This paper proposes feature entropy—a topological entropy measure based on persistent homology—to quantitatively assess the performance of individual convolutional neural network (CNN) units in a rescaling-invariant manner. By evaluating the stability of spatial patterns in feature maps across images of the same class, feature entropy identifies effective units (high entropy) versus ineffective ones (low entropy), showing strong correlation with training loss and generalization ability, and enabling effective network pruning with minimal accuracy drop.

ABSTRACT

Identifying the status of individual network units is critical for understanding the mechanism of convolutional neural networks (CNNs). However, it is still challenging to reliably give a general indication of unit status, especially for units in different network models. To this end, we propose a novel method for quantitatively clarifying the status of single unit in CNN using algebraic topological tools. Unit status is indicated via the calculation of a defined topological-based entropy, called feature entropy, which measures the degree of chaos of the global spatial pattern hidden in the unit for a category. In this way, feature entropy could provide an accurate indication of status for units in different networks with diverse situations like weight-rescaling operation. Further, we show that feature entropy decreases as the layer goes deeper and shares almost simultaneous trend with loss during training. We show that by investigating the feature entropy of units on only training data, it could give discrimination between networks with different generalization ability from the view of the effectiveness of feature representations.

Motivation & Objective

  • To address the lack of a general, rescaling-invariant metric for assessing individual CNN unit performance across diverse architectures.
  • To identify effective units based on the stability of global spatial patterns in their feature representations, independent of activation magnitude.
  • To provide a universal, quantitative indicator for unit status that remains valid under weight rescaling and can distinguish between meaningful and random feature patterns.
  • To demonstrate the utility of feature entropy in identifying models with superior generalization ability using only training data.
  • To enable effective, performance-driven network pruning via feature entropy-based channel selection.

Proposed method

  • Define feature entropy as the information entropy of topological barcodes derived from persistent homology of feature maps across images of the same class.
  • Use persistent homology to extract topological invariants (barcodes) that capture the stability of spatial patterns in unit activations.
  • Compute feature entropy as the Shannon entropy of the barcode distribution, reflecting the regularity and consistency of spatial patterns.
  • Aggregate feature entropy across multiple classes by averaging to obtain a layer-wise or unit-wise score for model-wide assessment.
  • Apply the method in a layer-by-layer pruning strategy, selecting filters with higher feature entropy for removal to reduce FLOPs and parameters.
  • Fine-tune the pruned model using SGD with a learning rate schedule to recover performance after pruning.

Experimental results

Research questions

  • RQ1Can a topological entropy measure provide a rescaling-invariant and universally applicable metric for assessing individual CNN unit performance?
  • RQ2How does feature entropy evolve during training, and does it correlate with standard training loss and generalization capacity?
  • RQ3Can feature entropy effectively distinguish between units that represent meaningful features and those producing random or chaotic patterns?
  • RQ4To what extent can feature entropy guide effective network pruning while preserving model accuracy?
  • RQ5Does feature entropy enable discrimination between models with different generalization abilities using only training data?

Key findings

  • Feature entropy decreases monotonically as the network depth increases, indicating a progressive refinement of spatial pattern representation across layers.
  • The trend of feature entropy closely mirrors the training loss curve, suggesting it tracks the learning dynamics of the network.
  • Feature entropy remains invariant under weight rescaling operations, making it robust to architectural modifications that preserve function.
  • Units with high feature entropy consistently represent meaningful, spatially coherent features, while low entropy units exhibit chaotic or random patterns.
  • Pruning via feature entropy achieves competitive performance: at 50% pruning ratio, the model retains 99.91% of the original accuracy (0.09% drop), outperforming L1-norm and APoZ in accuracy retention.
  • Using 100 classes for feature entropy computation yields optimal accuracy, with further increases to 150 or 200 classes offering only marginal gains.

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.