Informatics, Vol. 10, Pages 72: Sp2PS: Pruning Score by Spectral and Spatial Evaluation of CAM Images

1 year ago 22

Informatics, Vol. 10, Pages 72: Sp2PS: Pruning Score by Spectral and Spatial Evaluation of CAM Images

Informatics doi: 10.3390/informatics10030072

Authors: Diego Renza Dora Ballesteros

CNN models can have millions of parameters, which makes them unattractive for some applications that require fast inference times or small memory footprints. To overcome this problem, one alternative is to identify and remove weights that have a small impact on the loss function of the algorithm, which is known as pruning. Typically, pruning methods are compared in terms of performance (e.g., accuracy), model size and inference speed. However, it is unusual to evaluate whether a pruned model preserves regions of importance in an image when performing inference. Consequently, we propose a metric to assess the impact of a pruning method based on images obtained by model interpretation (specifically, class activation maps). These images are spatially and spectrally compared and integrated by the harmonic mean for all samples in the test dataset. The results show that although the accuracy in a pruned model may remain relatively constant, the areas of attention for decision making are not necessarily preserved. Furthermore, the performance of pruning methods can be easily compared as a function of the proposed metric.

Read Entire Article