[Paper Review] Rethinking FUN: Frequency-Domain Utilization Networks
This paper introduces Frequency-Domain Utilization Networks (FUN), a family of CNNs that operate directly on Discrete Cosine Transform (DCT) coefficients instead of RGB pixels, enabling significant reductions in model size and inference latency. By leveraging modern architectural components like compound scaling and inverted residual blocks, FUN models achieve state-of-the-art accuracy on ImageNet while supporting dynamic input compression without retraining, with eFUN being 20% smaller and 65% faster than EfficientNet-B0 with minimal accuracy drop.
The search for efficient neural network architectures has gained much focus in recent years, where modern architectures focus not only on accuracy but also on inference time and model size. Here, we present FUN, a family of novel Frequency-domain Utilization Networks. These networks utilize the inherent efficiency of the frequency-domain by working directly in that domain, represented with the Discrete Cosine Transform. Using modern techniques and building blocks such as compound-scaling and inverted-residual layers we generate a set of such networks allowing one to balance between size, latency and accuracy while outperforming competing RGB-based models. Extensive evaluations verifies that our networks present strong alternatives to previous approaches. Moreover, we show that working in frequency domain allows for dynamic compression of the input at inference time without any explicit change to the architecture.
Motivation & Objective
- To design efficient neural network architectures that balance accuracy, model size, and inference latency.
- To explore the use of frequency-domain representations (via DCT) as an alternative to RGB input for CNNs.
- To enable dynamic input compression at inference time without retraining by exploiting inherent properties of DCT representations.
- To develop a scalable family of models using compound scaling and modern building blocks like MBConv and inverted residuals.
- To evaluate whether learnable DCT-like layers can outperform or replace fixed DCT transforms while preserving efficiency and compression benefits.
Proposed method
- The network processes images after converting them to YCbCr and applying the Discrete Cosine Transform (DCT) to each 8×8 block, resulting in frequency-domain feature maps.
- The authors design two main architectures: ResFUN based on residual blocks and eFUN based on inverted residual (MBConv) blocks, both operating directly on DCT coefficients.
- They apply compound scaling to generate a family of FUN models with varying depth, width, and resolution to balance accuracy, size, and latency.
- Input compression is achieved by zeroing out high-frequency DCT coefficients during inference, leveraging the fact that lower frequencies dominate perceptual content.
- A learnable DCT layer is introduced via a convolutional layer with DCT-like filters, trained either in isolation (LeFUN) or end-to-end (LeFUN-e2e), to replace the fixed DCT.
- The models are evaluated on ImageNet using standard metrics: top-1 accuracy, number of parameters, and FLOPs, with ablation on input channel reduction.
Experimental results
Research questions
- RQ1Can frequency-domain representations via DCT improve the efficiency of CNNs in terms of model size and inference latency without sacrificing accuracy?
- RQ2To what extent can input compression be dynamically applied at inference time in DCT-based models without retraining or performance degradation?
- RQ3How do learnable DCT-like layers compare to fixed DCT transforms in terms of accuracy and efficiency in frequency-domain networks?
- RQ4Can modern architectural components like MBConv and compound scaling be effectively adapted to frequency-domain inputs to create scalable, efficient models?
- RQ5What is the impact of removing high-frequency DCT coefficients on model accuracy, and does this support inherent dynamic compression?
Key findings
- The eFUN model is 20% smaller and 65% faster than EfficientNet-B0 on ImageNet, with only a minor drop in top-1 accuracy.
- Reducing input DCT channels from 192 to 88 (a 54% reduction) results in only a 1% drop in top-1 accuracy, demonstrating strong dynamic compression capability.
- Dropping 75% of input channels (from 192 to 48) leads to a 7.5% accuracy drop, showing that high-frequency components are less critical for classification.
- The LeFUN-e2e variant achieves 77.2% top-1 accuracy, slightly exceeding the fixed eFUN model (77.0%), but at the cost of increased model size and loss of interpretability.
- The filters learned by the DCT-like layers in LeFUN and LeFUN-e2e differ significantly from standard DCT filters, indicating that learned filters do not fully replicate the structured, frequency-ordered nature of DCT.
- The fixed DCT representation inherently supports dynamic input compression, a feature lost when using learnable transformations, which require retraining for new compression levels.
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.