A Micro Neural Network for Healthcare Sensor Data Stream Classification in Sustainable and Smart Cities

Jin Wu, Le Sun, Dandan Peng, Siuly SiulyComputational 2022 · DOI

TL;DR

This paper introduces MicroNN, a novel, lightweight neural network designed for real-time classification of healthcare sensor data on edge devices. By combining a microfeature extractor with a KL divergence-based approach to differentiate similar classes, MicroNN achieves high accuracy while significantly reducing computational complexity, making it suitable for sustainable smart city applications.

What Problem Does This Paper Address?

The integration of the Internet of Things (IoT) and artificial intelligence (AI) holds immense promise for developing sustainable and smart cities, particularly in the realm of e-health. While deep learning methods have shown great success in classifying healthcare sensor data streams (like ECGs), they often suffer from high computational demands, requiring substantial time and storage for training and inference. This makes them impractical for deployment on resource-constrained edge devices, which are crucial for real-time, on-site patient monitoring and reducing medical expenses. The challenge lies in creating a model that is both accurate and efficient enough to run on these small devices, especially when dealing with subtle differences between physiological signal classes.

Methods

The proposed solution is MicroNN, a micro neural network designed for efficient time series classification. Its architecture comprises three main components:

  • Preprocessing: Physiological signals are first denoised using wavelet transform and then segmented into slices. These slices are normalized to prepare them for feature extraction.
  • Microfeature Extractor: This component utilizes a two-level recurrent neural network (RNN) architecture. Unlike traditional CNNs, RNNs are chosen for their memory capabilities in time series processing and their generally smaller footprint. The first level processes individual slices, and the second level aggregates these outputs for further feature extraction.
  • Miniclassifiers: MicroNN employs a per-class classification approach, where a separate miniclassifier is trained for each class. To enhance the model's ability to distinguish between classes with similar features, a loss function incorporating Kullback-Leibler (KL) divergence is introduced. This KL divergence term helps to reduce shared knowledge between classes, thereby improving discriminative power. The loss function also includes terms for negative log-likelihood and H-regularization to balance performance and prevent weight explosion.

Datasets

The performance of MicroNN was evaluated on two publicly available ECG datasets:

  • MIT-BIH Arrhythmia Database (MIT-BIH-AR): This dataset contains 48 half-hour excerpts of two-channel ambulatory ECG recordings from 47 subjects. The study utilized the ECG record from the MLII lead.
  • St Petersburg INCART 12-lead Arrhythmia Database (INCART): This dataset comprises 75 annotated records from 32 individuals, with a sampling rate of 257 Hz. Each record is a half-hour, 12-lead ECG.

The datasets were split into training, validation, and test sets in a 6:2:2 ratio.

Key Insights and Ideas

  • Edge-Friendly Deep Learning: The core insight is that deep learning for healthcare can be made practical for edge devices by focusing on model miniaturization without sacrificing accuracy. This opens doors for ubiquitous, real-time health monitoring.
  • RNNs for Efficiency: Leveraging RNNs (specifically, a two-level collection) as the feature extractor offers a more computationally efficient alternative to CNNs for time series data, especially on resource-limited hardware.
  • KL Divergence for Fine-Grained Classification: The novel application of KL divergence in the loss function is crucial for differentiating between subtle variations in physiological signals, a common challenge in medical data analysis. This directly addresses the problem of distinguishing classes with similar features.
  • Per-Class Classification for Robustness: Employing individual classifiers for each class, combined with the KL divergence, allows the model to specialize and better handle the nuances of each specific heartbeat type.

Key Results

MicroNN demonstrated strong performance on both datasets:

  • Accuracy: Achieved an overall accuracy of 98.4% on the MIT-BIH-AR dataset and 98.1% on the INCART dataset.
  • Class S Performance: Notably, MicroNN showed significantly improved F1-scores for class S (often representing a specific type of arrhythmia) compared to state-of-the-art methods on both datasets. This highlights its effectiveness in handling classes with similar characteristics.
  • Computational Efficiency: Table 1 shows MicroNN has a model size of 13.7 MB, which is considerably smaller than other compared methods (e.g., CNNs at 39.5 MB, LSTMs at 15.4 MB). Figures 3 and 4 illustrate that accuracy scales well with dataset size, and training time remains relatively low (e.g., 23 seconds for MIT-BIH-AR with ~4000 instances).

Limitations and Future Work

  • Limitations: The paper acknowledges that while MicroNN performs well, further improvements in accuracy are always desirable. The study primarily focused on ECG data, and its generalization to other physiological signals would require further validation.
  • Future Work: The authors plan to further enhance MicroNN's accuracy while maintaining its lightweight nature. They also aim to extend experiments to a wider range of healthcare sensor datasets to demonstrate broader applicability. The paper also suggests an engineering application where MicroNN is deployed on edge devices for real-time patient monitoring and assisting doctors, promoting the development of sustainable and smart cities.

Summary updated

Abstract

A smart city is an intelligent space, in which large amounts of data are collected and analyzed using low-cost sensors and automatic algorithms. The application of artificial intelligence and Internet of Things (IoT) technologies in electronic health (E-health) can efficiently promote the development of sustainable and smart cities. The IoT sensors and intelligent algorithms enable the remote monitoring and analyzing of the healthcare data of patients, which reduces the medical and travel expenses in cities. Existing deep learning-based methods for healthcare sensor data classification have made great achievements. However, these methods take much time and storage space for model training and inference. They are difficult to be deployed in small devices to classify the physiological signal of patients in real time. To solve the above problems, this paper proposes a micro time series classification model called the micro neural network (MicroNN). The proposed model is micro enough to be deployed on tiny edge devices. MicroNN can be applied to long-term physiological signal monitoring based on edge computing devices. We conduct comprehensive experiments to evaluate the classification accuracy and computation complexity of MicroNN. Experiment results show that MicroNN performs better than the state-of-the-art methods. The accuracies on the two datasets (MIT-BIH-AR and INCART) are 98.4% and 98.1%, respectively. Finally, we present an application to show how MicroNN can improve the development of sustainable and smart cities.
BibTeX
@inproceedings{wu2022micro,
  author = {Jin Wu and Le Sun and Dandan Peng and Siuly Siuly},
  title = {{A Micro Neural Network for Healthcare Sensor Data Stream Classification in Sustainable and Smart Cities}},
  booktitle = {Computational},
  year = {2022},
  doi = {10.1155/2022/4270295},
}
Figure