Publication Details

NASCaps: A Framework for Neural Architecture Search to Optimize the Accuracy and Hardware Efficiency of Convolutional Capsule Networks

MARCHISIO, A.; MASSA, A.; MRÁZEK, V.; BUSSOLINO, B.; MARTINA, M.; SHAFIQUE, M. NASCaps: A Framework for Neural Architecture Search to Optimize the Accuracy and Hardware Efficiency of Convolutional Capsule Networks. In IEEE/ACM International Conference on Computer-Aided Design (ICCAD '20). Virtual Event: Association for Computing Machinery, 2020. p. 1-9. ISBN: 978-1-4503-8026-3.
Czech title
NASCaps: Nástroj pro hledání architektury neuronových sítí pro optimalizaci hardwarové efektivnosti a přesnosti pro konvoluční kapsulové sítě
Type
conference paper
Language
English
Authors
MARCHISIO, A.
MASSA, A.
Mrázek Vojtěch, Ing., Ph.D. (DCSY)
BUSSOLINO, B.
MARTINA, M.
Shafique Muhammad (FIT)
URL
Keywords

Deep Neural Networks, DNNs, Capsule Networks, Evolutionary Algorithms, Genetic Algorithms, Neural Architecture Search, Hardware Accelerators, Accuracy, Energy Efficiency, Memory, Latency, Design Space, Multi-Objective, Optimization.

Abstract

Deep Neural Networks (DNNs) have made significant improvements to reach the desired accuracy to be employed in a wide variety of Machine Learning (ML) applications. Recently the Google Brain's team demonstrated the ability of Capsule Networks (CapsNets) to encode and learn spatial correlations between different input features, thereby obtaining superior learning capabilities compared to traditional (i.e., non-capsule based) DNNs. However, designing CapsNets using conventional methods is a tedious job and incurs significant training effort. Recent studies have shown that powerful methods to automatically select the best/optimal DNN model configuration for a given set of applications and a training dataset are based on the Neural Architecture Search (NAS) algorithms. Moreover, due to their extreme computational and memory requirements, DNNs are employed using the specialized hardware accelerators in IoT-Edge/CPS devices. In this paper, we propose NASCaps, an automated framework for the hardware-aware NAS of different types of DNNs, covering both traditional convolutional DNNs and CapsNets. We study the efficacy of deploying a multi-objective Genetic Algorithm (e.g., based on the NSGA-II algorithm). The proposed framework can jointly optimize the network accuracy and the corresponding hardware efficiency, expressed in terms of energy, memory, and latency of a given hardware accelerator executing the DNN inference. Besides supporting the traditional DNN layers, our framework is the first to model and supports the specialized capsule layers and dynamic routing in the NAS-flow. We evaluate our framework on different datasets, generating different network configurations, and demonstrate the tradeoffs between the different output metrics. We will open-source the complete framework and configurations of the Pareto-optimal architectures at https://github.com/ehw-fit/nascaps.

Published
2020
Pages
1–9
Proceedings
IEEE/ACM International Conference on Computer-Aided Design (ICCAD '20)
ISBN
978-1-4503-8026-3
Publisher
Association for Computing Machinery
Place
Virtual Event
DOI
UT WoS
000671087100096
EID Scopus
BibTeX
@inproceedings{BUT168136,
  author="MARCHISIO, A. and MASSA, A. and MRÁZEK, V. and BUSSOLINO, B. and MARTINA, M. and SHAFIQUE, M.",
  title="NASCaps: A Framework for Neural Architecture Search to Optimize the Accuracy and Hardware Efficiency of Convolutional Capsule Networks",
  booktitle="IEEE/ACM International Conference on Computer-Aided Design (ICCAD '20)",
  year="2020",
  pages="1--9",
  publisher="Association for Computing Machinery",
  address="Virtual Event",
  doi="10.1145/3400302.3415731",
  isbn="978-1-4503-8026-3",
  url="https://arxiv.org/abs/2008.08476"
}
Back to top