Abstract
In this work, we propose the BioNetExplorer framework to systematically generate and explore multiple Deep Neural Network (DNN) architectures for bio-signal processing in wearables. Our framework adapts key neural architecture parameters to search for an embedded DNN with a low hardware overhead, which can be deployed in wearable edge devices to analyze bio-signal data and extract relevant information, such as arrhythmia and seizure. Our framework also enables hardware-aware DNN architecture search using genetic algorithms by imposing user requirements and hardware constraints (storage, FLOPs, etc.) during the exploration stage, thereby limiting the number of networks explored. Moreover, BioNetExplorer can be used to search for DNNs based on user-required output classes. The use of genetic algorithms reduces the exploration time, on average, by 9x compared to exhaustive exploration. We successfully identified Pareto-optimal designs that reduce storage overhead by ~30MB for a quality loss of less than 0.5%. To enable low-cost embedded DNNs, BioNetExplorer also employs model compression techniques to further reduce storage overhead by up to 53x for a quality loss of <0.2%.
Introduction
Smart wearables, such as the Apple Watch or Fitbit, continuously collect massive amounts of physiological data, including electrocardiograms (ECGs). Traditionally, this data is transmitted to the cloud for heavy-duty processing and anomaly detection. However, cloud-dependent processing introduces latency, drains battery life through constant wireless transmission, and raises significant user privacy concerns.
Moving computation directly to the "edge"—the wearable device itself—addresses these issues but introduces a new challenge: state-of-the-art DNNs are typically too large and compute-hungry for resource-constrained wearable chips. While Neural Architecture Search (NAS) has automated the design of efficient networks, existing frameworks like MnasNet or MobileNetV3 are optimized for 2D image classification and perform poorly on 1D time-series bio-signals. BioNetExplorer bridges this gap by providing a fast, automated, and hardware-aware way to design DNNs specifically for 1D bio-signals.
The BioNetExplorer Framework
BioNetExplorer utilizes a multi-stage pipeline to generate, search, and compress DNNs tailored for wearable applications. The process begins with defining user requirements and hardware constraints, such as memory (MB) and computational power (FLOPs).
Instead of an exhaustive search, which is computationally expensive, BioNetExplorer employs Genetic Algorithms (GAs) such as NSGA-II and SPEA-2. These algorithms evaluate networks using a custom weighted cost function that simultaneously optimizes for output quality (Accuracy, F1-score) and hardware constraints. Once a Pareto-optimal network is identified, the framework applies post-training model compression, including pruning (removing redundant weights) and quantization (reducing bit-precision), to shrink the model further for deployment.
Specialized Architecture for Bio-Signals
Unlike standard NAS frameworks that use 2D convolutions, BioNetExplorer focuses on 1D time-series data. The framework uses a base architecture consisting of 1D ResNet blocks followed by an LSTM layer, which is highly effective for capturing temporal dependencies in bio-signals.
The search space is defined by varying three key parameters: the number of ResNet blocks, the number of filters, and the number of LSTM cells. This specialized approach ensures that the resulting networks are optimized for the specific characteristics of physiological data rather than general image features.
Evaluation and Results
The framework was evaluated using two well-known ECG datasets: the MIT-BIH Arrhythmia Database and the CU Ventricular Arrhythmia Dataset. Key results include:
- Search Efficiency: Genetic algorithms reduced architecture exploration time by an average of 9.03× compared to exhaustive search.
- Hardware Optimization: The framework identified networks reducing storage overhead by ~30MB with a negligible quality loss of <0.5%.
- Compression Impact: Applying pruning and quantization reduced hardware overhead by up to 53× while maintaining an accuracy drop under 0.2%.
- Pruning Benefits: In some instances, pruning redundant weights acted as a regularizer, actually increasing accuracy by up to 0.15% by removing noise and preventing overfitting.
Conclusion
BioNetExplorer demonstrates that hardware-aware co-optimization is crucial for deploying deep learning on wearables. By specializing the search space for 1D signals and integrating genetic algorithms with aggressive compression, the framework enables high-accuracy diagnostic tools on low-power devices. Future work will involve extending the framework to other bio-signals, such as EEG for seizure detection and SpO2 monitoring, and addressing vulnerabilities related to class imbalance in highly compressed models.
Summary updated