An Integer-Only Resource-Minimized RNN on FPGA for Low-Frequency Sensors in Edge-AI
Open Access
- 23 June 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Sensors Journal
- Vol. 23 (15) , 17784-17793
Abstract
The growth of Artificial Intelligence (AI) and Internet of Things (IoT) sensors has given rise to a synergistic paradigm known as AIoT, wherein AI functions as the decision-maker and sensors collect information. However, a substantial proportion of AIoT rely on cloud-based AI, which process wirelessly transmitted raw data, increasing power consumption and reducing battery life at sensor nodes. Edge-AI has emerged as a promising alternative, implementing AI directly on sensor nodes, eliminating the need of raw data transmission. Despite its potential, there is a scarcity of hardware architectures optimized for resource-constrained platforms, such as Field Programmable Gate Arrays (FPGA), particularly for low-frequency sensors. This work presents a shared-scale integer-only Recurrent Neural Network (RNN) implemented on a Lattice ICE40UP5K FPGA using a resource-minimized Time and Layer-Multiplexed hardware architecture. This architecture adopts real-time processing, setting clock frequency to complete a single RNN timestep preceding the next sensor sample, reducing power consumption significantly. Measurements on this FPGA implementing our proposed architecture applied to a pre-trained RNN on cow behavior show a power consumption of 360 μW at a clock frequency of 146 kHz and negligible accuracy loss at 8-bit bitwidth. This finding suggests that our methods lead to the most accurate implementation of animal behavior estimation with a power consumption below 500 μW on an FPGA. The implementation in Systemverilog and Python code is publicly available, enabling adaptation of the RNN for various tasks involving low-frequency sensors on resource-constrained FPGAs, thereby contributing to the further advancement and democratization of Edge-AI solutions.Keywords
Funding Information
- Japan Science and Technology Agency, Support for Pioneering Researcher Initated by the Next Generation Program (JPMJSP2106)
This publication has 33 references indexed in Scilit:
- Review: Environmental impact of livestock farming and Precision Livestock Farming as a mitigation strategyScience of The Total Environment, 2019
- Recent Trends in Deep Learning Based Natural Language Processing [Review Article]IEEE Computational Intelligence Magazine, 2018
- An Analysis of the Energy Consumption of LPWA-based IoT Devices2018
- DeltaRNN2018
- A Survey on Mobile Edge Computing: The Communication PerspectiveIEEE Communications Surveys & Tutorials, 2017
- Impact of diet and fertility on greenhouse gas emissions and nitrogen efficiency of milk productionLivestock, 2017
- A survey on LPWA technology: LoRa and NB-IoTICT Express, 2017
- Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation2014
- Long Short-Term MemoryNeural Computation, 1997
- Finding structure in timeCognitive Science, 1990