Exploring the Imposition of Synaptic Precision Restrictions For Evolutionary Synthesis of Deep Neural Networks

Mohammad Javad Shafiee, Francis Li, Alexander WongarXiv 2017

Abstract

A key contributing factor to the success of deep neural networks (DNNs) has been the rise of massively parallel computing, allowing for increased size and depth. However, the computational complexity of such networks is a major barrier to utilization in resource-starved scenarios. We explore the synaptogenesis of DNNs within an evolutionary deep intelligence framework, where a probabilistic generative modeling strategy is introduced to stochastically synthesize increasingly efficient offspring networks over generations. In this study, we primarily explore the imposition of synaptic precision restrictions and its impact on the evolutionary synthesis of DNNs. Experimental results show significant improvements in synaptic efficiency (~10X decrease) and inference speed (>5X increase) while preserving modeling accuracy.

Introduction

While DNNs have achieved incredible feats in image and speech recognition, they are notoriously resource-hungry. Most research focuses on making models larger and deeper to gain accuracy, which makes them difficult to deploy on "resource-starved" devices like smartphones, drones, or embedded sensors where memory and power are limited. The researchers identify two specific areas for improvement: Synaptogenesis (the process of forming connections between neurons) and Synaptic Precision (the numerical bit-width of weights).

Methodology

The authors build upon a framework called Evolutionary Synthesis. Unlike traditional Genetic Algorithms, this approach uses a probabilistic generative model to mimic biological evolution through a cycle of encoding, synthesis, and selection.

The evolutionary synthesis process, incorporating environmental factors, heredity, and random mutation to generate efficient architectures.
  1. Genetic Encoding: The network's architecture is represented by a "synaptic probability model" (the network's DNA).
  2. Stochastic Synthesis: An "offspring" network is generated based on this DNA, influenced by "environmental conditions" that favor efficiency.
  3. Training & Restriction: The offspring is trained at full 32-bit precision, but a half-precision (16-bit) constraint is enforced at each generation to ensure the architecture is robust to quantization.
  4. Heredity: The traits of the successful, restricted offspring are used to update the "DNA" for the next generation.

Experimental Results

The researchers evaluated their approach using the Parse-27k object detection dataset on an NVIDIA Jetson TX1 using the Caffe framework and TensorRT. The model was evolved over 13 generations, yielding impressive hardware-level improvements.

Inference speed (FPS) improvements across 13 generations of evolutionary synthesis on the NVIDIA Jetson TX1.
  • Speedup: Inference speed jumped from 7 fps (Generation 1) to 37 fps (Generation 13).
  • Compression: The number of synapses saw a 10-fold decrease over the course of evolution.
  • Performance Retention: Despite the massive reduction in complexity, modeling performance remained stable. Precision actually increased by ~2%, while recall decreased by ~2%, indicating that the core predictive power was preserved.

Discussion and Conclusion

The results suggest that sparsity and low precision are not just independent tweaks; when evolved together, they allow for massive gains in inference speed that exceed what either method might achieve in isolation. The framework treats synapses as "metabolic costs," forcing the network to "regress" or prune unnecessary connections to survive the environmental pressure for efficiency.

Future work will focus on pushing the precision floor toward 8-bit or binary weights and testing the framework on more diverse tasks like Natural Language Processing to further validate the evolutionary approach.

Summary updated

Abstract

A key contributing factor to incredible success of deep neural networks has been the significant rise on massively parallel computing devices allowing researchers to greatly increase the size and depth of deep neural networks, leading to significant improvements in modeling accuracy. Although deeper, larger, or complex deep neural networks have shown considerable promise, the computational complexity of such networks is a major barrier to utilization in resource-starved scenarios. We explore the synaptogenesis of deep neural networks in the formation of efficient deep neural network architectures within an evolutionary deep intelligence framework, where a probabilistic generative modeling strategy is introduced to stochastically synthesize increasingly efficient yet effective offspring deep neural networks over generations, mimicking evolutionary processes such as heredity, random mutation, and natural selection in a probabilistic manner. In this study, we primarily explore the imposition of synaptic precision restrictions and its impact on the evolutionary synthesis of deep neural networks to synthesize more efficient network architectures tailored for resource-starved scenarios. Experimental results show significant improvements in synaptic efficiency (~10X decrease for GoogLeNet-based DetectNet) and inference speed (>5X increase for GoogLeNet-based DetectNet) while preserving modeling accuracy.
BibTeX
@misc{shafiee2017exploring,
  author = {Mohammad Javad Shafiee and Francis Li and Alexander Wong},
  title = {{Exploring the Imposition of Synaptic Precision Restrictions For Evolutionary Synthesis of Deep Neural Networks}},
  year = {2017},
  eprint = {1707.00095},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1707.00095},
}
Figure