Back to Search
Start Over
On-sensor binarized CNN inference with dynamic model swapping in pixel processor arrays.
- Source :
-
Frontiers in neuroscience [Front Neurosci] 2022 Aug 15; Vol. 16, pp. 909448. Date of Electronic Publication: 2022 Aug 15 (Print Publication: 2022). - Publication Year :
- 2022
-
Abstract
- Many types of Convolutional Neural Network (CNN) models and training methods have been proposed in recent years aiming to provide efficiency for embedded and edge devices with limited computation and memory resources. The wide variety of architectures makes this a complex task that has to balance generality with efficiency. Among the most interesting camera-sensor architectures are Pixel Processor Arrays (PPAs). This study presents two methods that are useful for embedded CNNs in general but particularly suitable for PPAs. The first is for training purely binarized CNNs, the second is for deploying larger models with a model swapping paradigm that loads model components dynamically. Specifically, this study trains and implements networks with batch normalization and adaptive threshold for binary activations. Then, we convert batch normalization and binary activations into a bias matrix which can be parallelly implemented by an add/sub operation. For dynamic model swapping, we propose to decompose applications that are beyond the capacity of a PPA into sub-tasks that can be solved by tree networks that can be loaded dynamically as needed. We demonstrate our approaches to various tasks including classification, localization, and coarse segmentation on a highly resource constrained PPA sensor-processor.<br />Competing Interests: Author LB is currently employed by Pixelcore Research. Author PD was employed by Pixelcore Research. Author WM-C was employed by Amazon.com. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.<br /> (Copyright © 2022 Liu, Bose, Fan, Dudek and Mayol-Cuevas.)
Details
- Language :
- English
- ISSN :
- 1662-4548
- Volume :
- 16
- Database :
- MEDLINE
- Journal :
- Frontiers in neuroscience
- Publication Type :
- Academic Journal
- Accession number :
- 36046469
- Full Text :
- https://doi.org/10.3389/fnins.2022.909448