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. There has been significant recent effort in designing small, low-footprint deep neural networks catered for low-power edge devices, with much of the focus on two extremes: hand-crafting via design principles or fully automated network architecture search. 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. Furthermore, the efficacy of the AttoNets is demonstrated for the task of instance segmentation and object detection, where an AttoNet-based Mask R-CNN network was constructed with significantly fewer parameters and computational costs than a ResNet-50 based Mask R-CNN network.

Introduction

Deploying deep learning models on "the edge"—such as mobile phones, drones, and IoT devices—remains a significant hurdle due to strict limitations on memory, battery life, and processing power. Current solutions typically follow one of two paths: hand-crafted designs, which rely on expert intuition but fail to explore the vast space of micro-architectural possibilities, or Neural Architecture Search (NAS), which is computationally expensive and often overlooks high-level architectural principles.

This paper proposes a "middle path" through a human-machine collaborative design strategy. This approach leverages human intuition for high-level infrastructure and machine optimization for low-level efficiency, resulting in the AttoNet family of ultra-compact models.

Methodology: Human-Machine Collaborative Design

The researchers introduced a two-phase design strategy to balance performance and efficiency:

1. Principled Network Design Prototyping (Human-Driven)

Humans specify the "macro-architecture," focusing on modeling performance. For AttoNets, this involved designing a backbone consisting of 16 modules connected via residual (shortcut) connections to ensure the network can learn complex features through sufficient depth and connectivity.

The AttoNet macro-architecture consisting of 16 modules with residual connections.

2. Machine-Driven Design Exploration (Machine-Driven)

Using a process called Generative Synthesis, a machine-driven explorer populates the internal "micro-architecture" of each module. It optimizes for efficiency, determining the exact number of filter groups, channels, and operations within each block to meet specific constraints. Unlike standard architectures where every block is identical, every module in an AttoNet is unique, customized for its specific position in the pipeline.

AttoNet Module Types A and B, showcasing the machine-designed micro-architecture including pointwise compression and grouped convolutions.

Key Architectural Features: * Pointwise Compression: Modules begin with a 1x1 convolution to reduce dimensionality immediately. * Strided Convolutional Groups: Work is split into smaller groups processing data independently to lower computational costs. * Back-to-Back Pointwise Convolutions: These mix group outputs and restore dimensionality for the subsequent stage.

Experimental Results

AttoNets were evaluated on ImageNet-50 for object recognition and Pascal VOC 2012 for complex tasks like instance segmentation. The results demonstrate that AttoNets significantly outperform existing efficiency-focused models:

  • Efficiency vs. Accuracy: AttoNet-D achieved approximately 1.8% higher accuracy than MobileNet-V1 while requiring 10x fewer parameters and 10x fewer multiply-add operations. Similarly, AttoNet-C surpassed MobileNet-V2 accuracy by 0.9% with 2.2x fewer parameters.
  • NetScore Performance: The paper utilizes "NetScore," a metric balancing accuracy against parameter count and operations. AttoNet-D achieved a NetScore of 90.21, far exceeding MobileNet-V1’s 69.71.
  • Downstream Tasks: When used as a backbone for Mask R-CNN, the AttoNet-based version required 5x fewer operations and 2x fewer parameters than a ResNet-50 version while maintaining competitive detection accuracy (65.5% APd).

Conclusion

AttoNets demonstrate the power of human-machine collaborative design in creating models optimized for the edge. By dividing labor—humans handling high-level infrastructure and machines handling low-level "pixel-pushing"—the researchers produced a family of models that are both more accurate and significantly more efficient than previous state-of-the-art designs. Future work will explore applying this collaborative approach to video action recognition, image super-resolution, and pose estimation.

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