[Paper Review] Less is More: Accelerating Faster Neural Networks Straight from JPEG
This paper proposes a method to accelerate JPEG-compressed domain convolutional neural networks by learning to combine all DCT coefficients in a data-driven way and skipping early network stages. By using channel-wise projection (CCPP) and pruning early layers, the approach reduces computational cost by 50% while improving accuracy on ImageNet, outperforming prior methods that discard high-frequency DCT coefficients or increase model complexity.
Most image data available are often stored in a compressed format, from which JPEG is the most widespread. To feed this data on a convolutional neural network (CNN), a preliminary decoding process is required to obtain RGB pixels, demanding a high computational load and memory usage. For this reason, the design of CNNs for processing JPEG compressed data has gained attention in recent years. In most existing works, typical CNN architectures are adapted to facilitate the learning with the DCT coefficients rather than RGB pixels. Although they are effective, their architectural changes either raise the computational costs or neglect relevant information from DCT inputs. In this paper, we examine different ways of speeding up CNNs designed for DCT inputs, exploiting learning strategies to reduce the computational complexity by taking full advantage of DCT inputs. Our experiments were conducted on the ImageNet dataset. Results show that learning how to combine all DCT inputs in a data-driven fashion is better than discarding them by hand, and its combination with a reduction of layers has proven to be effective for reducing the computational costs while retaining accuracy.
Motivation & Objective
- To reduce computational complexity in CNNs processing JPEG-compressed images without sacrificing accuracy.
- To overcome limitations of prior methods that either discard high-frequency DCT coefficients or increase model parameters and FLOPs.
- To explore data-driven fusion of all DCT coefficients instead of heuristic filtering or pruning.
- To evaluate the impact of skipping early network stages on accuracy and efficiency in the JPEG domain.
- To demonstrate that architectural simplification via stage skipping can improve performance when combined with intelligent DCT input handling.
Proposed method
- Proposes a data-driven fusion strategy using Channel-wise Convolutional Projection (CCPP) to combine all 64 DCT coefficients per 8×8 block, preserving rich frequency information.
- Adapts a modified ResNet-50 architecture to accept DCT coefficients directly, bypassing full RGB decoding.
- Introduces a strategy to skip the first and second stages of the network, reducing FLOPs and parameters while maintaining input channel consistency via CCPP.
- Uses a residual block design with DCT input, replacing standard convolutional layers with DCT-aware operations to maintain frequency-domain processing.
- Employs a progressive reduction of network depth, evaluating performance across different stage-skipping configurations.
- Validates the method on ImageNet, comparing accuracy, FLOPs, and parameter count against state-of-the-art DCT-based models.
Experimental results
Research questions
- RQ1Can a data-driven fusion of all DCT coefficients outperform hand-crafted filtering or pruning of high-frequency components?
- RQ2Does skipping early network stages in a DCT-based CNN reduce computational cost while improving or maintaining accuracy?
- RQ3Can CCPP-based channel projection effectively maintain feature representation when reducing input channels from 64 to 128 in the first stage?
- RQ4How does the combination of DCT input fusion and stage skipping compare to existing state-of-the-art DCT-based models in terms of FLOPs and accuracy?
- RQ5Is the performance gain from stage skipping dependent on the input representation strategy (e.g., CCPP vs. FBS)?
Key findings
- Skipping the first and second stages of the network reduced computational complexity to 2.86 GFLOPs and parameters to 25.1M, achieving the best trade-off between speed and accuracy.
- The proposed method achieved 71.21% top-1 accuracy on the ImageNet subset and 70.49% on the coarse validation split, outperforming prior DCT-based models.
- The data-driven CCPP fusion of all DCT coefficients improved performance over the FBS method (which discards 50% of coefficients), proving that full DCT input utilization is beneficial.
- The model maintained high accuracy (94.84% top-1 on full ImageNet) while reducing computational cost, ranking second among DCT-based models.
- The strategy of combining CCPP with stage skipping proved more effective than increasing model depth or using heuristic DCT filtering.
- The results demonstrate that architectural simplification through stage skipping can enhance performance when paired with intelligent input representation learning.
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.