[Paper Review] Band-limited Training and Inference for Convolutional Neural Networks
This paper proposes band-limited training and inference for convolutional neural networks (CNNs) by constraining the frequency spectra of filters and inputs during both forward and backward passes using FFT-based convolution. The method enables significant reductions in GPU memory and computation with minimal accuracy loss, offering a stable, architecture-agnostic compression technique that gracefully degrades with higher compression rates.
The convolutional layers are core building blocks of neural network architectures. In general, a convolutional filter applies to the entire frequency spectrum of the input data. We explore artificially constraining the frequency spectra of these filters and data, called band-limiting, during training. The frequency domain constraints apply to both the feed-forward and back-propagation steps. Experimentally, we observe that Convolutional Neural Networks (CNNs) are resilient to this compression scheme and results suggest that CNNs learn to leverage lower-frequency components. In particular, we found: (1) band-limited training can effectively control the resource usage (GPU and memory); (2) models trained with band-limited layers retain high prediction accuracy; and (3) requires no modification to existing training algorithms or neural network architectures to use unlike other compression schemes.
Motivation & Objective
- To investigate whether constraining the frequency spectrum of CNN filters and inputs during training can reduce resource usage without sacrificing accuracy.
- To develop a stable, efficient, and general-purpose compression method for CNNs that does not require modifications to existing training algorithms or network architectures.
- To evaluate the impact of frequency-domain compression on model robustness, especially to high-frequency noise and adversarial attacks.
- To explore the trade-off between computational efficiency and predictive performance through a continuous compression knob.
Proposed method
- The method employs FFT-based convolution to transform input and filter tensors into the frequency domain, where high-frequency components are truncated before element-wise multiplication.
- A band-limited convolutional layer is implemented that restricts the Fourier spectrum during both forward and backward passes, projecting gradients onto allowed frequency components.
- The implementation exploits conjugate symmetry in 2D FFTs, reuses frequency maps, and uses fast complex arithmetic to improve efficiency.
- The approach supports both 1D and 2D data, including time-series and image classification tasks, with no changes to standard training procedures.
- Compression is applied by discarding a fixed number of high-frequency coefficients, with decompression achieved via zero-padding and inverse FFT.
- The method is compatible with standard deep learning frameworks and does not require specialized libraries or retraining schemes.
Experimental results
Research questions
- RQ1Can CNNs be effectively trained using only a subset of the frequency spectrum of their filters and inputs, without architectural or algorithmic changes?
- RQ2How does band-limited training affect model accuracy, memory usage, and computation cost across different compression rates?
- RQ3Does band-limited training improve robustness to high-frequency noise and adversarial perturbations?
- RQ4How does coefficient-based compression (fixed number of coefficients discarded) compare to adaptive frequency pruning (fixed fraction of energy discarded)?
- RQ5Can band-limited training be applied effectively to diverse data modalities, such as 1D time-series and 2D images?
Key findings
- Band-limited training reduces GPU memory usage by up to 80% (e.g., from 118GB to 21GB) with only minor accuracy degradation, as seen in DenseNet-121 on image tasks.
- Models trained with 50% frequency compression retain 59.34% test accuracy on time-series data, compared to 64.40% for full-spectrum models, showing graceful degradation.
- Coefficient-based compression (discarding fixed number of coefficients) outperforms adaptive pruning (discarding fixed fraction of energy) in preserving accuracy.
- Band-limited models exhibit improved robustness to high-frequency noise and adversarial attacks, suggesting a beneficial inductive bias toward low-frequency representations.
- The method maintains training stability across different networks (e.g., ResNet-18, DenseNet-121, FCN) and does not require modifications to optimization algorithms or network architectures.
- The approach enables a continuous trade-off between resource usage and accuracy, making it suitable for streaming and out-of-core applications.
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.