Cargando…
A processing-in-pixel-in-memory paradigm for resource-constrained TinyML applications
The demand to process vast amounts of data generated from state-of-the-art high resolution cameras has motivated novel energy-efficient on-device AI solutions. Visual data in such cameras are usually captured in analog voltages by a sensor pixel array, and then converted to the digital domain for su...
Autores principales: | , , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Nature Publishing Group UK
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9399136/ https://www.ncbi.nlm.nih.gov/pubmed/35999235 http://dx.doi.org/10.1038/s41598-022-17934-1 |
_version_ | 1784772456678948864 |
---|---|
author | Datta, Gourav Kundu, Souvik Yin, Zihan Lakkireddy, Ravi Teja Mathai, Joe Jacob, Ajey P. Beerel, Peter A. Jaiswal, Akhilesh R. |
author_facet | Datta, Gourav Kundu, Souvik Yin, Zihan Lakkireddy, Ravi Teja Mathai, Joe Jacob, Ajey P. Beerel, Peter A. Jaiswal, Akhilesh R. |
author_sort | Datta, Gourav |
collection | PubMed |
description | The demand to process vast amounts of data generated from state-of-the-art high resolution cameras has motivated novel energy-efficient on-device AI solutions. Visual data in such cameras are usually captured in analog voltages by a sensor pixel array, and then converted to the digital domain for subsequent AI processing using analog-to-digital converters (ADC). Recent research has tried to take advantage of massively parallel low-power analog/digital computing in the form of near- and in-sensor processing, in which the AI computation is performed partly in the periphery of the pixel array and partly in a separate on-board CPU/accelerator. Unfortunately, high-resolution input images still need to be streamed between the camera and the AI processing unit, frame by frame, causing energy, bandwidth, and security bottlenecks. To mitigate this problem, we propose a novel Processing-in-Pixel-in-memory (P(2)M) paradigm, that customizes the pixel array by adding support for analog multi-channel, multi-bit convolution, batch normalization, and Rectified Linear Units (ReLU). Our solution includes a holistic algorithm-circuit co-design approach and the resulting P(2)M paradigm can be used as a drop-in replacement for embedding memory-intensive first few layers of convolutional neural network (CNN) models within foundry-manufacturable CMOS image sensor platforms. Our experimental results indicate that P(2)M reduces data transfer bandwidth from sensors and analog to digital conversions by [Formula: see text] , and the energy-delay product (EDP) incurred in processing a MobileNetV2 model on a TinyML use case for visual wake words dataset (VWW) by up to [Formula: see text] compared to standard near-processing or in-sensor implementations, without any significant drop in test accuracy. |
format | Online Article Text |
id | pubmed-9399136 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Nature Publishing Group UK |
record_format | MEDLINE/PubMed |
spelling | pubmed-93991362022-08-25 A processing-in-pixel-in-memory paradigm for resource-constrained TinyML applications Datta, Gourav Kundu, Souvik Yin, Zihan Lakkireddy, Ravi Teja Mathai, Joe Jacob, Ajey P. Beerel, Peter A. Jaiswal, Akhilesh R. Sci Rep Article The demand to process vast amounts of data generated from state-of-the-art high resolution cameras has motivated novel energy-efficient on-device AI solutions. Visual data in such cameras are usually captured in analog voltages by a sensor pixel array, and then converted to the digital domain for subsequent AI processing using analog-to-digital converters (ADC). Recent research has tried to take advantage of massively parallel low-power analog/digital computing in the form of near- and in-sensor processing, in which the AI computation is performed partly in the periphery of the pixel array and partly in a separate on-board CPU/accelerator. Unfortunately, high-resolution input images still need to be streamed between the camera and the AI processing unit, frame by frame, causing energy, bandwidth, and security bottlenecks. To mitigate this problem, we propose a novel Processing-in-Pixel-in-memory (P(2)M) paradigm, that customizes the pixel array by adding support for analog multi-channel, multi-bit convolution, batch normalization, and Rectified Linear Units (ReLU). Our solution includes a holistic algorithm-circuit co-design approach and the resulting P(2)M paradigm can be used as a drop-in replacement for embedding memory-intensive first few layers of convolutional neural network (CNN) models within foundry-manufacturable CMOS image sensor platforms. Our experimental results indicate that P(2)M reduces data transfer bandwidth from sensors and analog to digital conversions by [Formula: see text] , and the energy-delay product (EDP) incurred in processing a MobileNetV2 model on a TinyML use case for visual wake words dataset (VWW) by up to [Formula: see text] compared to standard near-processing or in-sensor implementations, without any significant drop in test accuracy. Nature Publishing Group UK 2022-08-23 /pmc/articles/PMC9399136/ /pubmed/35999235 http://dx.doi.org/10.1038/s41598-022-17934-1 Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Article Datta, Gourav Kundu, Souvik Yin, Zihan Lakkireddy, Ravi Teja Mathai, Joe Jacob, Ajey P. Beerel, Peter A. Jaiswal, Akhilesh R. A processing-in-pixel-in-memory paradigm for resource-constrained TinyML applications |
title | A processing-in-pixel-in-memory paradigm for resource-constrained TinyML applications |
title_full | A processing-in-pixel-in-memory paradigm for resource-constrained TinyML applications |
title_fullStr | A processing-in-pixel-in-memory paradigm for resource-constrained TinyML applications |
title_full_unstemmed | A processing-in-pixel-in-memory paradigm for resource-constrained TinyML applications |
title_short | A processing-in-pixel-in-memory paradigm for resource-constrained TinyML applications |
title_sort | processing-in-pixel-in-memory paradigm for resource-constrained tinyml applications |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9399136/ https://www.ncbi.nlm.nih.gov/pubmed/35999235 http://dx.doi.org/10.1038/s41598-022-17934-1 |
work_keys_str_mv | AT dattagourav aprocessinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT kundusouvik aprocessinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT yinzihan aprocessinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT lakkireddyraviteja aprocessinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT mathaijoe aprocessinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT jacobajeyp aprocessinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT beerelpetera aprocessinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT jaiswalakhileshr aprocessinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT dattagourav processinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT kundusouvik processinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT yinzihan processinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT lakkireddyraviteja processinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT mathaijoe processinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT jacobajeyp processinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT beerelpetera processinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications AT jaiswalakhileshr processinginpixelinmemoryparadigmforresourceconstrainedtinymlapplications |