Introduction
Deep Convolutional Neural Networks (CNNs) have achieved remarkable success in image classification but remain computationally expensive, hindering deployment on resource-constrained edge devices. While existing adaptive inference methods primarily address network redundancy by skipping layers or channels, they often overlook spatial redundancy.
In most datasets, many images are "easy" to recognize even at low resolutions (e.g., a large, centered object), whereas only "hard" samples (e.g., small or obscured objects) require high-resolution feature maps. Processing every image at maximum resolution is computationally wasteful. To address this, we introduce Resolution Adaptive Networks (RANet), which dynamically allocate computational resources based on image difficulty.
The RANet Architecture
RANet implements a coarse-to-fine processing strategy. Instead of the standard approach of starting with high-resolution inputs and downsampling, RANet begins with the lowest resolution.
The architecture consists of multiple sub-networks:
- Coarse-to-Fine Processing: Sub-network 1 processes the lowest resolution. If the model is confident in its prediction, it exits early. Otherwise, it proceeds to higher-resolution sub-networks.
- Feature Fusion: Subsequent sub-networks process larger scales while reusing and fusing features from previous lower-resolution stages to maintain global context.
- Adaptive Early Exit: Prediction confidence (softmax output) acts as a gate. If confidence exceeds a threshold $\epsilon$, computation stops, saving FLOPs (Floating Point Operations).
Key Insights
The core philosophy of RANet is that resolution is a proxy for difficulty. Global shapes (low-frequency information) often suffice for prototypical samples, while fine textures (high-frequency information) serve as a supplement for atypical ones. By performing both depth and resolution adaptation, RANet provides a fine-grained control over the accuracy-efficiency tradeoff.
Visual analysis suggests that images typically require higher resolution when they contain multiple objects, tiny objects, or atypical characteristics like unusual lighting or angles.
Experimental Results
RANet was evaluated on CIFAR-10, CIFAR-100, and ImageNet. It consistently outperformed the Multi-Scale Dense Network (MSDNet), the previous state-of-the-art in adaptive inference.
Key performance highlights include:
- Anytime Prediction: On ImageNet, at a budget of $1.0 \times 10^9$ FLOPs, RANet achieved approximately 68% accuracy, outperforming MSDNet by about 5%.
- Budgeted Batch Classification: On CIFAR-100, RANet reached 68% accuracy using 40% fewer FLOPs than MSDNet.
- Efficiency vs. Static Models: Compared to standard high-performance models like WideResNet, RANet proved to be up to 4x more efficient on CIFAR datasets.
Conclusion
RANet demonstrates that exploiting spatial redundancy is a powerful avenue for efficient deep learning. By routing samples through resolution-specific paths, it achieves superior accuracy-speed tradeoffs. Future work includes improving early-exit logic with better-calibrated uncertainty metrics and extending this multi-scale fusion strategy to tasks like object detection and segmentation.
Summary updated