Abstract
Modern Convolutional Neural Networks (CNNs) achieve high performance at the cost of significant over-parameterization, hindering deployment on resource-constrained edge devices. While structured pruning offers a path toward hardware-compatible compression, traditional methods often rely on spatial-domain metrics that fail to capture the full informational importance of feature maps. This paper presents Common Frequency Domain Pruning (CFDP), a novel approach that leverages the Discrete Cosine Transform (DCT) to identify and remove redundant channels. By analyzing spectral energy and distribution, CFDP achieves state-of-the-art compression ratios—reducing parameters and FLOPs by over 40%—while maintaining or even improving model accuracy.
1. Introduction
The proliferation of deep learning in mobile and embedded systems has intensified the need for efficient model compression. Pruning, the process of removing redundant parameters, is a primary strategy for reducing the computational footprint of CNNs. However, a fundamental challenge remains: how to accurately quantify the "importance" of a specific channel. Most existing techniques operate in the spatial domain, using metrics like the $L^1$-norm of weights. CFDP shifts this paradigm to the frequency domain, arguing that the distribution of information across frequencies provides a more robust signal for pruning than pixel-level intensity.
2. Methodology
CFDP introduces a multi-stage pipeline designed to extract and rank the saliency of feature maps based on their frequency components.
2.1 Gaussian Pre-processing
To ensure the pruning process focuses on meaningful signals rather than high-frequency noise, feature maps are first processed through a Gaussian filter. This step smooths the data, emphasizing the lower frequencies that typically contain the most critical structural information for classification.
2.2 Frequency Transformation
The core of the method involves applying the Discrete Cosine Transform (DCT) to the pre-processed feature maps. Similar to its application in JPEG compression, the DCT decomposes spatial data into a set of frequency coefficients. This allows the algorithm to distinguish between channels that contribute significant "energy" to the network's representation and those that are essentially redundant.
2.3 The Saliency Metric ($\mathcal{L}$)
CFDP employs a dual-component scoring system to rank channels:
- Frequency Score ($\mathcal{L}_{Fq}$): This component measures both the magnitude (spectral energy) and the distribution (how spread out the energy is across the frequency spectrum). Channels with high energy concentrated in informative frequencies receive higher scores.
- Spatial Regularizer ($\mathcal{L}_{Sp}$): To account for nuances that frequency analysis might miss, a small spatial component is integrated. This helps differentiate channels with similar frequency profiles but distinct spatial roles.
Channels are ranked according to the combined score $\mathcal{L}$, and those falling below a specific threshold are pruned.
3. Experimental Results
The authors evaluated CFDP across multiple architectures (VGG-16-BN, ResNet-56, GoogLeNet, and ResNet-50) and datasets (CIFAR-10 and ImageNet).
3.1 Performance and Efficiency
CFDP consistently outperformed state-of-the-art (SOTA) methods like HRank. On CIFAR-10, GoogLeNet saw a 0.2% increase in accuracy (reaching 95.25%) despite a 57.2% reduction in FLOPs and a 53.5% reduction in parameters. On the more complex ImageNet dataset, ResNet-50 maintained its original performance while utilizing only 55% of its trainable parameters and 60% of the FLOPs.
3.2 Robustness and Generalization
The study revealed several surprising properties of frequency-based pruning:
- Cold Start Capability: CFDP can identify important architectural paths even in randomly initialized, untrained networks. This implies that certain structural properties are inherent to the network's design.
- Adversarial Defense: Pruned models demonstrated increased resistance to adversarial attacks such as FGSM and PGD. By removing redundant parameters, CFDP appears to reduce the "brittleness" often found in over-parameterized models.
- Improved Focus: Grad-CAM visualizations indicated that pruned models often exhibit better "attention," centering their focus more accurately on the primary object of interest compared to their unpruned counterparts.
4. Conclusion
Common Frequency Domain Pruning (CFDP) demonstrates that the frequency domain offers a superior vantage point for identifying neural network redundancy. By combining DCT-based analysis with spatial regularization, CFDP achieves significant compression without sacrificing—and sometimes even improving—model accuracy. Future research will focus on extending this methodology to more diverse computer vision tasks and further refining the mathematical foundations of frequency-scale relationships.
Summary updated