Skip to main content
QUICK REVIEW

[Paper Review] SpecNet: Spectral Domain Convolutional Neural Network

Bochen Guan, Jinnian Zhang|arXiv (Cornell University)|May 27, 2019
Advanced Neural Network ApplicationsComputer Science41 references8 citations
TL;DR

SpecNet is a memory-efficient CNN architecture that performs convolutions and activations in the spectral domain using FFT-based operations and sparsity via a configurable threshold, reducing feature map memory usage by up to 60% without significant accuracy loss on CIFAR-10, SVHN, and ImageNet benchmarks.

ABSTRACT

The memory consumption of most Convolutional Neural Network (CNN) architectures grows rapidly with increasing depth of the network, which is a major constraint for efficient network training on modern GPUs with limited memory, embedded systems, and mobile devices. Several studies show that the feature maps (as generated after the convolutional layers) are the main bottleneck in this memory problem. Often, these feature maps mimic natural photographs in the sense that their energy is concentrated in the spectral domain. Although embedding CNN architectures in the spectral domain is widely exploited to accelerate the training process, we demonstrate that it is also possible to use the spectral domain to reduce the memory footprint, a method we call Spectral Domain Convolutional Neural Network (SpecNet) that performs both the convolution and the activation operations in the spectral domain. The performance of SpecNet is evaluated on three competitive object recognition benchmark tasks (CIFAR-10, SVHN, and ImageNet), and compared with several state-of-the-art implementations. Overall, SpecNet is able to reduce memory consumption by about 60% without significant loss of performance for all tested networks.

Motivation & Objective

  • Address the growing memory bottleneck in deep CNNs caused by large intermediate feature maps during training.
  • Reduce memory consumption in CNNs without compromising model performance, especially for mobile and embedded systems.
  • Leverage the spectral domain's energy compaction property to enable sparse, memory-efficient storage of feature maps.
  • Design a novel CNN block that performs both convolution and activation in the spectral domain while preserving gradient flow for backpropagation.
  • Demonstrate that spectral-domain processing can achieve significant memory savings compared to standard spatial-domain CNNs.

Proposed method

  • Transform input feature maps and convolutional kernels into the spectral domain using the Fast Fourier Transform (FFT).
  • Perform spectral-domain convolution via element-wise multiplication of transformed inputs and kernels, reducing computational complexity.
  • Apply a configurable threshold β to zero out small-magnitude spectral coefficients, enabling sparse storage of feature maps.
  • Design a spectral-domain activation function that maintains sparsity and symmetry while supporting backpropagation.
  • Integrate the spectral convolution block into standard CNN architectures (e.g., AlexNet, VGG, DenseNet) without modifying the network’s overall structure.
  • Replace batch normalization layers in spectral-domain models with equivalent spectral blocks to maintain training stability.

Experimental results

Research questions

  • RQ1Can spectral-domain processing reduce memory consumption in CNNs by exploiting energy compaction in feature maps?
  • RQ2How does the performance of a spectral-domain CNN compare to standard spatial-domain CNNs in terms of accuracy and memory efficiency?
  • RQ3To what extent can sparsity in the spectral domain reduce feature map storage without degrading model accuracy?
  • RQ4Can spectral-domain convolutions be integrated into existing CNN architectures with minimal architectural changes?
  • RQ5What is the trade-off between memory reduction and accuracy when varying the spectral threshold β?

Key findings

  • SpecNet reduces peak memory consumption by up to 63% and average memory usage by 60% on CIFAR-10, SVHN, and ImageNet benchmarks.
  • On ImageNet, SpecNet achieves 40.8% memory consumption for DenseNet169 and 46.7% for VGG-16, compared to 100% for the original models.
  • Top-1 accuracy drops by only 2.1% for Spec-DenseNet169 (74.6% vs. 76.2%) and 2.1% for Spec-VGG16 (69.2% vs. 71.3%), while top-5 accuracy remains nearly identical.
  • SpecNet outperforms other memory-efficient methods like INPLACE-ABN, LQ-Net, and HarDNet in memory reduction, especially on deeper networks.
  • The method is orthogonal to existing techniques such as quantization and pruning, allowing for further memory savings when combined.
  • The spectral-domain approach enables computational efficiency in some cases due to optimized FFT operations, though the primary benefit is memory reduction.

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.