TU Darmstadt / ULB / TUprints

Design of Hardware Accelerators for Optimized and Quantized Neural Networks to Detect Atrial Fibrillation in Patch ECG Device with RISC-V

Hoyer, Ingo ; Utz, Alexander ; Lüdecke, André ; Kappert, Holger ; Rohr, Maurice ; Hoog Antink, Christoph ; Seidl, Karsten (2023)
Design of Hardware Accelerators for Optimized and Quantized Neural Networks to Detect Atrial Fibrillation in Patch ECG Device with RISC-V.
In: Sensors, 2023, 23 (5)
doi: 10.26083/tuprints-00023648
Article, Secondary publication, Publisher's Version

[img] Text
sensors-23-02703.pdf
Copyright Information: CC BY 4.0 International - Creative Commons, Attribution.

Download (354kB)
Item Type: Article
Type of entry: Secondary publication
Title: Design of Hardware Accelerators for Optimized and Quantized Neural Networks to Detect Atrial Fibrillation in Patch ECG Device with RISC-V
Language: English
Date: 11 April 2023
Place of Publication: Darmstadt
Year of primary publication: 2023
Publisher: MDPI
Journal or Publication Title: Sensors
Volume of the journal: 23
Issue Number: 5
Collation: 17 Seiten
DOI: 10.26083/tuprints-00023648
Corresponding Links:
Origin: Secondary publication DeepGreen
Abstract:

Atrial Fibrillation (AF) is one of the most common heart arrhythmias. It is known to cause up to 15% of all strokes. In current times, modern detection systems for arrhythmias, such as single-use patch electrocardiogram (ECG) devices, have to be energy efficient, small, and affordable. In this work, specialized hardware accelerators were developed. First, an artificial neural network (NN) for the detection of AF was optimized. Special attention was paid to the minimum requirements for the inference on a RISC-V-based microcontroller. Hence, a 32-bit floating-point-based NN was analyzed. To reduce the silicon area needed, the NN was quantized to an 8-bit fixed-point datatype (Q7). Based on this datatype, specialized accelerators were developed. Those accelerators included single-instruction multiple-data (SIMD) hardware as well as accelerators for activation functions such as sigmoid and hyperbolic tangents. To accelerate activation functions that require the e-function as part of their computation (e.g., softmax), an e-function accelerator was implemented in the hardware. To compensate for the losses of quantization, the network was expanded and optimized for run-time and memory requirements. The resulting NN has a 7.5% lower run-time in clock cycles (cc) without the accelerators and 2.2 percentage points (pp) lower accuracy compared to a floating-point-based net, while requiring 65% less memory. With the specialized accelerators, the inference run-time was lowered by 87.2% while the F1-Score decreased by 6.1 pp. Implementing the Q7 accelerators instead of the floating-point unit (FPU), the silicon area needed for the microcontroller in 180 nm-technology is below 1 mm².

Uncontrolled Keywords: atrial fibrillation, artificial intelligence, quantization, neural networks, RISC-V
Status: Publisher's Version
URN: urn:nbn:de:tuda-tuprints-236487
Additional Information:

This article belongs to the Special Issue Digital Remote Healthcare Monitoring: Non-invasive Sensor Technology and AI/ML Techniques

Classification DDC: 600 Technology, medicine, applied sciences > 610 Medicine and health
600 Technology, medicine, applied sciences > 620 Engineering and machine engineering
Divisions: 18 Department of Electrical Engineering and Information Technology > Artificial Intelligent Systems in Medicine (KISMED)
Date Deposited: 11 Apr 2023 11:40
Last Modified: 14 Nov 2023 19:05
SWORD Depositor: Deep Green
URI: https://tuprints.ulb.tu-darmstadt.de/id/eprint/23648
PPN: 509108180
Export:
Actions (login required)
View Item View Item