Introduction
Deploying deep neural networks on edge devices, such as smartphones or IoT sensors, requires significant model compression to meet strict memory and power constraints. The current industry standard for this task is uniform scaling, where the width of every layer is multiplied by a fixed factor (e.g., 0.25x). However, this approach is fundamentally inefficient. It assumes all layers contribute equally to the model's performance, ignoring that some layers are critical for feature extraction while others are highly redundant. Finding the optimal number of neurons for each layer—the "Goldilocks" configuration—usually requires expensive Neural Architecture Search (NAS).
Methodology
The authors propose NeuralScale, an automated method to optimize layer-wise filter counts under parameter constraints. NeuralScale replaces standard uniform scaling with a data-driven, non-linear approach guided by iterative pruning. The method operates through a three-step process:
- Iterative Pruning as a Proxy: Instead of searching from scratch, the method uses iterative pruning (based on a Taylor-expansion importance metric) to identify which layers are most vital. As parameters are removed, the system tracks the evolution of filter counts in each layer.
- Power-Law Parameterization: A key discovery of this work is that the relationship between a layer's filter count ($\phi_l$) and the total parameter budget ($\tau$) follows a monotonic power function: $\phi_l = \alpha_l \tau^{\beta_l}$.
- Architecture Descent: This meta-optimization loop iteratively prunes the network, fits the power-law parameters, and generates a new scaled architecture. This process "descends" toward an optimal configuration efficiently.
Experimental Setup
NeuralScale was evaluated across three standard image classification benchmarks: CIFAR-10, CIFAR-100, and TinyImageNet (200 classes, 64x64 resolution). These tests were performed on popular architectures including VGG11, MobileNetV2, and ResNet18 to demonstrate the method's versatility across different network designs.
Key Insights
The empirical results yield several important observations regarding network architecture:
- Non-Uniformity is Optimal: The "ideal" width for a network is rarely uniform.
- Task-Specific Resource Allocation: For simpler tasks like CIFAR-10, NeuralScale allocates more resources to early layers. For complex tasks like TinyImageNet, it prioritizes deeper layers to capture high-level semantic features.
- Power-Law Consistency: The filter-to-parameter relationship consistently follows a power law across different datasets and layers, allowing for analytical determination of layer widths for any budget.
Results
NeuralScale consistently outperforms uniform scaling and other state-of-the-art methods like MorphNet:
- MobileNetV2 on CIFAR-100: Achieved a significant +8.56% accuracy gain over the uniform baseline at the same parameter count.
- VGG11 on CIFAR-10: Showed a +3.04% improvement at a 0.25x parameter scale.
- ResNet18 on TinyImageNet: Delivered a +3.41% accuracy boost at a 0.25x scale.
- Computational Efficiency: Unlike traditional NAS, NeuralScale is fast; optimizing VGG11 takes approximately 20 minutes on a standard GPU.
Limitations and Future Work
While effective, NeuralScale currently optimizes for parameter count rather than hardware-specific latency, which can be influenced by memory access patterns. Additionally, scaling MobileNetV2 on complex datasets like TinyImageNet revealed challenges with residual shortcut connections when layers are scaled independently. Future research could expand this framework to include scaling of network depth or kernel sizes.
Summary updated