[Paper Review] Stochastic Downsampling for Cost-Adjustable Inference and Improved Regularization in Convolutional Networks
This paper proposes Stochastic Downsampling Point (SDPoint), a method for training convolutional networks with cost-adjustable inference and improved regularization by randomly applying downsampling at different layers and ratios during training. SDPoint enables a single model to support multiple inference costs while sharing parameters across configurations, leading to better generalization and state-of-the-art accuracy at lower FLOP budgets compared to existing methods.
It is desirable to train convolutional networks (CNNs) to run more efficiently during inference. In many cases however, the computational budget that the system has for inference cannot be known beforehand during training, or the inference budget is dependent on the changing real-time resource availability. Thus, it is inadequate to train just inference-efficient CNNs, whose inference costs are not adjustable and cannot adapt to varied inference budgets. We propose a novel approach for cost-adjustable inference in CNNs - Stochastic Downsampling Point (SDPoint). During training, SDPoint applies feature map downsampling to a random point in the layer hierarchy, with a random downsampling ratio. The different stochastic downsampling configurations known as SDPoint instances (of the same model) have computational costs different from each other, while being trained to minimize the same prediction loss. Sharing network parameters across different instances provides significant regularization boost. During inference, one may handpick a SDPoint instance that best fits the inference budget. The effectiveness of SDPoint, as both a cost-adjustable inference approach and a regularizer, is validated through extensive experiments on image classification.
Motivation & Objective
- To address the challenge of training CNNs that can adapt to varying inference budgets in real-time resource-constrained systems.
- To develop a method that allows a single model to support multiple inference costs without retraining.
- To improve model regularization through parameter sharing across diverse downsampling configurations during training.
- To enable full utilization of network parameters during low-cost inference, unlike methods that skip layers or parameters.
Proposed method
- During training, a random SDPoint instance is selected per iteration, defined by a downsampling layer index and ratio, which reduces feature map spatial size.
- Downsampling is applied to intermediate feature maps, reducing computational cost (FLOPs) while maintaining shared network weights across all instances.
- All SDPoint instances are trained to minimize the same prediction loss, enabling parameter sharing that boosts regularization.
- During inference, a specific SDPoint instance is deterministically selected based on the available computational budget.
- The method is architecture-agnostic and adds no additional parameters or training overhead.
- The approach leverages stochasticity in downsampling points and ratios to improve scale invariance and robustness.
Experimental results
Research questions
- RQ1Can a single CNN be trained to support multiple inference costs through stochastic downsampling without retraining?
- RQ2How does parameter sharing across diverse downsampling configurations improve model regularization and generalization?
- RQ3Does downsampling intermediate feature maps preserve more useful information than skipping network layers during low-cost inference?
- RQ4To what extent does SDPoint improve scale sensitivity in CNNs compared to baseline models?
- RQ5Can SDPoint achieve state-of-the-art accuracy at significantly lower FLOP costs than existing methods?
Key findings
- SDPoint reduces the top-1 validation error of ResNeXt-d101-c32 to 20.4% and top-5 error to 5.3%, matching SOTA models with roughly twice the FLOP count.
- A SDPoint instance of PreResNet-d101 achieves similar accuracy to SACT with only 69% of the FLOPs, demonstrating superior cost-accuracy efficiency.
- The SDPoint-enabled model shows 0.961 mean pairwise cosine similarity across pre-cropping sizes, compared to 0.944 for the baseline, indicating improved scale invariance.
- Removing the 0.5 downsampling ratio or using alternating blocks reduces performance, confirming the importance of stochasticity for regularization.
- Difficult ImageNet examples requiring higher FLOPs (e.g., 16.0 GFLOPs) often contain size-dominant interfering objects, suggesting that early downsampling harms accuracy on such cases.
- SDPoint enables identification of sub-networks with optimal trade-offs between cost and accuracy, and allows sorting examples by classification difficulty based on required inference cost.
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.