Abstract
Standard pre-trained Convolutional Neural Networks (CNNs) like ResNet-50 possess significant latent performance that is often restricted by their static architectures. This paper demonstrates that by allowing just four layers to dynamically adjust attributes such as stride, dilation, or kernel size at inference time, these models can achieve over 95% accuracy on ImageNet. This performance rivals state-of-the-art models with 20x more parameters, suggesting that the traditional "one-size-fits-all" approach to network topology is fundamentally sub-optimal.
Introduction
Scale variation is a persistent challenge in computer vision, where objects of the same class can appear at vastly different resolutions. Current CNNs are typically static; once trained, every image passes through an identical architecture. This study investigates the "upper bound" of performance achievable if networks could adapt their topology—specifically strides, dilations, and kernel sizes—on-the-fly for every individual image.
Methodology
Rather than designing new architectures, this research modifies "vanilla" pre-trained models (e.g., ResNet-50, MobileNetV2) to make specific layers dynamic. The focus is on three key attributes:
- Kernel Stride: Controls feature downsampling.
- Kernel Dilation: Expands the receptive field without increasing parameter count.
- Kernel Size: Adapts filter spatial extent via bilinear interpolation of pre-trained weights.
To identify the maximum potential, an Oracle Evaluation was conducted, where the best possible configuration was selected for each image from all possible permutations across four key layers (A, B, C, and D). To mitigate the "brittleness" of standard weights when attributes are changed, the authors introduced Random Option Fine-tuning (ROF), training the model for 15 epochs while randomly swapping attributes to improve robustness.
Results and Analysis
The Oracle evaluation reveals a dramatic "accuracy explosion." A baseline ResNet-50 (76.5% top-1 accuracy) reaches 93.7% with dynamic strides and 95.8% when combining dynamic strides and kernel sizes. This level of performance is comparable to massive models like EfficientNet-L2.
Key insights include:
- Sub-optimality of Defaults: The standard static configuration is rarely the preferred choice for any given image.
- Dynamic Efficiency: Dynamic models can match baseline accuracy while utilizing up to 10x fewer computational operations (MACs) by selecting aggressive strides for simpler images.
- Scale Sensitivity: While models generally prefer larger strides for up-sampled images to maintain a consistent view, the relationship is complex and varies by layer depth.
Discussion and Conclusion
The primary limitation of this work is its reliance on an "Oracle" to select the best configuration. Real-world implementation would require an efficient "selector" sub-module to make these decisions in real-time. Nevertheless, the findings suggest a new paradigm of "chameleon" networks that reshape themselves for every frame, squeezing maximum performance out of existing off-the-shelf weights. Future research will focus on developing these lightweight policy networks to bridge the gap between theoretical potential and practical deployment.
Summary updated