Efficient Training of Deep Convolutional Neural Networks by Augmentation in Embedding Space

Mohammad Saeed Abrishami, Amir Erfan Eshratifar, David Eigen, Yanzhi Wang, Shahin Nazarian, Massoud Pedram

Introduction

Deep learning models often struggle with overfitting when training data is scarce. To improve generalization, researchers typically rely on transfer learning—fine-tuning a pre-trained model on a new task—and data augmentation, which artificially expands the dataset through transformations like flips, rotations, or crops.

However, standard data augmentation presents a significant computational bottleneck for resource-constrained mobile and embedded devices. For every augmented version of an image, the device must perform a full forward pass through the entire deep network. Since the feature-extraction layers (the "backbone") are computationally massive, repeating this process multiple times per image drains battery and slows training. This paper proposes a method to achieve the generalization benefits of augmentation without the heavy computational overhead by moving the process into the embedding space.

Methodology: Augmentation Transformers

The core innovation is a three-step workflow that shifts augmentation from raw pixels to high-level mathematical representations (embeddings) produced by the network's backbone.

  1. Base Training: A large feature-generating network ($\Phi$) is pre-trained on a source dataset (e.g., CIFAR-100).
  2. Learning the Transformation: The authors introduce Augmentation Transformers ($\Omega$). These are lightweight, shallow neural networks consisting of just a few fully connected layers. Each $\Omega_j$ is trained to learn a specific transformation (e.g., a horizontal flip). It takes the embedding of an original image as input and predicts the corresponding embedding of the transformed version.
  3. Efficient Fine-Tuning: During deployment on an embedded device, the heavy backbone ($\Phi$) is frozen. For a new image, the device runs $\Phi$ only once to obtain the original embedding. It then uses the lightweight $\Omega$ networks to instantly generate multiple "augmented" embeddings. The final classifier is trained on this mixture of real and simulated embeddings.
The proposed workflow: (a) standard training, (b) learning the transformation in embedding space, and (c) efficient fine-tuning using sampled augmentation transformers.

This approach decouples the heavy feature extraction from the augmentation process. By training the transformers on the cloud during the base phase and shipping them to the device, the heavy lifting is done once, while the device enjoys "free" data diversity.

Experimental Results

The researchers evaluated the method using CIFAR-100 as the source dataset and CIFAR-10 as the target for fine-tuning, testing across three popular architectures: VGG-16, ResNet-18, and Inception-V3.

Accuracy and Efficiency

The proposed "Embedding Augmentation" consistently outperformed training without augmentation and remained highly competitive with the "Gold Standard" of expensive pixel-space augmentation. For instance, in ResNet-18 tests, using no augmentation yielded 76.25% accuracy, while pixel-space augmentation reached 78.87%. The proposed embedding-space method achieved 78.03%, capturing most of the accuracy gains at a fraction of the cost.

Extracted figure from page 5 of Efficient Training of Deep Convolutional Neural Networks by Augmentation in Embedding Space

Because the Augmentation Transformers are computationally negligible compared to the main backbone, the total training cost is cut nearly in half for each augmentation used. Effectively, the device obtains two training samples for the price of a single forward pass.

Conclusion and Future Work

This research demonstrates that common image transformations result in predictable shifts in latent space that can be modeled by simple, shallow networks. This insight allows for a nearly $2\times$ computational saving per augmentation with negligible loss in accuracy. Future work may explore more complex or "lossy" augmentations—such as random cropping or color jittering—and investigate how to chain multiple transformers together to simulate sequences of transformations without compounding errors in the embedding space.

Summary updated

BibTeX
@inproceedings{abrishami2020efficient,
  author = {Mohammad Saeed Abrishami and Amir Erfan Eshratifar and David Eigen and Yanzhi Wang and Shahin Nazarian and Massoud Pedram},
  title = {{Efficient Training of Deep Convolutional Neural Networks by Augmentation in Embedding Space}},
  booktitle = {ISQED},
  year = {2020},
  doi = {10.1109/isqed48828.2020.9137053},
}
Figure