[Paper Review] Learning in the Frequency Domain
This paper proposes learning in the frequency domain by using Discrete Cosine Transform (DCT) coefficients as input to deep neural networks, bypassing spatial downsampling. It achieves higher accuracy than conventional spatial resizing—up to +1.60% top-1 accuracy on ImageNet with ResNet-50—while reducing input size and communication bandwidth via static channel selection of salient frequency components.
Deep neural networks have achieved remarkable success in computer vision tasks. Existing neural networks mainly operate in the spatial domain with fixed input sizes. For practical applications, images are usually large and have to be downsampled to the predetermined input size of neural networks. Even though the downsampling operations reduce computation and the required communication bandwidth, it removes both redundant and salient information obliviously, which results in accuracy degradation. Inspired by digital signal processing theories, we analyze the spectral bias from the frequency perspective and propose a learning-based frequency selection method to identify the trivial frequency components which can be removed without accuracy loss. The proposed method of learning in the frequency domain leverages identical structures of the well-known neural networks, such as ResNet-50, MobileNetV2, and Mask R-CNN, while accepting the frequency-domain information as the input. Experiment results show that learning in the frequency domain with static channel selection can achieve higher accuracy than the conventional spatial downsampling approach and meanwhile further reduce the input data size. Specifically for ImageNet classification with the same input size, the proposed method achieves 1.41% and 0.66% top-1 accuracy improvements on ResNet-50 and MobileNetV2, respectively. Even with half input size, the proposed method still improves the top-1 accuracy on ResNet-50 by 1%. In addition, we observe a 0.8% average precision improvement on Mask R-CNN for instance segmentation on the COCO dataset.
Motivation & Objective
- Address accuracy degradation caused by spatial downsampling of high-resolution images in deep learning.
- Overcome the bottleneck of high inter-chip communication bandwidth in AI inference systems.
- Leverage spectral bias in CNNs and the human visual system to identify non-essential frequency components for removal.
- Develop a universal, minimal-modification method to replace spatial pre-processing in existing CNN models.
- Achieve higher accuracy with reduced input size through frequency-domain learning and static channel pruning.
Proposed method
- Transform high-resolution RGB images into DCT coefficients using the Discrete Cosine Transform (DCT) for frequency-domain representation.
- Feed DCT coefficients directly into standard CNN architectures (e.g., ResNet-50, MobileNetV2, Mask R-CNN) with minimal architectural changes.
- Implement a learning-based dynamic channel selection mechanism using 'on-off switches' per frequency channel to identify and remove trivial components.
- Apply static channel selection to prune up to 87.5% of frequency channels without accuracy loss, based on spectral bias analysis.
- Use high-fidelity decoded images for training and inference to maintain model performance while reducing input size.
- Optimize for inference by reducing input data size and communication bandwidth between CPU and accelerator.
Experimental results
Research questions
- RQ1Can frequency-domain representation of images improve deep learning accuracy compared to spatial downsampling?
- RQ2To what extent can non-essential frequency components be removed without degrading model performance?
- RQ3How does spectral bias in CNNs compare to human visual system sensitivity across frequency bands?
- RQ4Can a universal, minimal-modification method be developed to replace spatial pre-processing in existing CNN pipelines?
- RQ5What is the maximum input size reduction achievable via frequency-domain pruning while preserving accuracy?
Key findings
- The proposed method achieves +1.60% top-1 accuracy on ImageNet using ResNet-50 compared to conventional spatial downsampling at the same input size.
- For MobileNetV2, the method improves top-1 accuracy by +0.63% under identical input conditions.
- Even with half the input size, the method improves ResNet-50 accuracy by +1.42% top-1 on ImageNet.
- On the COCO dataset, the method improves average precision by +0.8% for both object detection and instance segmentation using Mask R-CNN.
- The static channel selection method enables pruning up to 87.5% of frequency channels with no or negligible accuracy degradation on ImageNet.
- The frequency-domain approach reduces input data size and inter-chip communication bandwidth, alleviating a key bottleneck in AI inference systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.