XBioSiP: A Methodology for Approximate Bio-Signal Processing at the Edge
Bharath Srinivas Prabakaran, Semeen Rehman, Muhammad Shafique

TL;DR
XBioSiP introduces an approximate computing methodology for bio-signal processing at the edge, significantly reducing energy consumption while maintaining user-defined accuracy levels in wearable devices.
Contribution
It proposes a novel two-stage quality evaluation approach for approximate bio-signal processing, enabling substantial energy savings with controlled accuracy loss.
Findings
Up to 19x energy reduction at 0% accuracy loss
Up to 22x energy reduction at less than 1% accuracy loss
Effective energy-accuracy trade-offs demonstrated in QRS peak detection
Abstract
Bio-signals exhibit high redundancy, and the algorithms for their processing are inherently error resilient. This property can be leveraged to improve the energy-efficiency of IoT-Edge (wearables) through the emerging trend of approximate computing. This paper presents XBioSiP, a novel methodology for approximate bio-signal processing that employs two quality evaluation stages, during the pre-processing and bio-signal processing stages, to determine the approximation parameters. It thereby achieves high energy savings while satisfying the user-determined quality constraint. Our methodology achieves, up to 19x and 22x reduction in the energy consumption of a QRS peak detection algorithm for 0% and <1% loss in peak detection accuracy, respectively.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17| Area [] | Delay [] | Power [] | Energy [] | |
| Accurate | 10.08 | 0.18 | 2.27 | 0.409 |
| ApproxAdd1 | 8.28 | 0.11 | 1.34 | 0.147 |
| ApproxAdd2 | 3.96 | 0.08 | 0.61 | 0.049 |
| ApproxAdd3 | 3.60 | 0.06 | 0.41 | 0.025 |
| ApproxAdd4 | 3.24 | 0.06 | 0.33 | 0.020 |
| ApproxAdd5 | 0.00 | 0.00 | 0.00 | 0.000 |
| Area [] | Delay [] | Power [] | Energy [] | |
| Accurate | 14.40 | 0.16 | 1.80 | 0.288 |
| AppMultV1 | 11.52 | 0.13 | 1.67 | 0.167 |
| AppMultV2 | 9.72 | 0.06 | 1.37 | 0.137 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
XBioSiP: A Methodology for Approximate Bio-Signal Processing at the Edge
Bharath Srinivas Prabakaran, Semeen Rehman, Muhammad Shafique
Vienna University of Technology (TU Wien), Vienna, Austria
bharath.prabakaran, semeen.rehman, [email protected]
and
(2019)
Abstract.
Bio-signals exhibit high redundancy, and the algorithms for their processing are inherently error resilient. This property can be leveraged to improve the energy-efficiency of IoT-Edge (wearables) through the emerging trend of approximate computing. This paper presents XBioSiP, a novel methodology for approximate bio-signal processing that employs two quality evaluation stages, during the pre-processing and bio-signal processing stages, to determine the approximation parameters. It thereby achieves high energy savings while satisfying the user-determined quality constraint. Our methodology achieves, up to and reduction in the energy consumption of a QRS peak detection algorithm for and loss in peak detection accuracy, respectively.
Approximate Computing, Arithmetic Units, Internet of Things, Energy, Adders, Multipliers, Biosignal, ECG, Hardware Design, Edge Computing.
††copyright: rightsretained††conference: ACM Design Automation Conference; June 2019; Las Vegas, Nevada, USA††journalyear: 2019††article: 4††price: 15.00
1. Introduction
IoT-health sensor nodes (Istepanian et al., 2011), wearable patches like sweat sensor-arrays (Gao et al., 2016), and electronic devices like Fitbit (Diaz et al., 2015), Apple Watch (Khushhal et al., 2017), portable monitors, etc. are used to collect data related to various physiological signals such as skin temperature, heart-rate, pulse and respiration rate, electrocardiogram (ECG), electromyogram (EMG), and electroencephalogram (EEG). Due to their small form-factor, these edge nodes are severely resource and energy constrained, and might not be suitable to perform highly compute-intensive operations. Furthermore, these kind of battery-operated sensor nodes are expected to have long lifespans and perform real-time data processing, which consumes a lot of energy. Therefore, reduced energy consumption and extreme energy-efficiency are desirable objectives in IoT edge devices.
The re-emerging approximate computing paradigm can be seen as a possible solution for building highly energy-efficient systems. Error-resilient applications have the ability to produce acceptable output despite having incorrect or approximate intermediate computations (Mittal, 2016). It is due to four major factors: (i) noise and redundancy in the real-world datasets being processed, (ii) error attenuating computational patterns of applications, (iii) varying levels of perception by different users, and (iv) non-existence of a unique golden output for several use-cases (Chippa et al., 2013). Prior works have shown such resilience for different applications like pattern recognition, machine learning, big data mining, and image and video processing. This resilience towards errors can be leveraged to introduce approximations across the computing stack (Shafique et al., 2016)(Venkataramani et al., 2015) at various hardware (Gupta et al., 2011)(Gupta et al., 2013)(Kulkarni et al., 2011)(Rehman et al., 2016) and software layers (Baek and Chilimbi, 2010)(Esmaeilzadeh et al., 2012)(Laurenzano et al., 2016)(Mishra et al., 2014) to achieve high efficiency gains in terms of area, power, latency, and energy consumption.
Therefore, this paper aims at answering the following fundamental questions:
- (1)
If and how can approximate computing be employed to significantly reduce the energy consumption in IoT edge devices for bio-signal processing in healthcare applications? 2. (2)
What should be the impact of such approximations on the output of bio-signal processing applications, which are typically considered sensitive in nature?
Towards this, we make the following Novel Contributions:
- •
We study the error-resilience of bio-signal processing applications using a motivational analysis on ECG processing (see Section 2).
- •
We propose XBioSiP, a novel two-stage quality eval-uation-based approximation methodology that maximizes the energy-efficiency of bio-signal processing applications while satisfying user-defined quality constraints (see Section 4).
- •
We propose a novel three-phase design generation methodology that traverses the design space and generates possible approximate processing units that offer high energy reductions while satisfying the user-defined quality constraints (see Section 4.3).
- •
We evaluate the efficacy of our novel methodology using an ECG processing application as a case study. We use the Pan-Tompkins algorithm for QRS Peak detection as the target application(Pan and Tompkins, 1985) (see Section 4.2).
We illustrate the area, latency, power and energy reductions obtained by synthesizing the approximate processing unit using an ASIC tool-flow. We achieve energy reductions of ~ with loss in peak detection accuracy (see Section 6). The RTL and behavioral models of these approximate adders and multipliers, including a VDHL implementation of the key stages present in the Pan-Tompkins algorithm are released as an open-source library at https://xbiosip.sourceforge.io/. This will help facilitate researchers to reproduce our work and enable further research and development in this field.
2. Motivational Analysis
In this section, first, we analyze the total energy consumption of the bio-signal monitoring sensor nodes to study the potential for minimizing overall energy consumption. These sensor nodes are responsible for performing three main functions, namely,
(i) sensing and collecting the bio-signal data,
(ii) processing (targeted region) the real-world data, and
(iii) communicating the data to the next network layer for long-term storage.
Fig. 1 illustrates the sensing energy and total energy consumption of five bio-signal monitoring nodes (adapted from studies presented in (Nia et al., 2015)). As can be observed, the sensing energy is at least six orders of magnitude less than the total energy consumed by the device. Furthermore, previous studies have shown that on-sensor processing energy constitutes of of the total energy consumed by the sensor nodes (Rault, 2015). In this work, we focus on minimizing the energy consumption of on-sensor processing in order to extend the device lifetime. Next, we analyze the error-resilience of a target application and the energy reductions obtained by leveraging the application’s inherent error-resilience.
Target Application: Physiological bio-signals like heart-rate, blood pressure, skin temperature, ECG, EEG, EMG, etc. are analog in nature and are converted to the digital domain for storage and processing. These bio-signals are noisy and permeated with sparsity and redundancy. Furthermore, the digital signal processing applications used to filter and extract viable information from this data are inherently error resilient due to their computational patterns that deploy filters and aggregators, which attenuate errors. Hence, these signal-processing applications are amenable to approximations that can be exploited to increase the energy efficiency of the system by approximating the underlying arithmetic blocks like adders and multipliers used in these applications. To understand this error-resilience behavior of bio-signal processing systems and the potential of approximate computing, we perform the following experimental study on the Pan-Tompkins algorithm (Pan and Tompkins, 1985).
Case Study: Low Pass Filter. First, we analyze the initial stage of the Pan-Tompkins QRS peak detection algorithm (presented in Section 3) to quantify and evaluate its error resilience. It employs a 10th order, 11-tap, Low Pass Filter (LPF) that comprises 10 adders, 11 multipliers, and 10 registers. In this work, we focus on approximating the arithmetic operators (i.e., the adders and multipliers) of the filter, to reduce energy consumption (energy reductions). In this experiment, we use the low-power approximate 1-bit full-adder, Approximate Adder-5, proposed by Gupta et al. (Gupta et al., 2011) (Gupta et al., 2013) and the approximate elementary -multiplier module proposed by Rehman et al. (Rehman et al., 2016), along with their accurate counterparts, to construct higher bit-width approximate adder and multiplier blocks. An overview of the elementary adder and multiplier modules, along with their area and power properties, is presented in Section 4.1.
The results of this experiment are illustrated in Fig. 2. On the x-axis, we denote the number of output LSBs approximated in the LPF. Note, the number of LSBs approximated decides which of the computationally accurate 1-bit full-adder and elementary multiplier modules are replaced with their approximate counterparts. The y-axes denote the achieved reductions in terms of area, latency, power, and energy compared to the accurate case, as well as the peak detection accuracy and output signal quality (in terms of structural similarity index: SSIM).
From these experiments, we make the following key observations:
- •
Increasing the number of approximated LSBs decreases the area, energy, power, and/or latency.
- •
The peak detection accuracy is consistently for an increasing number of LSBs approximated, exhibiting high tolerance towards intermediate approximation errors.
- •
The error resilience threshold for this stage is 14 LSBs, after which the peak detection accuracy falls to zero, which implies that the application is significantly resilient to approximation errors.
- •
The output signal quality, obtained after the second stage of the application (used by physicians for health monitoring and diagnosis), drastically decreases when approximating more than 2 LSBs, as illustrated by the SSIM metric. However, if loss in signal quality can be tolerated, we can approximate up to 10 LSBs while achieving ~ energy reductions.
Similarly, the subsequent four stages of the algorithm are error-resilient as well (see Section 4.2), which can be leveraged to further reduce energy consumption at each stage of the bio-signal processing application. While previous works have focused on deploying aggressive voltage scaling in memories (et al., 2014) to achieve ~ energy reductions, in this work, we focus on deploying functional approximations in the processing elements, thereby limiting the maximum error. Before proceeding to the main technical contributions of this paper, we provide a brief overview of our target application (the Pan-Tompkins algorithm for QRS Peak detection in ECG signals), to the level of detail necessary for understanding our technique.
3. Background: Pan-Tompkins Algorithm
The QRS peak detection algorithm proposed by Jiapu Pan and Willis Tompkins in 1985 (Pan and Tompkins, 1985), still serves as a basic standard for QRS detection in a wide-range of hospital or portable Holter monitors and wearable electronic devices. The algorithm is used to determine the number of heartbeats in the sampled ECG signal by detecting the QRS complex present in each correct heartbeat (cardiac arrhythmias produce incorrect ECG waveforms). The analog ECG signal is sampled at a frequency of 200 Hz, using a 16-bit ADC. The Pan-Tompkins algorithm is composed of five key stages (see Fig. 3):
- (A)
Low Pass Filter: First, to eliminate high frequency noise due to muscle movement and electrical interference, a low pass filter is used to eliminate frequencies above 12 Hz. 2. (B)
High Pass Filter: Next, to remove low frequency noise components from the input, such as respiration and baseline wander, and obtain signals within the desired range of 5-12 Hz, a high pass filter with a cut-off frequency () of 5 Hz is used. 3. (C)
Differentiator Stage: After the initial data pre-processing and noise filtering, a five-tap digital differentiator is used to determine the QRS complex slope information. 4. (D)
Squarer Stage: The signal is then squared point-by-point, which nonlinearly amplifies the output while emphasizing the higher (ECG) frequencies and renders all data points positive. 5. (E)
Moving Window Integration: Finally, to extract the waveform feature information and the slope of the R-wave (see Fig. 3), a moving average filter is deployed.
In the next section, we describe XBioSiP, our novel methodology for approximating bio-signal processing at the edge.
4. Our XBioSip Methodology for Approximate Bio-Signal Processing
An overview of our methodology for approximating arithmetic blocks in bio-signal processing algorithms is presented in Fig. 4. It is composed of four key steps, starting with the design and evaluation of the elementary (approximate) arithmetic modules. Next, we analyze the error-resilience of each stage in the application by varying the number of LSBs approximated to extract its energy-quality trade-off. Using the previous analyses we propose a design generation methodology that explores a limited number of points in the design space to generate approximate designs that offer maximum energy reductions while satisfying the user-defined quality constraints.
Bio-signal processing algorithms are essentially composed of two sections. The first section is data pre-processing, which comprises techniques for signal reconstruction, noise filtering, data transformation, reduction and compression, etc. The second section is responsible for efficiently extracting the relevant information from the pre-processed data. We utilize the proposed design generation methodology in the data pre-processing and the main bio-signal processing sections to generate approximate processing units. We propose to evaluate the quality of output signals at two stages to ensure fine-grained quality-control, and to provide a medical physician access to the user’s accurate health history in case of emergencies. The key difference between the two stages is the use of a different quality metric for evaluating the constraint. The output obtained from data pre-processing is generally in the form of a signal whose quality can be estimated using metrics like PSNR and/or SSIM, whereas the final metric depends on the output of the bio-signal application targeted for approximation. In our case, the Pan-Tompkins algorithm is used to estimate the number of QRS peaks in the signal because of which we consider peak detection accuracy as the final metric.
4.1. Elementary Approximate Adders and Multipliers
In this paper, we use the low-power approximate 1-bit full-adders (FAs) proposed by Gupta et al. (Gupta et al., 2011) (Gupta et al., 2013) and the approximate multiplier modules proposed by Kulkarni et al. (Kulkarni et al., 2011) and Rehman et al. (Rehman et al., 2016). This library of elementary approximate arithmetic modules, along with their accurate counterparts, is illustrated in Fig. 5.
These arithmetic modules are used to construct the larger bit-width approximate adder and multiplier blocks. Fig. 6 presents a ripple-carry adder architecture that is used to construct larger bit-width approximate adders by replacing the accurate 1-bit FA modules with approximate ones. We restrict ourselves to deploying approximations at the LSBs to limit the error magnitude. Similarly, larger bit-width multiplier blocks are recursively constructed from elementary multipliers and adders, similar to the structure shown in Fig. 7. For example, a multiplier is recursively partitioned into four smaller multiplier blocks, whose outputs are accumulated using three bit adders. Similarly, each multiplier is sub-partitioned into four smaller multiplier blocks, each of which is further sub-partitioned into four elementary multipliers.
To obtain the area, latency, power, and energy properties, we synthesize these arithmetic modules using an ASIC tool-flow (see Section 5). The corresponding results are presented in table 1. The elementary arithmetic modules are listed in descending order of energy consumption, which is considered while generating the approximate designs as our primary goal is to maximize the energy reductions.
4.2. Error Resilience Analysis of Application Stages
In this step, we quantify the error resilience of each application stage by varying the number of LSBs approximated with the least energy consuming arithmetic adder and multiplier modules. We analyze the energy-quality trade-offs obtained for each application stage, similar to the low-pass filter analysis presented in Section 2. Fig. 8 (a)-(d) illustrate the error resilience and energy reductions of the remaining stages in the application for a varying number of LSBs approximated. We make the following key observations for each application stage:
- •
Low Pass Filter: By applying approximations at this stage, ~ energy reductions with loss in peak detection accuracy can be achieved, when up to LSBs are approximated, as shown in Fig. 2. Approximating up to 8 LSBs can also achieve energy reductions of ~ while tolerating less than loss in output signal quality (SSIM).
- •
High Pass Filter: Due to the number of adders and multipliers in this stage (31 and 32, respectively), approximating just 8 LSBs can achieve energy reductions of ~, with loss in peak detection accuracy, as shown in Fig. 8(a). However, the output signal quality (SSIM) drastically decreases after approximating merely 2 LSBs.
- •
Differentiator: The magnitude of filter-coefficients at this stage is very small (2 and 1), and approximating more than 4 LSBs truncates all active paths, effectively connecting the outputs to either the inputs or to logic ‘0’. Moreover, due to the importance of this stage in extracting the QRS slope information, and the limited number of adders and multipliers, applying approximations in this stage is ineffective and leads to limited energy reductions, as shown in Fig. 8(b).
- •
Squarer: This stage only requires a large bit-width multiplier. Hence, approximating just a few bits can lead to significant degradation in output quality as illustrated in Fig. 8(c). Therefore, the approximation potential for this stage is low.
- •
Moving Window Integration: The final stage is composed solely of adder blocks and, as illustrated by Fig. 8(d), is extremely error-resilient, tolerating approximations of up to 16 LSBs, while achieving ~ energy reductions.
4.3. Approximations in Data Pre-Processing and Signal Processing
Using the initial analyses and energy reports available from the earlier steps, we propose a novel design generation methodology that effectively explores the design space to generate designs that offer high energy reductions while satisfying the user-defined quality constraints. The pseudo-code of our design generation methodology has been presented in Algorithm 1. It is used to generate potential approximate processing units for the target application. All the information gathered from the previous stages, i.e., the number of elementary adders and multipliers, maximum number of LSBs that can be approximated at each stage, quality loss, energy reductions obtained for a varying number of approximate LSBs, etc. are provided as an input to the design generation methodology.
The first phase of the methodology starts with initializing two empty arrays to store the designs that satisfy the quality constraint. Afterwards, the application stages currently being approximated are sorted in an ascending order, based on the maximum energy reductions obtained at each individual stage (line 7). Next, we start evaluating possible approximations in the first stage present in StageList, starting from the maximum possible number of LSBs that can be approximated in the given stage, using the least energy-consuming adder and multiplier modules. We construct a behavioral model of the current stage given the approximation parameters, LSB, Mult, and Add, to evaluate the output quality of the current design. If the quality constraint is satisfied by the current approximate design, we store the current design as a potential approximate architecture for the current application stage (lines 820).
Note, our main goal is to find an approximate design that offers maximum energy reductions while satisfying the quality constraint. This is achieved by evaluating limited number of points in the design space to reduce the exploration time.
Therefore, our methodology does not effectively evaluate all points to find a pareto-optimal design.
The next phase starts by considering the next stage from StageList, and iterates over the inverted lists of the approximation parameters, ranging from least-to-highest approximation. Since the maximum error magnitude has already been achieved in the previous stage, iterating over the default lists increases the number of explored points and might effectively lead to the same design. Similar to the first phase, the approximation parameters are used to construct a behavioral model of the current stage in order to evaluate the output quality. However, since we are traversing from the lower end of the approximation spectrum, we only continue if we find any potential for further maximizing energy reductions. That means, we store the design only if the quality constraint is satisfied, or we break the loop and move to the next phase of the methodology (lines 2135).
Although we have identified the approximation parameters for the two stages currently under consideration {}, there is a possibility that we have missed out on another design offering better energy reductions compared to the current designs as we have not explored the higher end approximation spectrum of the second stage. We address this in the third and final phase of the methodology by traversing diagonally across the number of LSBs approximated, i.e., we reduce the number of LSBs approximated by for the stage and increase the number of LSBs approximated by for the stage. We reconstruct the behavioral models for these designs and evaluate their output quality. If the quality constraint is satisfied, the new designs are stored as a potential approximate processing unit in the two arrays. This is repeated until the number of LSBs approximated for the stage becomes zero. We then evaluate the energy reductions of each design in the array, to determine the one which offers the maximum energy reductions. This design is considered to be the best approximate unit for the current stage. The second and third phases are continuously repeated until all stages in StageList are considered for approximation (lines 3650).
5. Experimental Setup
Fig. 9 presents an overview of our experimental tool-flow. The RTL models (implemented in VHDL) of the different approximate adders (32-bit) and multipliers () along with the five stages (FIR filters) in the Pan-Tompkins algorithm are synthesized using the Synopsys Design Compiler ASIC tool-flow for a 65nm technology library. We generate detailed area, power, latency, and energy reports for analyzing the resource utilization of the proposed approximate processing units which are then compared with respect to the accurate design. We also implement behavioral models of the elementary arithmetic modules in MATLAB, so that they can be deployed in the target application (Pan-Tompkins QRS Peak Detection) for quality evaluation purposes. The output signal observed after the approximated High Pass Filtering, is compared with the accurate output to denote the quality loss, either in terms of PSNR or SSIM, to ensure the output quality of the intermediate signal. The final output of the target application needs to be considered while approximating the arithmetic blocks present in the different application stages. The number of peaks detected in the sample duration, or the peak detection accuracy is the final metric used for quality evaluation in our ECG case study. We use the MIT-BIH Normal Sinus Rhythm Database (NSRDB) made available online via PhysionetDB (Goldberger et al., 2000).
6. Results & Discussion
In this section, we illustrate the effectiveness of XBioSiP, by applying it on the Pan-Tompkins QRS peak detection algorithm. Before moving on to illustrating the benefits of our proposed methodology, we first discuss the differences in output signal quality when using accurate and approximate processing units in the Pan-Tompkins Algorithm. Fig. 10 illustrates the differences in signal quality when processing the ECG data-points using accurate and approximate arithmetic blocks with 4 LSBs approximated at all five stages. Considering the accurate High Pass Filtered signal as a reference, the approximated signal has a PSNR of , with peak detection accuracy for the sample duration. This approximate design requires ~ less energy as compared to the accurate counterpart, which significantly increases the lifetime of battery-operated IoT edge devices.
6.1. Approximations in Data Pre-Processing
In this subsection, we evaluate the effectiveness of the approximations deployed in the Low Pass and High Pass Filtering Stages of the Pan-Tompkins Peak Detection Algorithm. For the sake of simplicity, we currently restrict the design space of adders and multipliers to ApproxAdd5 and AppMultV1, respectively (Gupta et al., 2013)(Rehman et al., 2016). We also performed an exhaustive exploration of all possible combinations. The corresponding results are presented in Table 2. Each simulation consists of an ECG recording that is obtained from the MIT-BIH Normal Sinus Rhythm Database (NSRDB) (Goldberger et al., 2000). An ECG recording of samples takes around 300 seconds for filtering and processing. Therefore, an exhaustive exploration of possible scenarios takes roughly seven hours. On the other hand, our design generation methodology successfully generates and evaluates only designs (in ~ hour), where five satisfy the quality constraint. We considered a PSNR value of as the user-defined quality constraint for the signal filtering stage. Out of all possible options, we choose the design which offers the maximum energy reductions of ~, which obviously satisfies the PSNR value as shown in Table 2.
Next, we evaluate the effectiveness of our approach (algorithm 1) in reducing the execution time of the design space search by deploying it on the data pre-processing stage of our target application (LPF and HPF). The exhaustive search involves varying all three major parameters, namely,
(i) number of LSBs approximated (0 to 16),
(ii) number of approximate adders (AccAdd to AppAdd5), and
(iii) number of approximate multipliers (AccMult to AppMultV2),
to explore the entire design space and identify the design offering maximum energy savings while satisfying the signal quality constraint. To reduce the overall size of the design space, we implement thresholds and limitations on all the major parameters such as utilizing the same elementary approximate adder and multiplier module throughout the entire design, which is dubbed as the heuristic. This also includes reducing the LSBs approximated to multiples of . Fig. 11 illustrates the execution time analysis of our proposed approach compared with the baselines such as exhaustive and heuristic. As can be observed, we reduced the exploration time by ~, on average, when compared to the heuristic baseline.
6.2. Approximations in Signal Processing
Considering quality loss during the data pre-processing stage, we evaluate the output quality by deploying approximations in the signal processing stages. We restrict the design space by limiting the number of approximable LSBs to 4, 8, and 16, for the differentiator, squarer, and moving average stages, respectively. Similar to the previous stage, for the sake of simplicity, we restrict the list of elementary approximate adders and multipliers to ApproxAdd5 and AppMultV1. We exhaustively evaluated all possible combinations to extract energy reductions and accuracy values for each design (in ~ hours). Our proposed design generation methodology is equally applicable in this case to reduce the exploration time and generate design points that offer high energy reductions. We obtain two Pareto-optimal points from the design space by extracting the Pareto-frontier. Similarly, we extract four Pareto-optimal designs for the data pre-processing stage. The output quality and energy results of these Pareto-optimal designs are presented in Fig. 12. We also perform a design space exploration of the designs obtained from the data pre-processing and signal filtering stages to analyze the percentage loss in output quality and obtained energy reductions of an end-to-end system. The results of this design space exploration are presented in Fig. 12. The energy reductions presented are obtained with respect to the accurate hardware design with zero approximations (denoted by A2). We also evaluate the energy consumption of the application by executing it on the Raspberry Pi 3 B+ (ARM v8) with HDMI and WiFi switched off (denoted by A1). The energy consumption of A1 is ~ orders of magnitude higher than the energy consumption of A2. Design B9 reduces the energy consumption by ~ while detecting all the peaks present in the database. Design B10 reduces the energy consumption by ~ while tolerating a loss of in peak detection accuracy.
We also analyze the output signal of the design B10 to understand why less than heartbeats were missed by comparing it with the output of A2. Fig. 13 illustrates the differences in output signal of the accurate (A2) and approximate processing units (B10). The errors introduced by the approximate arithmetic blocks cause the algorithm to misclassify the error as a peak. Due to the misalignment of peaks between the HPF and MWI signals (larger than a preset threshold), the detected peak is omitted as an error in classification, and the heartbeat is missed.
7. Conclusion
We presented a novel approximate bio-signal processing methodology, XBioSiP, for achieving energy reductions in energy-constrained, sensory, IoT edge devices, and wearable electronics. After compiling a library of the elementary approximate modules, we evaluate the error-resilience of all application stages to determine the upper-bound of the approximation parameters. Then we use our proposed design generation methodology to develop approximate stages of the target application that satisfy the quality constraint. We propose to evaluate the quality constraint twice, after an intermediate stage (data pre-processing) as well the final stage (signal processing), to ensure fine-grained quality control of the intermediate signal. We evaluate the effectiveness of XBioSiP using an ECG processing application called the Pan-Tompkins Algorithm. We have successfully reduced the energy consumption by ~ for loss in peak detection accuracy, and by ~ for less than quality loss. Furthermore, to enable further research and development in this field, we have open-sourced the behavioral and RTL implementations of our approximate modules at https://xbiosip.sourceforge.io/. In the future, we plan to extend our work to include diagnostic techniques and algorithms across multiple bio-signal processing domains such as ECG-based arrhythmia detection and EEG-based seizure prediction.
Acknowledgements
The authors would like to thank Florian Kriebel for his feedback and detailed technical comments, which helped us improve the quality of this work.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1)
- 2Baek and Chilimbi (2010) Woongki Baek and Trishul M Chilimbi. 2010. Green: a framework for supporting energy-conscious programming using controlled approximation. In ACM Sigplan Notices , Vol. 45. ACM, 198–209.
- 3Chippa et al . (2013) Vinay K Chippa et al . 2013. Analysis and characterization of inherent application resilience for approximate computing. In DAC . ACM.
- 4Diaz et al . (2015) Keith M Diaz et al . 2015. Fitbit®: an accurate and reliable device for wireless physical activity tracking. International journal of cardiology 185 (2015), 138–140.
- 5Esmaeilzadeh et al . (2012) Hadi Esmaeilzadeh et al . 2012. Architecture support for disciplined approximate programming. In ACM SIGPLAN Notices , Vol. 47. ACM, 301–312.
- 6et al. (2014) D. Bortolotti et al. 2014. Approximate compressed sensing: ultra-low power biosignal processing via aggressive voltage scaling on a hybrid memory multi-core processor. In Proceedings of the 2014 ISLPED . ACM, 45–50.
- 7Gao et al . (2016) Wei Gao et al . 2016. Fully integrated wearable sensor arrays for multiplexed in situ perspiration analysis. Nature 529, 7587 (2016), 509.
- 8Goldberger et al . (2000) Ary L Goldberger et al . 2000. Physio Bank, Physio Toolkit, and Physio Net: components of a new research resource for complex physiologic signals. Circulation 101, 23 (2000), e 215–e 220.
