TL;DR
Network Augmentation (NetAug) is a novel training technique designed specifically for "tiny" neural networks that suffer from underfitting rather than overfitting. By embedding a tiny model into a larger one during training to provide extra supervision—and then discarding the extra capacity at inference—NetAug achieves significant accuracy gains (up to 2.2% on ImageNet) with zero additional cost during deployment.
What Problem Does This Paper Address?
In the world of TinyML, deep learning models must run on resource-constrained hardware like microcontrollers (e.g., an STM32 with only 320KB of RAM). To fit these constraints, models are scaled down to be up to 50,000x smaller than their GPU-based counterparts.
The authors identify a fundamental mismatch in how we train these tiny models. Standard deep learning "best practices" rely heavily on regularization—techniques like Dropout, Mixup, or AutoAugment—which are designed to prevent large models from overfitting (memorizing the training data).
However, tiny models have such limited capacity that they rarely overfit; instead, they underfit (they aren't powerful enough to learn the data in the first place). Applying standard regularization to a tiny model is counterproductive. As shown in the data, while standard augmentation helps large models like ResNet50, it actively hurts the performance of tiny models like MobileNetV2-Tiny.
Methods: How NetAug Works
The authors propose Network Augmentation (NetAug), which operates as a sort of "reverse dropout." Instead of adding noise to the data or shrinking the network during training, NetAug temporarily expands the network's capacity.
- Augmented Models: During training, the target tiny model is placed inside a larger "augmented" model. This is achieved by increasing the width multiplier or the expansion ratio of the network's layers.
- Weight Sharing: The tiny model shares its weights with the larger augmented model. The extra "augmented" weights are only used to provide auxiliary supervision.
- Training Process: At each training step, the system samples one augmented configuration. The tiny model receives gradients from two sources: its own base loss and the auxiliary loss of the larger augmented model. This dual-supervision encourages the tiny model to learn more robust features that are useful for a higher-capacity network.
- Zero Inference Overhead: Once training is complete, the auxiliary weights are discarded. The final model used for deployment is the original tiny network, meaning there is zero increase in latency, memory, or power consumption at test time.
Key Insights and Ideas
- The Underfitting Paradigm: The most critical insight is that training tiny models is fundamentally different from training large ones. The bottleneck for tiny models is capacity, not noise.
- Reverse Dropout: While Dropout forces a model to work with less during training to ensure robustness, NetAug allows a model to work with more to ensure it captures complex patterns.
- Orthogonality to Knowledge Distillation (KD): NetAug is not just another form of KD. While KD requires a pre-trained teacher model to mimic, NetAug builds the "teacher" around the "student" dynamically. The paper shows that combining NetAug and KD leads to even better results, suggesting they tackle different aspects of the learning process.
Key Results
NetAug was evaluated across a wide range of tasks, including ImageNet classification, fine-grained classification (Food101, Flowers102, etc.), and object detection (Pascal VOC, MS COCO).
- ImageNet Accuracy: NetAug consistently improved tiny models (like MobileNetV2-Tiny and MCUNet). It achieved a 2.2% accuracy boost on ImageNet for MobileNetV3 w0.35.
- Efficiency Gains in Object Detection: Because NetAug improves the "quality" of the tiny model, it can achieve the same accuracy as a baseline model using a much smaller input resolution. To reach baseline performance, a NetAug-trained model required 41% fewer MACs on Pascal VOC and 38% fewer MACs on COCO.
- Transfer Learning: Models pre-trained with NetAug proved to be much better "feature extractors" for downstream tasks, outperforming models trained with standard Knowledge Distillation or longer training schedules.
- The "Large Model" Sanity Check: When the authors applied NetAug to ResNet50 (a large model), it actually hurt performance (-0.3%). This confirms that NetAug is a specialized tool specifically for the underfitting regime of tiny models.
Limitations and Future Work
While inference cost is zero, NetAug does increase training time by approximately 16.7% and increases the peak memory footprint during the training phase on the GPU. Additionally, the method introduces new hyperparameters, such as the "augmentation factor" and "diversity factor," which may require tuning for different architectures.
Looking forward, the authors suggest that NetAug could be integrated into Neural Architecture Search (NAS) to find even more efficient tiny models that are specifically optimized to benefit from augmented supervision.
Summary updated