Introduction
In modern computer vision, state-of-the-art convolutional neural networks (CNNs) are typically optimized for maximum accuracy, often resulting in massive computational costs. However, real-world applications frequently face two distinct constraints: anytime classification, where a prediction may be required at any moment, and budgeted batch classification, where a fixed computational budget must be distributed across a set of images.
Standard architectures like ResNet or DenseNet are poorly suited for these scenarios. Their sequential nature means high-level features are only available at the final layers, and adding intermediate classifiers often degrades the performance of the final output due to the "interference problem," where early layers optimize for short-term classification rather than long-term feature extraction.
The MSDNet Architecture
To address these challenges, the authors introduce Multi-Scale Dense Networks (MSDNet). This architecture is built on two foundational principles: maintaining multiple feature scales throughout the network and utilizing dense connectivity.
Multi-Scale Feature Maps
Unlike traditional CNNs that reduce resolution linearly with depth, MSDNet maintains a range of resolutions (scales) in parallel from the first layer. This ensures that coarse-level, high-semantic features—which are necessary for classification—are available even at shallow depths, enabling high-accuracy "early exits."
Dense Connectivity and Lazy Evaluation
MSDNet leverages dense connections, where each layer receives inputs from all preceding layers. This prevents the interference problem; if an early classifier requires specific information that might be suboptimal for later layers, the dense connections allow subsequent layers to simply bypass that information and access the original high-quality features. Furthermore, the network employs "lazy evaluation," calculating finer-grained details only if the image has not already been classified by an earlier exit.
Addressing the Interference Problem
A key innovation of MSDNet is its resilience to the performance degradation typically seen when adding intermediate classifiers to deep networks. In standard architectures, forcing early layers to produce features suitable for classification often harms the final classifier's accuracy.
As shown in the figure above, MSDNet's final classifier accuracy remains stable regardless of where intermediate classifiers are placed. This robustness allows the network to be used as a single, flexible model that can adapt to any computational budget without retraining.
Experimental Results
The researchers evaluated MSDNet on CIFAR-10, CIFAR-100, and ImageNet benchmarks, demonstrating significant efficiency gains:
- ImageNet Efficiency: MSDNet achieved accuracy comparable to standard DenseNets while requiring 2x to 3x fewer FLOPs.
- Anytime Performance: In resource-constrained settings, MSDNet's accuracy was 4% to 8% higher than competitive ensembles.
- Dynamic Processing: The model naturally spends less time on "easy" images (clear, prototypical examples) and more time on "hard" images (blurry or unusual angles), mimicking human visual intuition.
Conclusion
MSDNet provides a robust framework for efficient image classification by combining multi-scale processing with dense connectivity. By solving the interference problem, it allows for a single model to perform optimally across a wide range of computational budgets. Future work may extend this multi-scale approach to tasks like semantic segmentation or combine it with orthogonal techniques such as network pruning and quantization.
Summary updated