AttoNets: Compact and Efficient Deep Neural Networks for the Edge via Human-Machine Collaborative Design

Alexander Wong, Zhong Qiu Lin, Brendan Chwyl

Abstract

While deep neural networks have achieved state-of-the-art performance across a large number of complex tasks, it remains a big challenge to deploy such networks for practical, on-device edge scenarios such as on mobile devices, consumer devices, drones, and vehicles. In this study, we take a deeper exploration into a human-machine collaborative design approach for creating highly efficient deep neural networks through a synergy between principled network design prototyping and machine-driven design exploration. The efficacy of human-machine collaborative design is demonstrated through the creation of AttoNets, a family of highly efficient deep neural networks for on-device edge deep learning. Each AttoNet possesses a human-specified network-level macro-architecture comprising of custom modules with unique machine-designed module-level macro-architecture and micro-architecture designs, all driven by human-specified design requirements. Experimental results for the task of object recognition showed that the AttoNets created via human-machine collaborative design has significantly fewer parameters and computational costs than state-of-the-art networks designed for efficiency while achieving noticeably higher accuracy (with the smallest AttoNet achieving ~1.8% higher accuracy while requiring ~10x fewer multiply-add operations and parameters than MobileNet-V1). Furthermore, the efficacy of the AttoNets is demonstrated for the task of instance-level object segmentation and object detection, where an AttoNet-based Mask R-CNN network was constructed with significantly fewer parameters and computational costs (~5x fewer multiply-add operations and ~2x fewer parameters) than a ResNet-50 based Mask R-CNN network.

Introduction

Deploying powerful AI on "edge" devices—such as smartphones, drones, and IoT sensors—presents a significant challenge due to constraints in battery life, memory, and processing power. Traditionally, network design follows two paths: hand-crafting by human experts, which is intuitive but often lacks fine-grained optimization, or Neural Architecture Search (NAS), which is computationally expensive and can lack high-level structural logic.

This research proposes a middle ground: Human-Machine Collaborative Design. By leveraging human creativity for the high-level "skeleton" (macro-architecture) and machine meticulousness for the low-level "muscles and nerves" (micro-architecture), the authors developed AttoNets, a family of ultra-compact networks that outperform industry standards like MobileNet.

Methods: Human-Machine Collaborative Design

The design of AttoNets is a two-phase process that divides labor between human designers and automated systems.

Phase 1: Human-Driven Prototyping

Human designers establish the high-level macro-architecture. For AttoNets, this involved a modular design consisting of 16 distinct modules connected via residual "shortcut" connections. The focus here is on modeling performance, ensuring the network is deep enough to capture complex features.

The human-specified macro-architecture of AttoNet, consisting of 16 modules with shortcut connections.

Phase 2: Machine-Driven Exploration

Using Generative Synthesis, a machine-driven exploration phase optimizes the micro-architecture within the human-defined modules. The machine's objective is to maximize efficiency—minimizing parameters and multiply-add (MADD) operations—while meeting specific accuracy targets.

The resulting modules utilize several innovative strategies:

  • Pointwise Compression: 1x1 convolutions reduce data dimensionality before complex processing.
  • Strided Convolutional Groups: Data is partitioned into smaller groups for independent processing.
  • Back-to-Back Pointwise Convolutions: A "squeeze-and-expand" approach facilitates efficient cross-channel information mixing.
The machine-designed micro-architectures for AttoNet Module Types A and B, showing unique internal structures optimized for efficiency.

Key Results and Insights

The AttoNet family (A through D) was evaluated on ImageNet50 and Pascal VOC 2012, consistently outperforming established models like MobileNet-V1, V2, and ShuffleNet-V2.

  • Extreme Efficiency: The smallest model, AttoNet-D, achieved 66.3% accuracy with only 0.32 million parameters. This is approximately 10x smaller than MobileNet-V1 (3.26M parameters) while being more accurate (64.52%).
  • High Accuracy: AttoNet-A reached 73% top-1 accuracy, setting a high bar for mobile-optimized architectures.
  • Versatility: When used as a backbone for Mask R-CNN, AttoNet achieved a 5x speedup and 2x reduction in size compared to a ResNet-50 backbone, without sacrificing segmentation quality.

A key insight from this study is intra-network variability. Unlike hand-crafted networks where layers are often repetitive, every module in an AttoNet is unique, tuned by the machine for its specific position in the network—a level of granularity impractical for human designers.

Conclusion and Future Work

AttoNets demonstrate the power of human-machine synergy in creating efficient edge-ready models. Future research will expand this collaborative design approach to other tasks such as video action recognition and pose estimation, and investigate performance across diverse specialized AI hardware like TPUs and mobile GPUs.

Summary updated

BibTeX
@inproceedings{wong2019attonets,
  author = {Alexander Wong and Zhong Qiu Lin and Brendan Chwyl},
  title = {{AttoNets: Compact and Efficient Deep Neural Networks for the Edge via Human-Machine Collaborative Design}},
  booktitle = {Workshops @ CVPR},
  year = {2019},
  url = {https://openreview.net/forum?id=hjnaD1SBHFN},
}
Figure