FermiNets: Learning generative machines to generate efficient neural networks via generative synthesis

Alexander Wong, Mohammad Javad Shafiee, Brendan Chwyl, Francis LiarXiv 2018

Abstract

The tremendous potential exhibited by deep learning is often offset by architectural and computational complexity, making widespread deployment a challenge for edge scenarios such as mobile and other consumer devices. To tackle this challenge, we explore the following idea: Can we learn generative machines to automatically generate deep neural networks with efficient network architectures? In this study, we introduce the idea of generative synthesis, which is premised on the intricate interplay between a generator-inquisitor pair that work in tandem to garner insights and learn to generate highly efficient deep neural networks that best satisfies operational requirements. What is most interesting is that, once a generator has been learned through generative synthesis, it can be used to generate not just one but a large variety of different, unique highly efficient deep neural networks that satisfy operational requirements. Experimental results for image classification, semantic segmentation, and object detection tasks illustrate the efficacy of generative synthesis in producing generators that automatically generate highly efficient deep neural networks (which we nickname FermiNets) with higher model efficiency and lower computational costs (reaching >10x more efficient and fewer multiply-accumulate operations than several tested state-of-the-art networks), as well as higher energy efficiency (reaching >4x improvements in image inferences per joule consumed on a Nvidia Tegra X2 mobile processor). As such, generative synthesis can be a powerful, generalized approach for accelerating and improving the building of deep neural networks for on-device edge scenarios.

Introduction

Deep learning's potential is often hindered by the architectural and computational complexity of modern models. This complexity makes deployment on edge devices—such as smartphones, drones, and IoT sensors—extremely challenging. Traditional approaches to efficiency, such as precision reduction, model compression (pruning), or manual architecture design (e.g., MobileNet), often rely on human intuition or post-hoc optimizations that may not fully exploit the design space. This paper explores a fundamental question: Can we train a machine to learn the underlying principles of efficient design and automatically generate these networks for us?

Generative Synthesis: The Generator-Inquisitor Framework

The authors introduce Generative Synthesis (GenSynth), an automated framework that treats network design as a constrained optimization problem. This process relies on a cyclical interplay between two key components:

  • The Generator (G): A machine that produces a deep neural network architecture from a "seed."
  • The Inquisitor (I): A component that probes the generated network with stimulus signals to observe its reactions. Using information-theoretic insights, the Inquisitor identifies which architectural components contribute to efficiency and which are redundant.

This loop allows the Inquisitor to update the Generator's parameters, teaching it the "foundational insights" of efficient design. Once trained, the Generator can produce a diverse library of unique, highly efficient architectures (FermiNets) tailored to specific operational requirements, such as accuracy thresholds or memory limits.

Experimental Evaluation

The GenSynth approach was evaluated across three computer vision tasks:

  • Image Classification: Using the CIFAR-10 dataset.
  • Semantic Segmentation: Using the CamVid dataset for road scene understanding.
  • Object Detection: Using the Parse27K dataset for pedestrian detection.

Results and Discussion

The resulting FermiNets demonstrated significant improvements over state-of-the-art efficient models like MobileNet and ShuffleNet. A key metric used is Information Density, which measures modeling power per parameter.

Information Density comparison between FermiNets and standard architectures.

As shown in the figure above, FermiNet-D achieves over 26.4× higher information density compared to MobileNet. This machine-driven intuition allows for the discovery of design patterns that surpass human-engineered structures. Furthermore, the overall performance was evaluated using NetScore, a metric that balances accuracy, architectural complexity, and computational cost.

NetScore comparison showing the overall efficiency-accuracy trade-off.

FermiNets consistently achieved higher NetScores across the board. In object detection tasks, FermiNet-OD required over 11× fewer multiply-accumulate (MAC) operations than DetectNet and achieved over 4× higher energy efficiency (images per joule) when tested on an Nvidia Tegra X2 mobile processor.

Conclusion and Future Directions

Generative synthesis represents a powerful, generalized approach for building deep neural networks for edge scenarios. While highly effective, future work could integrate direct hardware-in-the-loop feedback into the Inquisitor to further optimize for specific hardware latencies. Additionally, scaling these experiments to massive datasets like ImageNet would further validate the robustness of the GenSynth framework.

Summary updated

BibTeX
@misc{wong2018ferminets,
  author = {Alexander Wong and Mohammad Javad Shafiee and Brendan Chwyl and Francis Li},
  title = {{FermiNets: Learning generative machines to generate efficient neural networks via generative synthesis}},
  year = {2018},
  eprint = {1809.05989},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1809.05989},
}
Figure