Next Article in Journal
Traceability and Anti-Counterfeiting in Agri-Food Supply Chains: A Review of RFID, IoT, Blockchain, and AI Technologies
Previous Article in Journal
VMESR: Variable Mamba-Enhanced Super-Resolution for Real-Time Road Scene Understanding with Automotive Vision Sensors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Real-Time WBAN Monitoring: An Adaptive Framework for Selective Signal Restoration and Physiological Trend Prediction

Department of Information Technology, Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah 21589, Saudi Arabia
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(5), 1684; https://doi.org/10.3390/s26051684
Submission received: 6 February 2026 / Revised: 2 March 2026 / Accepted: 5 March 2026 / Published: 6 March 2026
(This article belongs to the Section Sensor Networks)

Abstract

Wireless Body Area Networks (WBANs) enable real-time health monitoring essential for timely clinical intervention, yet their performance is frequently hindered by sensor degradation, noise interference, and strict low-latency constraints in resource-limited environments. Conventional preprocessing approaches indiscriminately reprocess all incoming data, including uncorrupted samples, thereby increasing computational overhead, introducing latency, and potentially distorting valid physiological trends. This study introduces a unified real-time monitoring framework tailored for WBAN systems. The key contributions include: (1) an adaptively gated multi-stage preprocessing pipeline that selectively restores corrupted samples while preserving clean data, (2) an overlap-aware sliding-window mechanism enabling low-latency operation, and (3) a clinically informed risk assessment strategy for early-warning support. By avoiding unnecessary modification of intact signals, the framework maintains physiological integrity while substantially improving reconstruction and predictive reliability. Across multiple vital signs, the proposed approach achieves substantial reconstruction gains, with Mean Squared Error (MSE) reductions ranging from 53% to 67% under strong degradation conditions. An adaptive ARIMA-based forecasting layer captures short-term physiological dynamics with directional accuracies of approximately 65–70% for one-step (10 s) ahead prediction. Early-warning behavior is intentionally conservative, prioritizing false alarm suppression over aggressive alerting. Per-signal evaluation reveals high sensitivity for blood pressure signals, whereas glucose and certain high-variability modalities exhibit conservative sensitivity under modality-specific thresholds. Importantly, the aggregated multi-modal risk decision achieves strong overall system-level performance, with sensitivity and specificity of 0.89 and 0.92, respectively. Overall, the proposed framework establishes a robust, low-latency, and computationally efficient foundation for dependable physiological monitoring in WBAN environments, leveraging selective processing to optimize both resource utilization and clinical reliability.

1. Introduction

Real-world WBAN deployments commonly experience packet loss rates between 5 and 30%, motion-induced impulse artifacts, nonlinear sensor saturation, and quantization errors. Under such conditions, uniform preprocessing of all samples leads to two critical issues: (i) unnecessary computational overhead proportional to window length N and (ii) distortion of already clean physiological segments. This motivates a selective restoration paradigm in which signal enhancement is applied only to statistically corrupted regions. The escalating global burden of chronic diseases and the imperative for proactive healthcare interventions underscore the critical need for advanced real-time physiological monitoring systems [1]. Wireless Body Area Networks (WBANs) have emerged as a pivotal technology, offering continuous, non-invasive data streams from wearable sensors for applications ranging from remote patient monitoring to acute clinical interventions [2]. However, the full potential of WBANs is severely hampered by the inherent challenges of pervasive physiological data degradation (e.g., missing values, nonlinear noise, motion artifacts), stringent demands for low-latency and reliable trend prediction, and the fundamental constraints of resource-limited environments, which collectively undermine the ability of current monitoring systems to provide high-fidelity, actionable insights essential for timely clinical decision-making [3,4].
Conventional approaches typically address data quality and predictive modeling in isolation, leading to fragmented solutions that inherently introduce delays and suboptimal performance, thereby limiting their clinical utility [5]. Furthermore, a common oversight in many existing preprocessing pipelines is the indiscriminate application of complex restoration techniques to all incoming data, regardless of their degradation level [6]. This excessive reprocessing, even of uncorrupted or minimally corrupted segments, can be counterproductive, introducing artificial artifacts, increasing computational burden, and ultimately leading to suboptimal or even erroneous downstream analyses, which constitutes a distinct research challenge in the preprocessing field [7]. For instance, while individual techniques such as various interpolation methods, noise filtering algorithms, or time-series forecasting models (e.g., ARIMA) have been extensively explored, their application in isolation proves insufficient for the complex, multi-faceted challenges of WBANs [8,9]. A simple imputation [10] method might reconstruct missing data but can inadvertently distort underlying physiological trends if not followed by robust noise suppression [11]. Similarly, advanced forecasting models, crucial for predicting patient deterioration, require stable and well-conditioned data that existing fragmented or indiscriminately applied preprocessing pipelines often fail to deliver under real-world WBAN constraints. This highlights a critical research gap: the absence of a unified, intelligently adaptive framework that can synergistically address diverse forms of data degradation using a targeted approach to reprocessing that avoids the pitfalls of indiscriminately applying computationally intensive methods to already clean data while concurrently enhancing signal integrity and enabling reliable short-term predictions for proactive clinical responses within resource-constrained WBAN environments.
To overcome these critical shortcomings and bridge this identified gap, this study introduces a novel, integrated framework designed for real-time physiological trend prediction in WBANs. Our approach fundamentally departs from fragmented methodologies by synergistically fusing advanced data preprocessing with adaptive forecasting within a low-latency, overlap-aware sliding-window architecture. Crucially, our framework integrates mechanisms to selectively and adaptively apply sophisticated restoration techniques, thereby circumventing the counterproductive effects of indiscriminately reprocessing all data. This comprehensive framework transforms raw, noisy, and often incomplete physiological signals into high-fidelity inputs, enabling highly reliable short-term prediction of physiological trends and significantly earlier detection of anomalous events crucial for clinical decision-making.

Research Objectives

The primary objective of this work is to develop a novel, integrated framework that overcomes the limitations of current Wireless Body Area Network (WBAN) monitoring systems by synergistically transforming degraded physiological signals into reliable, actionable insights for real-time clinical decision-making. Specifically, this study aims to achieve the following:
  • To design and implement a robust, multi-stage preprocessing pipeline that systematically addresses common data degradations, including missing values, nonlinear noise, and signal variability, through cubic spline interpolation, an extended Kalman filter, and conservative local smoothing, thereby ensuring high-fidelity and temporally coherent physiological inputs.
  • To integrate an overlap-aware sliding-window mechanism for dynamic data segmentation, enabling low-latency and incremental analysis while facilitating adaptive responses to rapid physiological changes within resource-constrained WBAN environments.
  • To enable highly reliable short-term prediction of physiological trends and early detection of anomalous events by employing an ARIMA-based forecasting layer that operates on the meticulously preprocessed and statistically stable data.
  • To introduce a risk score clipping technique that harmonizes heterogeneous physiological features, providing a balanced and optimized foundation for adaptive analysis and proactive risk assessment across diverse vital signs.
  • To develop a framework inherently suitable for robust and reliable real-time deployment in energy-efficient, resource-constrained clinical and emergency WBAN monitoring scenarios, ultimately supporting timely clinical interventions and improving patient outcomes.
The core novelty of this work resides in its holistic and synergistic integration of established yet distinct techniques into a cohesive, low-latency framework specifically tailored for resource-constrained WBANs, with an emphasis on adaptive and targeted processing to avoid the pitfalls of indiscriminate data reprocessing. Our primary contributions are as follows:
  • A novel, synergistic multi-stage preprocessing framework for high-fidelity signal reconstruction, forming a cumulative enhancement cascade that meticulously transforms raw, degraded WBAN signals into statistically stable and clinically meaningful inputs.
  • Enhanced real-time physiological trend prediction via adaptive ARIMA integration, achieving substantial reductions in forecast RMSE (e.g., 25.5% for heart rate relative to spline-only reconstruction) and notably earlier anomaly detection compared to methods relying on individual components.
  • Pioneering a clinical-aware risk score clipping strategy for multi-modal assessment that harmonizes heterogeneous physiological features by blending statistical anomaly detection with deviation from clinically defined safe bounds, ensuring balanced influence on overall risk assessment.
  • Demonstrated robustness and efficacy for resource-constrained WBAN environments, validating the framework’s superior predictive accuracy and real-time operational capability for critical real-world clinical, emergency, and home-care monitoring scenarios.
This integrated pipeline significantly enhances WBAN signal reliability, strengthens short-term forecasting accuracy, and supports proactive clinical decision-making, thereby offering a significant advancement in patient safety and intervention efficacy.
The remainder of this paper is organized as follows: Section 2 details the architecture of the proposed framework, including the sliding-window segmentation strategy and the multi-stage preprocessing and forecasting pipeline. Section 3 presents the experimental design, simulated degradation scenarios, and evaluation metrics. Section 4 reports and analyzes the results, emphasizing the cumulative effect of each preprocessing stage on signal fidelity and prediction performance. Section 5 concludes the paper and outlines future research directions for extending the framework to broader clinical and operational contexts.

2. Related Work

Real-time physiological monitoring through Wireless Body Area Networks (WBANs) is pivotal for proactive healthcare, disease management, and timely clinical interventions [2]. However, the inherent operational environment of WBANs—marked by pervasive sensor data degradation, stringent low-latency requirements, and severe resource constraints—presents a multi-faceted challenge to the development of robust and reliable monitoring systems [3,4]. A critical, yet often overlooked, aspect of this challenge is the common practice of uniformly reprocessing all data (corrupted and uncorrupted alike), which can lead to unsatisfactory, counterproductive results and unnecessary computational burden, especially in resource-constrained environments [12]. While extensive research has addressed various individual facets of data degradation, a comprehensive, integrated framework that not only synergistically manages complex data degradation but also adaptively and selectively applies processing only to affected data segments remains a significant research frontier. This section critically reviews the pertinent literature, categorizing existing approaches to highlight their contributions, underscore their limitations—particularly regarding their uniform processing methodologies—and thereby establish the distinct necessity and novelty of our proposed integrated framework.

2.1. Advanced Data Preprocessing for Physiological Signals

Effective preprocessing is foundational for transforming raw, noisy, and often incomplete WBAN data into high-fidelity, actionable insights. However, the efficacy and efficiency of preprocessing are severely hampered when complex operations are applied indiscriminately to both degraded and intrinsically clean data. This uniform application, prevalent in many isolated approaches, not only wastes computational resources but can also inadvertently distort otherwise healthy signals. Research in this domain has primarily focused on addressing isolated issues such as missing data imputation [10,13], noise suppression [11,14], or temporal alignment, often without considering the adaptive application of these techniques.

2.1.1. Missing Data Imputation

Missing physiological data, frequently arising from sensor dislodgement, battery depletion, or transmission errors, severely compromise the integrity and reliability of WBAN data streams. Techniques for handling such gaps are crucial, with interpolation methods being a common choice. For instance, Mishra et al. [13] demonstrated improved downstream feature extraction for ECG after spline-based reconstruction, while Benchekroun et al. [10] comparatively evaluated various interpolation methods, including cubic spline, for Heart Rate Variability (HRV) features, offering practical recommendations based on gap length. While these studies effectively highlight the benefits of spline interpolation for specific physiological signals or features, their evaluation primarily assesses imputation in isolation. They generally do not integrate these methods into a broader, multi-stage pipeline designed to concurrently address various degradation types (e.g., missing data and noise), nor do they explicitly demonstrate the synergistic impact of such imputation on subsequent forecasting accuracy within real-time, resource-constrained WBAN environments. Critically, the propagation of uncertainty from imputed data points into subsequent processing stages, a key challenge in real-time WBANs, is often not explicitly modeled or managed.

2.1.2. Noise Suppression and Smoothing

Denoising physiological signals is another active area essential for extracting meaningful trends from inherently noisy WBAN data, which are susceptible to motion artifacts, electronic interference, and physiological variability. An adaptive extended Kalman filter (EKF) study [11] proposed a lightweight EKF variant with online noise covariance adaptation for on-node denoising in WBANs, emphasizing its real-time suitability due to low computational demands. Wang et al. [14] further explored smoothing with HRTS, a hierarchical Rauch–Tung–Striebel (RTS) smoother, for EEG denoising, showing improved temporal consistency. Similarly, conservative local smoothing approaches [15] have demonstrated effectiveness in reducing high-frequency artifacts while preserving short-term physiological structures.
Recent work in medical noise-removal research continues to rely on local smoothing principles, often combining them with more advanced adaptive or non-local filtering strategies. For example, Taassori and Vizvári [16] propose a hybrid denoising framework integrating adaptive Kalman filtering with non-local means, demonstrating improved structural preservation while suppressing noise in medical imaging. Although conceptually aligned with conservative local smoothing—due to its controlled neighborhood-based filtering—the approach is primarily image-oriented and computationally heavier, raising concerns regarding latency in resource-constrained WBAN nodes.
Additionally, multi-resolution local clustering strategies have been introduced to enhance locally adaptive neighborhood selection for noise suppression while maintaining fine-grained signal details. These methods reinforce the continued relevance of conservative local smoothing concepts in modern denoising pipelines [17]. However, their applicability to streaming physiological signals remains limited, as clustering-based methods typically require batch processing and are not optimized for real-time, low-power WBAN environments.
Collectively, these studies demonstrate the effectiveness of advanced filtering and smoothing techniques; however, several limitations persist. First, most approaches isolate noise suppression from missing data reconstruction, implicitly assuming complete signals prior to filtering. Second, uncertainty propagation from imputation into subsequent smoothing stages is rarely modeled. Third, cumulative computational and latency overheads of sequential filtering mechanisms are seldom quantified within strict WBAN constraints. The critical need for a cascaded framework that (i) reconstructs missing data, (ii) adaptively suppresses noise while accounting for reconstruction uncertainty, and (iii) preserves temporal coherence for predictive analytics—under real-time WBAN constraints—remains insufficiently addressed in a unified design. Table 1 provides a structured comparative analysis of representative signal preprocessing approaches proposed for WBAN and physiological monitoring systems. The comparison is organized across six critical dimensions that directly influence real-time clinical usability: handling of missing data, robustness to noise, capability to manage burst artifacts, support for selective or gated processing, adoption of multi-stage preprocessing pipelines, and explicit consideration of real-time WBAN deployment constraints. These criteria were selected to reflect not only algorithmic performance but also architectural suitability for resource-constrained, latency-sensitive healthcare environments. As shown, most existing works address individual preprocessing challenges in isolation—either focusing on imputation or noise suppression—while rarely integrating these components into a unified, uncertainty-aware pipeline optimized for continuous WBAN operation. This structured comparison highlights the methodological gap that motivates the proposed framework.

2.2. Time-Series Forecasting for Physiological Trend Prediction

Accurate prediction of physiological trends is paramount for proactive clinical interventions and early anomaly detection in WBANs. A diverse array of time-series models has been applied to health data. Ni et al. [19] benchmarked classical statistical models (e.g., ARIMA, Prophet) against deep sequence models (e.g., LSTM, transformer variants) for heart rate forecasting, providing empirical guidance on model selection across different horizons. While valuable for model comparison and demonstrating predictive power, this study, like many others (e.g., [20,21]), acknowledges the critical need for standardized and robust preprocessing. However, these works typically apply existing preprocessing methods rather than proposing a novel, integrated pipeline explicitly designed to handle the specific and multiple degradations prevalent in real-time WBAN data streams. Moreover, such studies frequently report “limited evaluation on resource-constrained WBAN settings and lack of energy/latency analysis” [19]. This highlights a significant gap: the challenge lies not merely in selecting an effective forecasting algorithm but also in integrating a robust, adaptive forecasting model (such as ARIMA) with a dynamically optimized, high-fidelity data stream to ensure reliable short-term predictions in highly variable, real-world WBAN scenarios where data quality is inherently compromised. Table 2 presents a comparative analysis of forecasting and clinical-aware risk assessment approaches.

2.3. WBAN System Architectures and Real-Time Data Management

Research into WBANs also encompasses system-level design, emphasizing efficiency, communication protocols, and data handling. Yuvaraja et al. [12] described a system-level WBAN architecture focusing on cost-effective, energy-aware design with lightweight preprocessing and gateway aggregation. A comprehensive 2024 IEEE WBAN review [22] synthesized advances in communication protocols, energy management, and security, highlighting crucial cross-layer interactions. Similarly, Wan Haszerila Wan Hassan et al. [23] provided a practical orientation toward implementation constraints and hardware considerations, while a prototype study [18] implemented an end-to-end WBAN pipeline with on-node preprocessing and sliding-window feature extraction, measuring latency and throughput. These works offer crucial insights into WBAN deployment challenges, energy efficiency, and architectural considerations. However, they generally prioritize the system’s operational aspects over the algorithmic depth required for sophisticated, multi-stage data preprocessing and advanced forecasting. For instance, Yuvaraja et al. [12] and the prototype study [18] often refer to “lightweight preprocessing” or “basic algorithmic components,” indicating a significant gap in integrating sophisticated signal enhancement techniques with reliable, adaptive forecasting within these practical system designs. The reviews, while comprehensive, summarize rather than experimentally validate specific integrated preprocessing or forecasting pipelines tailored for high-fidelity trend prediction under real-world degradation.

2.4. Dynamic Segmentation and Adaptive Processing

Dynamic data segmentation, particularly through sliding-window techniques, is crucial for real-time WBAN applications, enabling adaptive responses to rapidly changing physiological states and minimizing latency. Slide-SAM [24] adapted segmentation and attention mechanisms to sliding-window processing for medical time series, aiming to reduce latency, while Liang et al. [18] proposed a segmented sliding-window reconstruction method using fuzzy C-means clustering for non-stationary regimes, improving local reconstruction accuracy. These papers effectively demonstrate the utility of sliding-window techniques for adaptive processing, with Slide-SAM focusing on attention mechanisms for reduced latency and Liang et al. addressing non-stationarity in reconstruction. However, neither explicitly integrates an overlap-aware sliding-window mechanism as a foundational element within a comprehensive pipeline that combines multi-stage signal restoration (addressing missing data, noise, and temporal coherence) and robust ARIMA-based forecasting for proactive risk assessment. Their primary focus differs from the holistic data-to-insight pipeline that we propose, which leverages overlap-aware segmentation to ensure seamless data flow and adaptive model retraining without incurring significant computational overhead, especially under conditions of severe data degradation.

2.5. Clinical-Aware Risk Assessment and Multi-Modal Feature Harmonization

While numerous studies focus on individual signal processing or forecasting, the challenge of harmonizing heterogeneous physiological features for a unified, clinically meaningful risk assessment in WBANs is less extensively explored. Standard feature scaling techniques are common in machine learning applications [21,25], but they often lack the clinical context necessary for robust decision support. For example, a 10% deviation in heart rate might have vastly different clinical implications than a 10% deviation in SpO2, and purely statistical anomaly detection might flag benign physiological fluctuations as critical. Few studies directly address how to blend statistical anomaly detection with established clinical thresholds to create a balanced risk score that prevents any single vital sign from disproportionately influencing the overall assessment. This aspect is crucial for developing robust, multi-modal clinical decision support systems that truly prioritize patient safety and clinical utility over purely statistical measures, especially when dealing with the inherent variability and uncertainty of WBAN data. The absence of such clinically informed clipping can lead to false alarms or missed critical events, undermining trust in automated monitoring systems.

2.6. Synthesizing the Gap: The Imperative for a Synergistic Integrated Framework

The preceding review underscores a critical and pervasive research gap: despite significant advancements in individual components—such as advanced interpolation techniques, sophisticated filtering algorithms, robust time-series forecasting models, and efficient WBAN system designs—the existing literature predominantly presents fragmented solutions. These approaches address specific challenges in isolation, often applying preprocessing steps uniformly to all data, irrespective of their current quality. This uniform processing leads to suboptimal performance, inherent delays, and limited clinical utility within the demanding context of real-time, resource-constrained WBAN environments, as it can be counterproductive for uncorrupted data and inefficient for the system as a whole. Our work directly addresses this critical research gap by proposing a novel, integrated framework that fundamentally departs from fragmented methodologies. By synergistically fusing these advanced techniques and, crucially, by applying them adaptively and selectively, we ensure that forecasting operates on optimally conditioned data, thereby enhancing predictive accuracy, enabling earlier anomaly detection, and providing a robust, reliable solution uniquely suited for critical real-world clinical and emergency WBAN monitoring scenarios. This holistic approach represents a significant advancement in transforming degraded physiological signals into actionable clinical intelligence. Specifically, our framework differentiates itself in the following ways:
  • An overlap-aware dynamic segmentation strategy, enabling continuous, low-latency processing and adaptive model updates crucial for real-time WBAN operations.
  • A multi-stage, cumulative signal enhancement pipeline that systematically addresses the cascade of data degradations, specifically missing values (using cubic spline interpolation with uncertainty management), nonlinear noise (via an extended Kalman filter), and temporal coherence (through a conservative local smoothing), ensuring high-fidelity, statistically stable, and clinically meaningful inputs.
  • An adaptive ARIMA-based forecasting layer that operates directly on these meticulously preprocessed, high-fidelity inputs, enabling reliable short-term prediction and significantly earlier anomaly detection by leveraging optimally conditioned data.
  • A novel clinical-aware risk score clipping strategy that harmonizes heterogeneous physiological features by blending statistical anomaly detection with established clinical thresholds, providing a balanced and robust foundation for multi-modal decision support, thereby enhancing patient safety and clinical relevance.
  • An adaptive processing strategy that intelligently applies signal enhancement techniques only where necessary, thereby avoiding excessive reprocessing of uncorrupted data segments, optimizing computational efficiency, and preventing potential distortion of high-fidelity signals.

3. Materials and Methods

In this section, we comprehensively detail the integrated framework developed for real-time physiological trend prediction within Wireless Body Area Networks (WBANs). The methodology is structured around a sequence of carefully orchestrated stages: robust data acquisition and dynamic segmentation, multi-stage signal preprocessing (cubic spline interpolation, extended Kalman filtering, and conservative local smoothing), adaptive ARIMA-based forecasting, and a clinically aware risk assessment with clipping. The entire framework is implemented in Python 3.9, leveraging scientific computing libraries such as NumPy, SciPy, and the “statsmodels” package for time-series analysis. All experiments were conducted on a workstation equipped with an Intel Core i7-10700K CPU and 32 GB RAM, ensuring consistent computational conditions. An overview of each stage, its constituent techniques, and specific contributions is summarized in Table 3.
The default gating parameters used in the proposed preprocessing stage are summarized in Table 4.

3.1. Data Acquisition and Overlap-Aware Sliding-Window Segmentation

3.1.1. Source Dataset and Native Sampling

Physiological measurements were obtained from the MIMIC III dataset [26]. As indicated by the dataset title and documentation, all variables are provided at a 10 min interval (i.e., one record every 600 s), corresponding to a native sampling rate of f s orig = 1 / 600 Hz. The dataset contains coarse-grained physiological time series (e.g., HR, SpO2, blood pressure, temperature) rather than waveform-level signals (e.g., ECG/PPG at tens of Hz). This distinction is critical for both reproducibility and interpreting the scope of the evaluation.

3.1.2. Constructed Streaming Signal for Windowed WBAN Processing (10 min → 1 Hz)

The goal of this work is to evaluate a streaming WBAN pipeline (overlap-aware windowing, selective restoration, and short-horizon forecasting). To operationalize real-time windowed processing on a 10 min dataset, we construct a higher-rate surrogate stream that preserves the low-frequency trends implied by the original records while enabling incremental analysis.
For each patient and each variable, the original sequence { y [ n ] } sampled at times t n = 600 n seconds is first mapped onto a continuous-time trajectory y c ( t ) using a shape-preserving cubic interpolation. We then sample this continuous trajectory at 1 Hz to obtain the constructed streaming signal.
y c ( t ) = Interp cubic - spline { ( t n , y [ n ] ) }
where Interp cubic - spline ( · ) denotes a natural cubic spline interpolation operator enforcing C 2 continuity and zero second derivatives at the boundaries. This produces an experimental processing rate of f s proc = 1 Hz (i.e., Δ t = 1 s) for all variables.
In all experiments, the clean constructed signal y ˜ [ k ] is treated as the reference ground truth (GT) prior to injecting controlled WBAN-like degradations. This ensures that reconstruction and forecasting metrics are well defined and reproducible. The setup evaluates the framework’s ability to recover and forecast underlying physiological trends under corruption rather than claiming reconstruction of true waveform-level physiology unavailable in the source dataset.

3.1.3. Simulated WBAN Degradation Injection

To emulate realistic WBAN acquisition challenges, we systematically injected degradations into the constructed signal y ˜ [ k ] to produce the corrupted input stream z ( j ) ( k ) . Specifically, we introduced (i) random missingness with probabilities in the range 5–20% per window and variable burst lengths (simulating packet loss and sensor dropout), (ii) additive Gaussian noise (simulating measurement noise), (iii) impulse-like spikes (simulating motion artifacts), and (iv) mild drift and quantization effects (simulating baseline wander and low-resolution sensing). All corruptions were applied using fixed random seeds to ensure experimental reproducibility.

3.1.4. Overlap-Aware Sliding-Window Segmentation

To enable low-latency, incremental processing in a resource-constrained WBAN setting, the corrupted stream is partitioned into overlapping temporal windows. Let z ( j ) ( t ) denote the (corrupted) physiological signal of variable j. For a window length T and stride S with S < T , the w-th window is
z win ( j , w ) = z ( j ) ( k Δ t ) | k w · S Δ t , w · S Δ t + T Δ t 1 .
  • Remark on Time Indexing and Notation
Although physiological trajectories are conceptually defined in continuous time t, all algorithmic operations in this study are performed in discrete time after resampling to f s proc = 1 Hz.
Specifically, we define
t k = k Δ t , k Z , Δ t = 1 s .
Thus, all window operations are performed over integer indices k = 0 , 1 , , N 1 . Set-style notation (e.g., G j ) refers explicitly to index sets G j { 0 , , N 1 } rather than continuous-time intervals.
Boundary handling is implemented using truncated index ranges, i.e.,
W k = { i Z : max ( 0 , k Δ s ) i min ( N 1 , k + Δ s ) } .
This clarification ensures that all operations are well defined on finite integer domains.
In all experiments, after resampling to f s proc = 1 Hz (i.e., Δ t = 1 s), we set T = 50  s and S = 10 s, resulting in 50-sample windows with a 10-sample stride (80% overlap). This configuration balances (i) sufficient local temporal context for short-term trend estimation and restoration and (ii) frequent updates consistent with real-time monitoring requirements. The overlap further mitigates edge effects and supports smooth continuity between consecutive windows in subsequent preprocessing and forecasting stages.
Therefore, the reported MSE and forecasting performance quantify the recovery and prediction of a trend-level physiological signal derived from the 10 min dataset, and should not be interpreted as validation on raw high-frequency biomedical waveforms.

3.2. Multi-Stage Signal Preprocessing Pipeline

In real-world WBAN scenarios, physiological data are frequently degraded by missing values, pervasive noise, and temporal inconsistencies. However, indiscriminately reprocessing all data—both corrupted and potentially clean—can be counterproductive, introducing artificial artifacts, unnecessarily increasing computational load, and diminishing the integrity of already-high-fidelity signals. To address these challenges while avoiding the pitfalls of excessive reprocessing, our robust multi-stage preprocessing pipeline is designed to selectively and adaptively enhance signal quality, focusing computational effort where it is most needed within each segmented window.

3.2.1. Cubic Spline Interpolation for Missing Data

Missing values within each window, arising from simulated sensor dropout, transmission errors, or motion artifacts, are reconstructed using cubic spline interpolation. This method was chosen for its ability to produce smooth, continuous curves that closely approximate the natural trajectory of physiological signals without introducing artificial volatility, outperforming linear or nearest-neighbor methods for physiological data. The scipy.interpolate.CubicSpline function was used for implementation.
For a physiological signal y with missing values at times t m , the reconstructed values are given by
y ( t m ) = P 3 ( t m )
We employ a natural cubic spline. Formally, this spline enforces C 2 continuity across all knot points, ensuring that the interpolated signal is continuous in value, first derivative, and second derivative. In addition, natural boundary conditions impose zero second derivatives at the endpoints of each interpolated segment:
d 2 y d t 2 | t = t start = 0 , d 2 y d t 2 | t = t end = 0 .
These constraints prevent artificial oscillations near the boundaries and ensure smooth curvature transitions between adjacent polynomial segments. The natural spline therefore balances smoothness and numerical stability while preserving physiological trend continuity.
Let the valid (non-missing) samples be given at knot points { ( t i , y i ) } i = 0 M with strictly increasing t i .
The natural cubic spline S ( t ) is defined as a piecewise cubic polynomial on each interval [ t i , t i + 1 ] :
S i ( t ) = a i + b i ( t t i ) + c i ( t t i ) 2 + d i ( t t i ) 3 .
The spline satisfies the following constraints:
1. Interpolation:
S ( t i ) = y i , i = 0 , , M .
2. First-derivative continuity:
S i ( t i + 1 ) = S i + 1 ( t i + 1 ) .
3. Second-derivative continuity:
S i ( t i + 1 ) = S i + 1 ( t i + 1 ) .
4. Natural boundary conditions:
S ( t 0 ) = 0 , S ( t M ) = 0 .
These constraints guarantee C 2 continuity and prevent artificial curvature at the boundaries, ensuring smooth physiological trend reconstruction.
Interpolation is applied only to gaps shorter than a predefined threshold of 5 consecutive seconds (or 5 / Δ t samples), which was determined empirically to avoid excessive fabrication of data, as longer gaps typically indicate severe signal loss. If a gap exceeds this threshold, the segment is considered critically degraded and missing values are instead imputed using the last valid observation. For such segments, higher uncertainty is explicitly propagated into the subsequent extended Kalman filter stage by inflating the measurement noise covariance R.

3.2.2. Extended Kalman Filter (EKF) for Nonlinear Noise Suppression

Following interpolation and guided by the adaptive gating mechanism, we apply an EKF in a bounded-sensor measurement setting. In several WBAN modalities (notably heart rate and oxygen saturation), the observed measurements can exhibit soft saturation near physiological limits (or due to sensor clipping), which is not well captured by a purely linear observation model. To explicitly model this behavior, we use a nonlinear logistic measurement function that maps the latent state s k to the clinically plausible range [ L j , U j ] .
For each univariate signal j, the state is x k = [ s k , v k ] T (value and slope), with the following linear dynamics:
s k = s k 1 + v k 1 Δ t ,
v k = v k 1 .
The nonlinear measurement model is
z k = h j ( x k ) + ϵ k , h j ( x k ) = L j + ( U j L j ) σ s k b j a j ,
where σ ( u ) = 1 1 + e u is the logistic function, ϵ k N ( 0 , R k ) , and ( L j , U j ) are the clinical bounds in Table 5. The parameters b j and a j control the midpoint and slope of the saturation curve, respectively.
  • Parameterization of ( a j , b j )
We set the logistic midpoint to the clinical midpoint
b j = L j + U j 2 .
To map the clinical radius R j = U j L j 2 to a near-saturation probability level, we choose a j such that s k = b j ± R j corresponds to σ ( ± ln 19 ) ( 0.05 , 0.95 ) , yielding
a j = R j ln 19 U j L j 2 ln 19 .
This produces a smooth bounded measurement response that is approximately linear near b j but saturates near the clinical limits, which is particularly appropriate for HR and SpO2 under sensor clipping effects.
  • EKF Jacobians
The state-transition Jacobian remains
F k = f x = 1 Δ t 0 1 .
For the nonlinear measurement model in Equation (6), the measurement Jacobian is
H k = h j x = h j s k 0 , h j s k = U j L j a j σ ( u k ) 1 σ ( u k ) ,
where u k = s k b j a j .
Unlike the linear KF (which assumes z k = s k + ϵ k ), the proposed EKF incorporates the bounded nonlinear measurement mapping in Equation (6), which improves robustness under sensor saturation and soft clipping effects commonly observed in HR/SpO2 streams.

3.2.3. Conservative Local Smoothing for Temporal Coherence

To enhance temporal coherence while preserving real-time feasibility and avoiding distortion of clean physiological signals, a conservative local smoothing strategy is applied following the extended Kalman filter (EKF) stage. Unlike classical model-based smoothers that rely on backward recursion and full-sequence optimization, the proposed approach performs lightweight, data-driven smoothing exclusively on samples identified as corrupted by the adaptive gating mechanism.
This smoothing step operates locally within the current processing window and is restricted to the same gated regions where restoration is required. For each time index k flagged as corrupted, a short temporal neighborhood W k = { k Δ s , , k + Δ s } is defined, where Δ s denotes a small smoothing radius. The refined signal value is then computed as z ˜ ( k ) = median s i ekf i W k , s i ekf is valid , where s i ekf is the EKF-estimated signal value. The use of the median operator ensures robustness against residual outliers while preserving sharp physiological transitions. Importantly, samples not identified as corrupted are left unmodified, thereby preventing unnecessary alterations in valid signal segments and maintaining physiological interpretability.
This conservative local smoothing step does not perform backward state propagation, covariance refinement, or global trajectory optimization. Instead, it provides a targeted temporal regularization that complements the EKF’s forward filtering by enforcing short-range consistency only where degradation is detected. By confining smoothing to localized regions and avoiding reliance on future data beyond the current window, the method remains suitable for real-time WBAN operation with minimal computational overhead.
Overall, this approach achieves effective temporal coherence enhancement without sacrificing low-latency processing or introducing the risks associated with aggressive global smoothing techniques.

3.2.4. Adaptive Signal Reconstruction for Preserving Fidelity

A critical aspect of our framework, designed to prevent the counterproductive effects of excessive reprocessing, is adaptive signal reconstruction. After the targeted application of the EKF and conservative local smoothing to the corrupted and uncertain regions identified by the adaptive gating mechanism (Algorithm 1, Step 2), the final high-fidelity signal, z ˜ ( j ) ( t ) , is constructed by carefully merging the processed segments with the original, uncorrupted data. Specifically, for any time point t, the following applies:
  • If t falls within a gated region ( G j ), meaning it was identified as corrupted or uncertain, the gated-smoothed output ( s k smooth ) is used.
  • If t falls outside any gated region, implying that the raw data were deemed sufficiently clean and reliable, the original raw signal ( z raw ( j ) ( t ) ) is retained.
This selective reconstruction ensures that the multi-stage preprocessing pipeline acts as a targeted restoration mechanism rather than a universal filter. It preserves the inherent fidelity of uncorrupted physiological signals, minimizes the introduction of artificial processing artifacts, and optimizes computational efficiency by focusing complex operations only on necessary segments. The resulting signal, z ˜ ( j ) ( t ) , represents the most accurate and artifact-free representation of the physiological trend, balancing robust restoration with the preservation of original signal integrity. This selective reconstruction strategy prevents over-smoothing and avoids injecting artificial dynamics into already clean signal segments. By merging processed samples within G j and retaining raw samples outside it, the framework minimizes distortion while reducing unnecessary state updates. The ablation results (Table 6) confirm that process-all EKF introduces additional bias without measurable forecasting improvement, whereas gated processing preserves fidelity with lower computational cost.
Table 6. Ablation study: processing strategy comparison. Reconstruction RMSE is range-normalized (average across signals) as in Table 7. Forecast MAE is reported for the heart rate signal as a representative case study (in BPM; see Table 8 for full HR comparison).
Table 6. Ablation study: processing strategy comparison. Reconstruction RMSE is range-normalized (average across signals) as in Table 7. Forecast MAE is reported for the heart rate signal as a representative case study (in BPM; see Table 8 for full HR comparison).
MethodReconstruction RMSEForecast MAERuntime (s)
Spline-only10.598.7411.42
Process-all EKF4.025.573.52
Gated EKF (proposed)3.975.482.79
Table 7. Reconstruction performance under strong corruption (range-normalized, average across signals). MAE and RMSE are computed after min–max normalization of each signal to [ 0 ,   1 ] using its corrupted-window range, then averaged across all seven modalities. This normalization enables cross-signal comparison on a common scale; per-signal results in raw physiological units are reported separately in Table 9.
Table 7. Reconstruction performance under strong corruption (range-normalized, average across signals). MAE and RMSE are computed after min–max normalization of each signal to [ 0 ,   1 ] using its corrupted-window range, then averaged across all seven modalities. This normalization enables cross-signal comparison on a common scale; per-signal results in raw physiological units are reported separately in Table 9.
MethodMAERMSERuntime (s)
Spline-only8.439710.591611.4209
Spline + Moving Average (win = 5)8.602110.527411.1206
Spline + Median Filter (win = 5)8.889210.880510.9741
Spline + Savitzky–Golay (win = 7, poly = 2)8.656610.660110.9675
Standard KF (No Gating)8.739410.689913.3934
Gated KF2.414.582.64
Gated EKF (Proposed)1.933.972.79
Note: The range-normalized metrics in this table enable fair cross-signal averaging; per-signal reconstruction MSE in native physiological units is reported in Table 9.
Table 8. Heart rate forecasting accuracy under strong corruption (HR only, one-step ahead = 10 s). MAE/RMSE is reported in BPM; PI coverage denotes empirical coverage of the nominal 95% prediction interval.
Table 8. Heart rate forecasting accuracy under strong corruption (HR only, one-step ahead = 10 s). MAE/RMSE is reported in BPM; PI coverage denotes empirical coverage of the nominal 95% prediction interval.
HR Input Series (Reconstruction Pipeline)MAE (BPM)RMSE (BPM)95% PI Coverage
Spline-only8.7411.020.88
Spline + Moving Average (win = 5)16.7825.300.17
Spline + Median Filter (win = 5)17.3526.020.29
Spline + Savitzky–Golay (win = 7, poly = 2)17.1125.850.24
Standard KF (No Gating)17.8827.220.25
Gated KF6.128.940.92
Gated EKF (Proposed)5.488.210.94
Table 9. Mean Squared Error (MSE) performance of each preprocessing stage relative to ground truth. Lower MSE indicates higher signal fidelity. EKF and smoothing gains are computed relative to the preceding stage.
Table 9. Mean Squared Error (MSE) performance of each preprocessing stage relative to ground truth. Lower MSE indicates higher signal fidelity. EKF and smoothing gains are computed relative to the preceding stage.
Vital SignCorruptedInterpolatedEKFSmoothingEKF Gain (%)Smoothing Gain (%)
Heart Rate (BPM)2400.052345.181237.66856.3347.230.8
SpO2 (%)89.6386.9344.2130.2049.131.7
Systolic BP (mmHg)4979.334845.482953.832331.8439.021.1
Diastolic BP (mmHg)2305.922254.481201.47832.0146.730.7
Respiratory Rate (breaths/min)188.69184.3796.9068.7747.429.0
Body Temperature (°C)23.3522.8011.798.1148.331.2
Blood Glucose (mg/dL)4910.274789.032426.241634.6749.332.6
Algorithm 1 Adaptive real-time gated EKF preprocessing and ARIMA forecasting for WBAN signals (Part I: Windowing–Gating).
 1:
Input:
 2:
    Corrupted signal z ( j ) ( t ) , sampling interval Δ t
 3:
    Gap threshold T gap , gate expansion δ
 4:
    Window length T, stride S                                                            ▷ N = T / Δ t samples per window
 5:
    EKF parameters: process noise Q, base measurement noise R
 6:
    Gating parameters ( κ j , η , w med , δ )
 7:
    ARIMA order ( 1 , 1 , 1 ) and recent-history length W
 8:
    Clinical bounds ( L j , U j ) for each signal j
 9:
Output:
10:
     z ˜ ( j ) ( t ) , z ^ ( j ) ( t + 1 ) , r w ( j ) , ρ j , γ j , runtime τ
11:
Step 0: Windowing
12:
Partition z ( j ) ( t ) into overlapping windows of length T and stride S.
13:
Let N T / Δ t be the number of samples per window.
14:
Step 1: Missing Data Handling
15:
Detect missing gaps within each window.
16:
for all gaps do
17:
     if gap length T gap  then
18:
          Fill missing samples using natural cubic spline interpolation.
19:
     else
20:
          Perform last-value imputation and mark low-confidence indices L j .
21:
          Inflate measurement noise at these indices (e.g., R k λ gap R , λ gap 1 ).
22:
    end if
23:
end for
24:
Step 2: Corruption Detection and Adaptive Gating
25:
Compute ( Q 1 , Q 3 ) on valid samples; IQR = Q 3 Q 1 .
26:
IQR bounds: [ Q 1 κ j IQR , Q 3 + κ j IQR ] .
27:
Spike test via rolling median m ( t ) over w med :
28:
    flag if | z ( t ) m ( t ) | > η · MAD .
29:
Form anomaly set A j (out-of-bounds OR spike OR missing).
30:
Expand: G j = { t : τ A j , | t τ | δ } .
31:
Compute gating rate ρ j = | G j | / N .

3.3. Selective (Gated) Processing: Definitions, Parameter Choices, and Quantification

3.3.1. Gating Definition and Rate

For each signal j in a window of length N, the anomaly set is first detected as
A j = { t : z ( j ) ( t ) is missing or violates the IQR bounds or spike criterion } .
We then expand anomalies by δ samples to form the gated index set
G j = { t : τ A j s . t . | t τ | δ } .
Selective restoration (EKF replacement + local median smoothing) is applied only on G j , while samples outside G j are retained from the raw stream to prevent unnecessary distortion.
We quantify gating activity using the gating rate:
ρ j = | G j | N , ρ avg = 1 J j = 1 J ρ j ,
reported as mean ± std over all windows. This directly indicates the fraction of samples that trigger restoration and therefore determines potential computational savings.

3.3.2. IQR Bounds and Spike Criterion

Let Q 1 ( j ) and Q 3 ( j ) be the first and third quartiles of valid samples in the current window; IQR ( j ) = Q 3 ( j ) Q 1 ( j ) . The IQR bounds are
Q 1 ( j ) κ j · IQR ( j ) , Q 3 ( j ) + κ j · IQR ( j ) ,
where κ j > 0 controls gating aggressiveness (smaller κ j gates more samples). In addition, we flag spike-like outliers using a rolling median m ( j ) ( t ) (computed over a short window) and a robust deviation threshold:
| z ( j ) ( t ) m ( j ) ( t ) | > τ j ,
where τ j is set from a robust scale estimate (e.g., τ j = η · MAD within the window).

3.3.3. Chosen Parameter Values ( κ j and δ )

Unless otherwise stated, we use fixed gating hyperparameters across experiments:
κ j = 1.5 j , δ = 2 samples .
With the 1 Hz processing rate ( Δ t = 1 s), δ = 2 corresponds to expanding each detected anomaly by ± 2 s to capture short neighborhoods around corrupted points (mitigating edge effects and preventing partial correction artifacts). The value κ j = 1.5 follows common robust outlier practice (IQR-based fences) and was selected via validation to balance (i) restoration coverage under corruption and (ii) minimal unnecessary processing on clean segments.

3.3.4. Expected Computational Savings

Let C EKF and C smooth denote per-sample costs of EKF replacement and local median smoothing, respectively. Under process-all operation, cost per window scales as N ( C EKF + C smooth ) , while under gated operation, it scales as | G j | ( C EKF + C smooth ) . Therefore, the expected savings factor is approximately
Savings 1 ρ j ,
and we report empirical runtime reductions to confirm this relationship.

3.4. Physiological Trend Forecasting with ARIMA

The conservative local smoothed physiological data from each window serve as the input for an AutoRegressive Integrated Moving Average (ARIMA) model, used for short-term prediction of future physiological trends. ARIMA models are well suited for time-series analysis due to their ability to capture autoregressive dependencies (AR), integrated trends (I), and moving average components (MA), making them robust for capturing common physiological signal dynamics [19].
For each physiological feature j within a processed window, an ARIMA(p,d,q) model is employed. Specifically, an ARIMA(1,1,1) model was selected as a robust choice for physiological signals, based on preliminary analysis of typical physiological signal characteristics (e.g., short-term autocorrelation, potential for linear trends) and often confirmed by information criteria like AIC/BIC on training data.
ARIMA was selected due to its suitability for short-horizon forecasting in low-sample windows and its computational efficiency under streaming constraints. Preliminary order selection was conducted on a validation subset using AIC/BIC criteria across ARIMA(p,d,q) configurations with p , q { 0 ,   1 ,   2 } and d { 0 ,   1 } . ARIMA(1,1,1) provided the best trade-off between goodness-of-fit and parameter stability, particularly for heart rate and blood pressure signals exhibiting short-term autocorrelation.
The model was implemented using the “statsmodels.tsa.arima.model.ARIMA” module in Python.
  • AR(1): The current value is dependent on the previous value, capturing immediate autoregressive relationships.
  • I(1): First-order differencing is applied to achieve stationarity, addressing underlying linear trends or low-frequency variations.
  • MA(1): The current value is dependent on the previous forecast error, accounting for short-term shocks.
The model is expressed as
( 1 ϕ 1 B ) ( 1 B ) y t = ( 1 + θ 1 B ) ϵ t
where y t is the smoothing smoothed signal, B is the backshift operator, ϕ 1 is the AR parameter, θ 1 is the MA parameter, and ϵ t is white noise.
To maintain real-time performance and adapt to evolving physiological dynamics, the ARIMA model is re-fitted to the most recent window’s smoothed data. This involves re-estimating the model parameters ( ϕ 1 , θ 1 ) for each new window, which allows the model parameters to adapt to recent changes without requiring computationally expensive re-fitting over the entire history. If the data in a specific window do not exhibit sufficient variation for differencing (I = 1), determined by a standard deviation threshold of less than 0.1 for HR (BPM) and 0.05 for SpO2 (%) after differencing, or if the Augmented Dickey–Fuller (ADF) test (with a significance level of p 0.05 ) fails to reject the null hypothesis of non-stationarity, the model gracefully falls back to an ARIMA(1,0,0)—effectively an AR(1)—model in order to prevent overfitting or numerical instability on near-constant segments.

3.5. Clinical-Aware Risk Assessment

The forecasted physiological trends are then translated into actionable risk scores through a two-step process of clinical-aware deviation scoring and risk score clipping.

3.5.1. Clinical-Aware Deviation Scoring

This step combines statistical anomaly detection with clinical significance to generate a deviation score for each forecasted physiological feature. For each feature j, the deviation score Z w ( j ) for the next forecasted value y ^ w + 1 ( j ) is calculated as
Z w ( j ) = α · | y ^ w + 1 ( j ) μ y ( j ) | σ y ( j ) + ( 1 α ) · min | y ^ w + 1 ( j ) C j | R j , 1.0
where
  • μ y ( j ) and σ y ( j ) are the mean and standard deviation of the smoothed data for feature j within the current window w. This provides a statistical measure of deviation from recent norms, capturing short-term anomalies.
  • C j = ( L j + U j ) / 2 is the clinical midpoint, and R j = ( U j L j ) / 2 is the clinical radius for feature j. L j and U j represent the lower and upper bounds of the clinically acceptable range for feature j, defined based on established medical guidelines [27,28,29]. Specifically, for HR, L j = 60 BPM, U j = 100 BPM; for SpO2, L j = 95 % , U j = 100 % . The term min ( · , 1.0 ) caps the clinical deviation at 1.0 to prevent extreme outliers from dominating the clinical component when a value is very far outside the normal range.
  • α is a weighting factor set to 0.1. This choice was determined through sensitivity analysis on the simulated dataset, optimizing for early detection of clinically significant events while maintaining robustness against minor statistical fluctuations. This low α prioritizes clinical significance (0.9 weight) while still incorporating statistical variability (0.1 weight) to detect subtle, but persistent, deviations within the normal clinical range.

3.5.2. Risk Score Clipping

The final deviation scores Z w ( j ) for each feature are then normalized to a uniform scale, producing the final risk score r w ( j ) . This step is critical for harmonizing heterogeneous physiological features, ensuring that no single feature disproportionately influences the overall risk assessment in a multi-feature decision support system.
r w ( j ) = min ( Z w ( j ) , 1.0 )
The scores are clipped at 1.0, effectively mapping all deviations beyond a certain threshold to the maximum risk level (e.g., a score of 1.0 indicates a significant deviation, either statistically or clinically). This clipping provides a consistent basis for comparing and aggregating risk across different vital signs, improving numerical stability and convergence speed for downstream optimization or decision-making algorithms (e.g., a simple sum or weighted average of r w ( j ) across features could yield a total risk score).
The clinical reference ranges summarized in Table 5 represent widely accepted physiological norms used in medical assessment and risk evaluation. Normal oxygen saturation ( S p O 2 ) is typically maintained between 95 and 100%, reflecting adequate pulmonary gas exchange, while healthy adults generally exhibit heart and pulse rates between 60 and 100 bpm, consistent with established cardiovascular physiology [27]. Standard respiratory rate ranges (12–20 breaths/min) are similarly grounded in respiratory clinical guidelines [30]. Blood pressure thresholds, including systolic values of 90–120 mmHg and diastolic values of 60–80 mmHg, align with international hypertension management recommendations [28]. Normal body temperature (36.1–37.2 °C) reflects homeostatic thermoregulation, while blood glucose levels of 70–140 mg/dL correspond to established metabolic criteria for euglycemia [31]. Together, these ranges provide a clinically grounded framework for identifying deviations and potential anomalies in patient monitoring.

3.6. Overall Algorithm Flow and Real-Time Operation

The complete processing pipeline, from windowed corrupted input to normalized risk score generation, is summarized in Algorithms 1–3. The algorithm executes sequentially for each incoming sliding window of physiological data, enabling real-time and adaptive monitoring. The forward extended Kalman filter (EKF) state, represented by ( x ^ p r e v | p r e v ( j ) , P p r e v | p r e v ( j ) ) at the end of window w 1 , is explicitly carried over to initialize the EKF for window w. This state propagation preserves temporal continuity across windows and avoids full re-initialization of the filter, thereby supporting stable estimation and computational efficiency in streaming operation. On the specified hardware platform, the average per-signal processing time per 50 s window was approximately 330–400 ms (including spline interpolation, gated EKF, local smoothing, and ARIMA fitting), yielding a total of approximately 2.8 s when all seven physiological modalities are processed sequentially within the same window. Both the per-signal latency and the aggregate latency remain substantially below the 10 s stride interval, thereby satisfying real-time deployment requirements.
Algorithm 2 Adaptive real-time gated EKF preprocessing and ARIMA forecasting for WBAN signals (Part II: Forward EKF with Nonlinear Measurement).
 1:
Step 3: Forward EKF with Selective Updates (Nonlinear Measurement)
 2:
Define 2-state: x k = [ s k , v k ] T (value and slope).
 3:
Dynamics (linear): x k = f ( x k 1 ) = [ s k 1 + v k 1 Δ t , v k 1 ] T .
 4:
Set bounded measurement parameters from clinical bounds:
 5:
     b j L j + U j 2                                                                 ▷ midpoint
 6:
     a j U j L j 2 ln 19                                                                    ▷ maps bounds to σ ( ± ln 19 ) ( 0.05 , 0.95 )
 7:
Measurement (bounded logistic sensor model):
z k = h j ( x k ) + ϵ k , h j ( x k ) = L j + ( U j L j ) σ s k b j a j ,
 8:
where σ ( u ) = 1 1 + e u and ϵ k N ( 0 , R k ) .
 9:
Jacobians:
F k = f x = 1 Δ t 0 1 , H k = h j x = h j s k 0 ,
10:
with
h j s k = U j L j a j σ ( u k ) 1 σ ( u k ) , u k = s k b j a j .
11:
for   k = 1 to N do
12:
      Predict:  x ^ k | k 1 = f ( x ^ k 1 | k 1 ) , P k | k 1 = F k 1 P k 1 | k 1 F k 1 T + Q .
13:
      if  k G j   or   k L j   or   z k is missing then
14:
            Skip/down-weight update: set R k λ R with λ 1 (or skip update entirely).
15:
      else
16:
            Use nominal measurement noise: R k R .
17:
      end if
18:
      Update: compute innovation y ˜ k = z k h j ( x ^ k | k 1 ) .
19:
       S k = H k P k | k 1 H k T + R k ,     K k = P k | k 1 H k T S k 1 .
20:
       x ^ k | k = x ^ k | k 1 + K k y ˜ k ,     P k | k = ( I K k H k ) P k | k 1 .
21:
      Store s k ekf [ x ^ k | k ] 1 .
22:
end for
23:
Compute skipped-update fraction γ j = # { indices with R k = λ R or skipped } N .
Algorithm 3 Adaptive real-time gated EKF preprocessing and ARIMA forecasting for WBAN signals (Part III: Smoothing–Risk).
 1:
Step 4: Conservative Local Median Smoothing (gated only)
 2:
for all   k G j   do
 3:
       s k smooth median { s i ekf : i W k } .
 4:
end for
 5:
Step 5: Adaptive Signal Construction (preserve clean samples)
 6:
for   k = 1 to N do
 7:
      if  k G j  then
 8:
            z ˜ ( j ) ( k ) s k smooth .
 9:
      else
10:
            z ˜ ( j ) ( k ) z raw ( j ) ( k ) .
11:
      end if
12:
end for
13:
Step 6: ARIMA Trend Forecasting + Uncertainty
14:
Fit ARIMA ( 1 ,   1 ,   1 ) on the most recent W samples of z ˜ ( j ) .
15:
Output one-step forecast z ^ ( j ) ( t + 1 ) and 95% prediction interval [ z ^ l o , z ^ h i ] .
16:
Step 7: Window-level Clinical Risk
17:
Compute deviation score from window statistics and clinical bounds ( L j , U j ) .
18:
Clip per-signal risk to [ 0 ,   1 ] to prevent domination; output r w ( j ) .

4. Results

This section presents a rigorous, multi-faceted evaluation of the proposed integrated framework for real-time physiological trend prediction in Wireless Body Area Networks (WBANs). We systematically assess the framework’s performance across its three core components: (1) the efficacy of the multi-stage preprocessing pipeline in restoring signal fidelity, (2) the accuracy and clinical responsiveness of the adaptive ARIMA forecasting, and (3) the utility of the clinical-aware risk assessment strategy for proactive decision support.
In contrast to earlier mild-corruption experiments, the evaluation reported here is conducted under a deliberately harsh degradation regime designed to stress-test selective restoration and to clearly differentiate spline-only, linear KF, and nonlinear EKF performance.

4.1. Experimental Configuration Summary

The experiments were conducted under the following configuration:
  • Window length T = 50 s, stride S = 10 s;
  • Sampling rate f s = 1 Hz;
  • 80% window overlap;
  • Gating parameters: κ = 1.5 , δ = 2 ;
  • ARIMA order: (1,1,1);
  • EKF process covariance: Q = diag ( 0.01 ,   0.001 ) ;
  • Base measurement covariance: R = 0.5 .

4.2. Experimental Setup and Strong WBAN Degradation Model

Physiological data for heart rate (HR), oxygen saturation (SpO2), systolic blood pressure (SYS), diastolic blood pressure (DIA), body temperature (TEMP), and respiratory rate (RR) were generated using the high-fidelity surrogate streaming model described in Section 3.
To emulate realistic and severe WBAN acquisition challenges, we injected the following strong corruption model:
  • Burst Missingness: 20–30% random missing samples per window, with burst gaps of up to 15 consecutive seconds (simulating network outages and sensor dropout).
  • Additive Noise: Gaussian noise with σ = 8 % of the signal range, combined with low-frequency baseline wander (0.5 cycles per 50 s window).
  • Impulse Artifacts: Spikes injected with 5% probability per sample, amplitude ± 4 σ .
  • Nonlinear Clipping: Values near physiological bounds that are softly clipped to simulate sensor saturation, introducing nonlinear distortion.
  • Drift and Quantization: Linear drift of 0.15 σ per 50 s window and rounding to 0.2-unit precision.
All corruptions were applied with fixed random seeds for reproducibility. This strong regime ensures that spline-only interpolation is insufficient, thereby enabling a fair comparison of restoration strategies.
The resulting degraded dataset comprises approximately 100 simulated patient-hours of multivariate physiological data, corresponding to approximately 35,600 sliding windows (50 s window length, 10 s stride, 1 Hz sampling) that served as the input to the proposed framework. Figure 1 illustrates a representative short segment of the multidimensional time-series data after strong WBAN degradation, with the clean ground truth included for visual comparison.

4.3. Evaluation of Multi-Stage Signal Preprocessing

The efficacy of our multi-stage preprocessing pipeline, comprising cubic spline interpolation (for missingness), extended Kalman filter (EKF) denoising (for noise and state estimation), and conservative local smoothing (for optimal signal refinement), was quantitatively assessed by measuring the Mean Squared Error (MSE) of the signal at each stage relative to its uncorrupted ground truth (GT). A lower MSE indicates a higher fidelity reconstruction of the true physiological signal.
In addition to the incremental stage-wise evaluation, we further compare three reconstruction strategies under the strong WBAN degradation regime: (i) spline-only (interpolation without state filtering), (ii) a gated linear Kalman filter (KF), and (iii) a gated extended Kalman filter (EKF, proposed). This comparison explicitly evaluates whether nonlinear state modeling and selective restoration provide measurable benefits beyond interpolation alone.
Figure 2 visually contrasts clean and corrupted WBAN vital signs within a single sliding window, highlighting the diverse degradation patterns introduced by burst missingness, impulse artifacts, nonlinear clipping, and drift. Figure 3 demonstrates the progressive impact of the preprocessing pipeline on a simulated temperature signal. Interpolation fills data gaps, the EKF suppresses nonlinear noise and compensates for drift, and conservative local smoothing enhances temporal coherence.
Figure 4 confirms that adaptive filtering stabilizes high-variance signals (heart rate, glucose, and systolic pressure) while preserving physiological trends, and Figure 5 highlights samples where corruption-triggered restoration was activated.
Across all windows, the average gating rate was ρ avg = 0.214 , indicating that approximately 21.4% of samples triggered selective restoration. This quantifies the fraction of samples undergoing EKF/KF correction and directly supports the claim of computationally selective processing.
Under strong corruption, the spline-only method fails to suppress impulse artifacts and nonlinear distortions, resulting in the highest reconstruction error. The gated KF reduces normalized RMSE by 57% relative to spline-only, while the proposed gated EKF further reduces normalized RMSE by 13% relative to the KF, demonstrating the benefit of bounded nonlinear measurement modeling (logistic observation) under soft clipping/saturation. Despite a slightly higher runtime (2.79 s vs. 2.64 s), the EKF remains well within real-time constraints (processing time < stride interval).
Table 9 quantitatively summarizes the Mean Squared Error (MSE) for each vital sign at different stages of the preprocessing pipeline, calculated against the ground truth, and it also reports the percentage gain in signal quality (reduction in MSE) achieved by the EKF and conservative local smoothing stages relative to their preceding stage.
Notably, the per-stage analysis aligns with the global reconstruction comparison: interpolation primarily addresses missingness, while the EKF improves dominant noise suppression and local smoothing further enhances temporal coherence.
The results in Table 9 clearly demonstrate the incremental improvement in signal fidelity at each stage of the preprocessing pipeline:
  • Interpolation: The “Interpolated” MSE shows a modest reduction compared to the “Corrupted” MSE for all vital signs. Its primary role is to reconstruct missing samples and provide a continuous signal for subsequent state-space filtering rather than to suppress impulse noise or nonlinear distortion.
  • State-Space Filtering (KF/EKF): Application of the Kalman-based filter yields a dominant reduction in MSE across all vital signs. Under the imposed strong WBAN degradation regime, both the linear KF and nonlinear EKF substantially improve signal fidelity relative to interpolation. However, the extended Kalman filter consistently achieves lower error than the linear KF, particularly in the presence of nonlinear clipping and bounded measurement effects, confirming the benefit of nonlinear state modeling for degraded physiological streams.
  • Conservative Local Smoothing: The conservative local median smoother further refines the filtered estimates by enforcing short-range temporal coherence within the window. Unlike full backward state smoothing, this localized operation improves stability without introducing excessive bias. Across all signals, smoothing yields an additional 21–33% MSE reduction relative to the filtered output.
Overall, the multi-stage pipeline cumulatively reduces the MSE relative to the initial corrupted signal by a substantial margin, ranging from 53.2% (systolic blood pressure) to 66.7% (blood glucose), with most vital signs exhibiting reductions between 63% and 66%, confirming its effectiveness in transforming severely degraded WBAN signals into high-fidelity trend representations suitable for downstream forecasting and clinical risk assessment.

4.3.1. Statistical Significance of Preprocessing Improvements

To ascertain the statistical significance of the observed improvements, paired t-tests and Wilcoxon signed-rank tests were conducted on window-level MSE values (relative to the ground truth) between successive preprocessing stages.
The full dataset contains approximately 35,600 windows per vital sign (100 simulated patient-hours, T = 50 s, S = 10 s). To avoid inflated statistical power due to extremely large sample size and to maintain computational efficiency, N = 997 windows were uniformly randomly sampled per signal for hypothesis testing. The same sampled windows were used consistently across stage comparisons.
Table 10 summarizes the resulting p-values.
As shown in Table 10, nearly all stage-to-stage comparisons yield statistically significant improvements ( p < 0.05 ), with most comparisons achieving p < 0.001 under both parametric and non-parametric testing.
The only exception is the Blood Glucose comparison between Corrupted Raw and Interpolated under the Wilcoxon signed-rank test ( p = 0.125 ), indicating that interpolation alone provides a weak and heterogeneous improvement for this modality. However, subsequent transitions (Interpolated → EKF and EKF → Smoothing) are highly significant for glucose under both tests, confirming that the primary reconstruction gains arise from gated nonlinear filtering and conservative smoothing rather than interpolation alone.
These results collectively demonstrate that the proposed multi-stage preprocessing pipeline yields statistically robust and reproducible reductions in reconstruction error across the strong degradation regime.
In addition, paired comparisons between gated KF and gated EKF reconstruction errors yielded statistically significant improvements (Wilcoxon p < 0.01 across all high-variance signals), confirming that bounded nonlinear filtering provides measurable benefit under the imposed degradation regime.

4.3.2. Sensitivity Analysis of Gating Hyperparameters

We evaluated the sensitivity of selective restoration to the gating hyperparameters κ and δ by sweeping
κ { 1.0 , 1.5 , 2.0 , 2.5 , 3.0 } , δ { 0 , 1 , 2 , 3 , 5 } .
For each pair ( κ , δ ) , we report the (i) gating rate ρ avg , (ii) reconstruction error (MSE vs. GT), (iii) forecasting accuracy (window-MAE and directional accuracy), and (iv) mean runtime per window. This analysis reveals the trade-off between aggressiveness (larger ρ ) and computational load, and supports the default setting κ = 1.5 , δ = 2 as a balanced operating point.
As shown in Table 11, smaller κ values increase gating aggressiveness, improving reconstruction at the cost of runtime, while a larger δ increases neighborhood correction but raises computational load. The configuration κ = 1.5 , δ = 2 provides the best balance between reconstruction accuracy, forecasting performance, and computational efficiency, validating its selection as the default operating point.

4.3.3. Ablation Study: Process-All vs. Gated Restoration

To rigorously validate the claimed benefit of selective restoration, we conducted an ablation study comparing three processing strategies:
  • (A) Process-all EKF: Extended Kalman filtering and local median smoothing applied to every sample in each window.
  • (B) Gated EKF (proposed): EKF replacement and local smoothing applied only to samples within the gated set G j , while samples outside G j remain unchanged.
  • (C) Spline-only baseline: Cubic spline interpolation for missing values without any state-space filtering or smoothing.
The performance was evaluated in terms of both accuracy (reconstruction MSE, window-MAE forecasting error, and directional accuracy) and efficiency (mean runtime per window). Since CPU energy consumption is approximately proportional to execution time under fixed hardware conditions, runtime is additionally reported as an energy proxy. When available, package-level energy counters (e.g., Intel RAPL) were used to confirm this proportional relationship.
The results indicate that the process-all EKF increases smoothing bias and computational cost without providing meaningful reconstruction or forecasting gains over gated processing. In contrast, the proposed gated EKF achieves equivalent or superior accuracy while reducing update operations by approximately ρ avg = 21.4 % , resulting in a proportional runtime reduction consistent with the theoretical savings factor ( 1 ρ avg ) .
These findings confirm that selective restoration preserves signal fidelity while improving computational efficiency, thereby validating the central design principle of the proposed framework. Although the process-all EKF achieves similar reconstruction accuracy (Table 6), it increases computational cost by 26% compared to the gated EKF without meaningful forecasting improvement, confirming that selective restoration maintains fidelity while reducing unnecessary computation.

4.3.4. Forecasting Accuracy Under Strong Corruption (Heart Rate Case Study)

To isolate the effect of preprocessing on forecasting quality, we report a heart rate (HR) case study in which the ARIMA predictor is trained on HR series obtained from different reconstruction pipelines. Unlike cross-signal reconstruction summaries (e.g., Table 7), the results in Table 8 are HR-only and are reported in raw BPM units (MAE/RMSE in BPM, and prediction interval coverage as a fraction). This scope is intentionally restricted to HR to avoid misleading aggregation across heterogeneous modalities (mmHg, mg/dL, °C, etc.).
We evaluate a one-step-ahead forecast aligned with the stride interval ( S = 10 s), i.e., predicting HR at t + 10 s using the most recent window history. Under the strong degradation regime, spline-only reconstruction yields relatively large errors due to residual impulse artifacts and drift. In contrast, gated Kalman filtering improves both point accuracy and uncertainty calibration, and the proposed gated EKF provides the best overall performance, indicating that bounded nonlinear measurement modeling is beneficial for HR under soft saturation/clipping effects.
We observed that applying aggressive smoothing indiscriminately (without gating) can degrade forecast performance by attenuating rapid local changes and introducing phase lag, which harms ARIMA parameter stability and leads to miscalibrated prediction intervals. This supports the design choice of selective (gated) restoration rather than process-all smoothing.

4.4. Adaptive ARIMA Forecasting Performance

Building upon the high-fidelity signals produced by the multi-stage preprocessing pipeline, the adaptive ARIMA model provides short-term predictions of physiological trends. This section evaluates the model’s accuracy, ability to capture directional changes, and overall contribution to early event detection.
The ARIMA model, operating on the gated-smoothed data from each window, achieved an across-window mean MAE of 12.31 BPM for heart rate and 2.33% for SpO2, as detailed in Table 12. These across-window aggregate values reflect the distribution of per-window prediction errors over all 35 , 600 sliding windows and capture inter-window variability. In contrast, the HR-specific one-step-ahead MAE reported in Table 8 (5.48 BPM) represents the median per-step forecast error under the proposed gated EKF pipeline and serves as a pipeline-comparison benchmark. The difference arises because the across-window MAE includes windows with high degradation, transient ARIMA instability, and edge effects that inflate the aggregate statistic. This demonstrates the significant benefit of applying the full preprocessing cascade before forecasting, resulting in improved predictive accuracy. To explicitly quantify the impact of preprocessing on forecasting accuracy, we compared ARIMA performance when trained on three input series: (i) spline-only reconstruction, (ii) gated KF reconstruction, and (iii) gated EKF reconstruction (proposed).
Table 8 (Section 4.3.4) reports the detailed HR-specific forecasting comparison across reconstruction pipelines, confirming that improved reconstruction directly translates to improved forecasting accuracy and uncertainty calibration.
Improved reconstruction directly translates to improved forecasting. The EKF-restored signals yield the lowest forecast error and the best uncertainty calibration, with 95% prediction interval coverage closest to the nominal level.
Figure 6 provides a comprehensive overview of the ARIMA model’s short-term forecasting capability across various vital signs within a single sliding window. It demonstrates how the model, operating on gated-smoothed data, generates smooth continuations of physiological patterns, indicating that the preprocessing enhances temporal coherence and improves time-series predictability.
Further, Figure 7 offers a zoomed-in perspective on the ARIMA model’s forecasting for heart rate (HR), oxygen saturation (SpO2), systolic blood pressure (SYS), and diastolic blood pressure (DIA) over a short, one-step-ahead horizon (10 s). The plots distinctly show the conservative locally smoothed observed data, the forecasted trajectories, and their 95% confidence intervals, along with predefined clinical thresholds. For example, in the simulated patient data shown, the forecasted downward trends in heart rate and SYS indicate an approaching breach of the lower clinical bounds, signaling potential bradycardic or hypotensive episodes. Conversely, the upward trends in SpO2 and DIA suggest recovery or compensatory mechanisms. This ability to project trends with associated confidence intervals allows for proactive risk detection before a physiological parameter breaches a critical threshold. The proposed framework achieved an average lead time of approximately 25 s (mean = 24.7 s, median = 23.9 s) prior to threshold-crossing events. This indicates that the model typically identifies deteriorating physiological trends roughly 24–25 s before critical clinical limits are reached, providing a meaningful early-warning buffer under the imposed degradation regime. The sensitivity, specificity, and false alarm rate were 0.89, 0.92, and 0.08, respectively, demonstrating strong discriminative performance while maintaining controlled false positives, where the former two values correspond to global threshold-based event detection across all signals and windows; in contrast, the early-warning rate reported per vital sign reflects the proportion of events for which the forecasted risk exceeded the threshold before the clinical bound was crossed. Therefore, the low early-warning rate observed for heart rate (0.01) indicates limited proactive lead-time detection for that specific parameter under the conservative alerting configuration, rather than poor classification sensitivity overall.
This early detection capability is further quantified by the “Early-Warning Rate” in Table 12, which indicates the proportion of events for which an alert was generated proactively.
To further quantify forecasting performance, we introduce several key metrics, summarized in Table 12:
  • Window-MAE (Mean Absolute Error): The average absolute difference between the forecasted value and the true value within each window.
  • Directional Accuracy: The percentage of forecasts where the predicted direction of change (increase, decrease, or no change) matches the actual direction of change.
  • Slope Error: The mean absolute difference between the predicted slope of the trend and the actual slope of the trend.
  • Risk Error: A custom metric quantifying the discrepancy between the forecasted risk score and the actual risk score based on the ground truth.
  • Early-Warning Rate: The proportion of clinically significant events for which the framework provided an alert (forecasted risk above threshold) before the actual event occurred.
  • Actual Event Rate: The observed frequency of clinically significant events in the ground-truth data.
  • Wilcoxon p-Value: The statistical significance of the difference between the forecasted values and the actual observed values.
Table 12 summarizes these key forecasting performance metrics. “Window-MAE” provides a direct measure of prediction accuracy, with values such as 12.31 for heart rate and 17.78 for systolic BP indicating the typical absolute deviation from actual values. “Directional Accuracy” consistently hovers between 0.65 and 0.70 across most vital signs, suggesting that the model correctly predicts the trend direction (increase, decrease, or no change) approximately 65–70% of the time, which is crucial for clinical decision-making. The “Early-Warning Rate” and “Actual Event Rate” columns reveal the model’s ability to proactively identify critical events. For instance, the respiratory rate score shows a high early-warning rate (0.97) in conjunction with an actual event rate of 1.00, indicating excellent proactive detection for this vital sign. Conversely, heart rate has a low early-warning rate (0.01) despite a notable actual event rate (0.18), suggesting room for improvement in early detection for certain parameters. “Risk Error” quantifies the discrepancy in forecasted risk, which is critical for the downstream risk assessment module. The Wilcoxon p-values in Table 12 further assess the statistical significance of the difference between forecasted and actual values: a high p-value (e.g., p > 0.05 ) suggests that there is no statistically significant difference between the forecasted values and the actual observed values, which indicates good predictive performance, while a low p-value (e.g., p < 0.05 ) indicates a statistically significant difference, suggesting that the forecast deviates significantly from the actual values. For instance, diastolic BP ( p = 0.069 ) and respiratory rate ( p = 0.406 ) show no significant difference between forecasts and actual values, implying robust predictions, whereas other vital signs such as heart rate ( p = 0.003 ) exhibit statistically significant differences.
Table 13 provides a comparative view of the reconstruction error from the adaptive-filtered signal against the ground truth and the forecasting error (window-MAE) of the ARIMA model against the actual future ground-truth values. The “MSE (Adaptive Filtered vs. GT)” column reflects the fidelity of the reconstructed signal (from Section 4.2) compared to the uncorrupted ground truth, while the “Forecast Error (ARIMA Window-MAE)” column represents the error of the one-step-ahead ARIMA forecast when compared to the actual future ground-truth value. Notably, the “Forecast Error (ARIMA Window-MAE)” values are significantly higher than those of “MSE (Adaptive Filtered vs. GT)” for all vital signs, reflecting the intrinsic difficulty and inherent uncertainty in predicting future physiological states, especially over longer lead times or during periods of high variability, compared to reconstructing a past signal. However, these forecasting errors must be interpreted in conjunction with the confidence intervals provided by the model (as shown in Figure 7) and the demonstrated early-warning capabilities, which collectively underscore the model’s practical utility despite the inherent predictive challenges.

4.5. Clinical-Aware Risk Assessment and Multi-Modal Harmonization

The final and crucial stage of our integrated framework translates the refined, forecasted physiological trends into actionable clinical risk scores. This process involves two key steps: clinical-aware deviation scoring and multi-modal risk score clipping. This approach is designed to harmonize heterogeneous physiological features by combining statistical anomaly detection with deviations from predefined clinically significant thresholds, ensuring a balanced influence of each vital sign on the overall risk assessment, reflecting both its statistical variability and its clinical importance. Specifically, deviation scoring quantifies how far a vital sign’s forecasted value is from its normal physiological range and its statistical baseline, while clipping scales these deviations to ensure comparability across different vital signs with varying units and ranges.
Figure 8 illustrates a normalized clinical risk score heatmap across four consecutive sliding windows (W1–W4) for all WBAN vital signs. The intensity of the color directly reflects the relative severity of the risk, with darker shades indicating a higher calculated risk. The heatmap visually confirms that signals with inherently higher physiological variability, such as blood glucose and blood pressure, often contribute to higher risk levels. Conversely, S p O 2 frequently exhibits comparatively lower risk, validating the efficacy of our risk-aware aggregation mechanism that accounts for these differences. This visualization clearly demonstrates the dynamic evolution of risk over time.
For example, Figure 8 depicts a period of elevated risk observed between windows 15 and 25 for heart rate (HR) and systolic blood pressure (SYS), potentially signaling the onset of a hypotensive or bradycardic event.
While the overall early-warning rate for HR (1%) and systolic BP (10%) reported in Table 12 indicates that proactive detection of all such events is challenging, these metrics, alongside the risk error, provide quantitative insight into the framework’s capability. The risk error (e.g., 0.21 for HR, 0.64 for SYS in Table 12) quantifies the discrepancy between the forecasted risk score and the actual risk score based on ground truth, where lower values indicate more accurate risk prediction. Despite these challenges, the framework demonstrates the potential to identify critical shifts in patient status. Concurrently, the risk scores for SpO2 (with a risk error of 0.57) and diastolic BP (with a risk error of 0.70) remain relatively low during this period in the heatmap, underscoring the multi-modal nature of the assessment. This prevents any single vital sign from disproportionately dominating the overall risk calculation, offering a more nuanced patient state assessment.
Our multi-modal clipping strategy is critical, ensuring that a clinically significant deviation in one vital sign (e.g., a 10 BPM change in HR) is scaled comparably to a clinically equivalent deviation in another (e.g., a 2% change in SpO2). This scaling is based on their respective clinical significance (e.g., severity of deviation from normal ranges) and statistical variability observed in the dataset. This systematic approach allows for a unified and interpretable aggregation of risk across diverse physiological parameters. By providing a consistent basis for comparing and combining risks, it not only improves the numerical stability for downstream decision-making algorithms but also enhances the framework’s utility in early intervention scenarios through risk scores derived from forecasted trends. To quantitatively validate multi-modal harmonization, we computed the Pearson correlation between the aggregated normalized risk score and ground-truth clinical event labels across all windows. The normalized risk demonstrated strong correlation ( r = 0.81 , p < 0.001 ), confirming that the risk formulation preserves clinical interpretability.
Furthermore, clipping prevented any single modality from dominating the aggregate risk. For example, when heart rate exhibited severe drift while SpO2 remained stable, the combined risk remained bounded and proportional, demonstrating balanced cross-modal scaling.

5. Computational Complexity Analysis

For a window of length N, cubic spline interpolation operates in O ( N ) time. The forward EKF requires O ( N ) operations due to constant-dimensional state updates. Local median smoothing operates in O ( k N ) with small neighborhood k N , while ARIMA fitting per window requires O ( N ) due to small model order.
Under gated processing, effective EKF complexity becomes O ( ρ N ) , where ρ is the gating rate. Since ρ avg = 0.214 , the expected computational reduction is approximately 1 ρ 78.6 % relative to process-all filtering.

5.1. Impact of the Proposed Framework on Clinical Early-Warning Performance

To evaluate clinical usefulness, we distinguish between two complementary evaluation levels:
1.
Per-signal modality performance: Event detection evaluated independently for each vital sign using a signal-specific operating threshold τ j .
2.
Global system-level performance: Event detection evaluated using the aggregated multi-modal risk score across all signals.
This distinction is critical because system-level monitoring behavior does not correspond to a simple arithmetic average of per-signal sensitivities and specificities.

Global System-Level Performance (Micro-Averaged)

The global sensitivity, specificity, and false alarm rate were computed by forming a single pooled confusion matrix over all windows using the aggregated clipped risk score.
Let
T P = w 1 ( Predicted Event w True Event w ) ,
F P = w 1 ( Predicted Event w True Non - Event w ) ,
T N = w 1 ( Predicted Non - Event w True Non - Event w ) ,
F N = w 1 ( Predicted Non - Event w True Event w ) .
From this pooled confusion matrix, the global metrics are computed as
Sensitivity ( TPR ) = T P T P + F N ,
Specificity ( TNR ) = T N T N + F P ,
False Alarm Rate ( FPR ) = F P F P + T N .
Using this micro-averaged evaluation across all windows, we obtained:
  • Sensitivity (TPR) = 0.89;
  • Specificity (TNR) = 0.92;
  • False Alarm Rate (FPR) = 0.08.
These values represent the overall monitoring behavior of the complete WBAN framework when all modalities contribute to the aggregated risk decision.
Importantly, these global metrics are not computed by averaging per-signal TPR/TNR values. Instead, they reflect system-level decision performance after multi-modal risk fusion.
The large variation across modalities reflects intrinsic signal separability. Highly separable signals such as respiratory rate achieve strong per-signal detection, whereas weakly separable or highly variable signals (e.g., HR, glucose) exhibit conservative sensitivity under signal-specific thresholds.
However, when risk is aggregated across modalities, strongly informative signals dominate the joint decision, resulting in substantially improved global sensitivity and specificity. This behavior is desirable in clinical monitoring systems, as it allows the framework to rely more heavily on physiologically informative indicators rather than amplifying noise-driven fluctuations. The clinical event detection performance across individual physiological signals and the aggregated multi-modal risk score is summarized in Table 14.

6. Conclusions and Discussion

This study presented and validated an integrated framework for adaptive preprocessing and short-term trend analysis in Wireless Body Area Networks (WBANs), addressing a fundamental yet often overlooked challenge in physiological signal processing: the counterproductive impact of indiscriminately reprocessing both corrupted and uncorrupted data. Such uniform processing not only increases computational overhead and latency but can also distort valid physiological patterns, thereby undermining clinical interpretability.
The proposed framework departs from fragmented and unselective methodologies by introducing an adaptively gated, multi-stage preprocessing pipeline designed to selectively restore only corrupted or uncertain signal segments. By combining cubic spline interpolation for continuity, extended Kalman filtering for noise suppression, and conservative local smoothing for temporal coherence, the framework preserves intrinsic physiological dynamics while avoiding unnecessary manipulation of clean data. Experimental evaluation on a reproducible multivariate dataset demonstrated substantial improvements in signal reconstruction fidelity, achieving substantial Mean Squared Error (MSE) reductions between 53% and 67% across all evaluated vital signs. Statistical testing further confirmed the consistency and significance of these improvements across preprocessing stages.
Building upon this optimized signal foundation, an adaptive ARIMA-based forecasting layer was employed to capture short-term physiological trends. Forecasting results showed consistent directional accuracies in the range of 65–70%, indicating reliable trend tracking despite the inherent variability of physiological signals. Importantly, the resulting early-warning behavior was intentionally conservative, prioritizing the suppression of false alarms over aggressive alerting. This design choice yielded high-confidence anomaly detection for strongly pathological signals such as respiratory rate while maintaining cautious sensitivity for highly variable parameters, including blood pressure and blood glucose.
A further contribution of this work lies in the introduction of a clinically aware risk score clipping strategy, which integrates statistical deviations with clinically defined safety bounds to produce interpretable and context-sensitive risk indicators. This strategy enables harmonization across heterogeneous physiological modalities and supports informed multi-signal risk assessment without amplifying noise-induced artifacts.
The experimental results confirm that selective restoration improves both reconstruction fidelity and computational efficiency compared to uniform filtering. Unlike prior works that apply preprocessing indiscriminately, the proposed gating strategy restricts EKF updates to only the 21.4% of samples identified as corrupted (i.e., ρ avg = 0.214 ), thereby avoiding processing of the remaining 78.6% of clean samples and directly lowering runtime without sacrificing accuracy.
Compared to spline-only or linear KF baselines, nonlinear EKF modeling demonstrates measurable benefit under nonlinear clipping and bounded-sensor effects. This indicates that state-space modeling with bounded measurement functions better captures physiological constraints.
A key design trade-off lies between early-warning aggressiveness and false alarm suppression. The conservative configuration prioritizes specificity (0.92) over sensitivity, which explains the lower early-warning rate for some modalities (e.g., HR). This reflects an intentional clinical design choice favoring reliability over alarm fatigue.
In comparison with state-of-the-art approaches reviewed in Section 2, the proposed framework uniquely integrates selective processing, multi-stage restoration, adaptive forecasting, and clinical-aware harmonization within a unified real-time pipeline. This holistic integration differentiates it from prior fragmented methodologies.
Overall, the findings suggest that corruption-aware selective filtering constitutes a practical and scalable strategy for next-generation WBAN monitoring systems.
The proposed framework establishes a robust, low-latency, and signal-preserving foundation for dependable physiological monitoring in WBAN environments. Rather than maximizing alert frequency, it emphasizes data fidelity, stability, and clinical trustworthiness, making it particularly suitable for continuous real-world deployments. Future work will explore explicit lead-time modeling, patient-specific adaptation, and validation on real clinical datasets to further enhance early-warning sensitivity while preserving the framework’s conservative and reliable design principles.

Limitations and Future Work

Despite the demonstrated strong performance, this study acknowledges its primary limitation: the reliance on synthetic physiological data. While the simulation model was meticulously designed to incorporate realistic noise, missingness, and temporal behavior, real-world clinical data present complexities (e.g., highly irregular artifacts, diverse patient pathologies) that are difficult to fully replicate synthetically. Therefore, future work will prioritize rigorous validation of the framework on real clinical datasets, such as those derived from Intensive Care Units (ICUs) or wearable devices in ambulatory settings, to further assess its generalizability and robustness. Another promising avenue for future research involves exploring hybrid deep learning or transformer-based models integrated with the proposed preprocessing pipeline. While ARIMA demonstrated effective short-term prediction, advanced neural architectures might capture more complex, nonlinear long-term dependencies, potentially enhancing predictive accuracy for longer horizons or in highly dynamic physiological states. However, careful consideration of their increased computational demands within WBAN constraints will be necessary. Additionally, incorporating adaptive noise covariance tuning within the EKF based on real-time signal quality metrics and personalized physiological baselines derived from individual patient history could further enhance the framework’s robustness and clinical relevance, moving toward truly personalized medicine. Several modeling assumptions in this work may be considered simplified relative to full clinical complexity. For example, the EKF employs a constant-velocity state model for all physiological signals, which may not capture abrupt nonlinear dynamics observed in critical-care scenarios. Similarly, a fixed ARIMA(1,1,1) structure is used per window, rather than patient-specific or adaptive order selection. While these design choices ensure computational feasibility in WBAN settings, they may limit responsiveness during rapidly evolving pathological states. Future work will explore adaptive state-transition models, variable-order ARIMA selection, and hybrid nonlinear predictors to better accommodate highly dynamic physiological conditions.
In conclusion, this work presents a pioneering integrated framework that fundamentally addresses the critical shortcomings of existing WBAN monitoring systems by synergistically combining advanced data preprocessing and adaptive forecasting. By specifically tackling the research problem of excessive and indiscriminate data reprocessing through its intelligent, selective restoration pipeline, the framework achieves demonstrated statistically significant improvements in signal fidelity and enhanced predictive accuracy. Coupled with a novel clinical-aware risk assessment, this provides a robust and reliable solution for real-time physiological trend prediction. This framework represents a significant advancement in patient safety and intervention efficacy, laying a strong foundation for the next generation of WBAN-based healthcare monitoring systems to enable proactive clinical decision-making and improve patient outcomes in critical, emergency, and home-care scenarios.

Author Contributions

Conceptualization, F.A.; methodology, F.A.; software, F.A.; validation, F.A.; formal analysis, F.A.; investigation, F.A.; resources, F.A.; data curation, F.A.; writing—original draft preparation, F.A.; writing—review and editing, F.A.; visualization, F.A.; supervision, F.B.; project administration, F.A. All authors have read and agreed to the published version of the manuscript.

Funding

The project was funded by KAU Endowment (WAQF) at King Abdulaziz University, Jeddah, Saudi Arabia. The authors, therefore, acknowledge with thanks WAQF and the Deanship of Scientific Research (DSR) for technical and financial support.

Data Availability Statement

The data supporting the reported results are available at https://github.com/FatimahAlghamdi-KAU/Selective_Pre_Processing, accessed on 2 March 2026.

Conflicts of Interest

The authors declare no conflicts of interest.

Nomenclature

SymbolDescription
z ( j ) ( t ) Corrupted physiological signal of modality j at time t
z ˜ ( j ) ( t ) Reconstructed (restored) physiological signal
G j Gated sample index set for modality j
κ IQR fence multiplier controlling outlier sensitivity
δ Gate expansion parameter (samples)
QEKF process noise covariance matrix
REKF measurement noise covariance matrix
ρ j Gating rate for modality j
ρ avg Average gating rate across modalities
x k EKF state vector at time step k
P k EKF state covariance matrix
TWindow length
SWindow stride

References

  1. Radhi, M.; Tahseen, I. An Enhancement for Wireless Body Area Network Using Adaptive Algorithms. Int. J. Comput. Exp. Sci. Eng. 2024, 10, 409. [Google Scholar] [CrossRef]
  2. Sharma, P.; Sandhu, A.; Singh, G. Emerging Technologies in E-Health: Wireless Body Area Networks and Body Sensors: Innovations, Challenges, and Future Directions. In Proceedings of the 2024 International Conference on Sustainable Communication Networks and Application (ICSCNA); IEEE: New York, NY, USA, 2024; pp. 28–35. [Google Scholar]
  3. Kumari, P.; Sharma, A. Advancements and Challenges in Wireless Body Area Networks (WBANs): A Comprehensive Review with Emphasis on Security. In Proceedings of the International Conference on Smart Cyber Physical Systems; Springer: Singapore, 2024; pp. 657–670. [Google Scholar]
  4. Thulnoon, A.A.; Jubair, A.M.; Mubarek, F.S.; Abd, S.A. Wireless Body Area Networks: A Review of Challenges, Architecture, Applications, Technologies and Interference Mitigation for Next-Generation Healthcare. Appl. Comput. Sci. 2025, 21, 137–161. [Google Scholar] [CrossRef]
  5. Carrasco Ramírez, J.G. AI in Healthcare: Revolutionizing Patient Care with Predictive Analytics and Decision Support Systems. J. Artif. Intell. Gen. Sci. 2024, 1, 31–37. [Google Scholar] [CrossRef]
  6. Koukaras, P.; Tjortjis, C. Data Preprocessing and Feature Engineering for Data Mining: Techniques, Tools, and Best Practices. AI 2025, 6, 257. [Google Scholar] [CrossRef]
  7. Heuvelmans, M.; Wunderink, H.F.; Van Der Mei, H.C.; Monkelbaan, J.F. A Narrative Review on Current Duodenoscope Reprocessing Techniques and Novel Developments. Antimicrob. Resist. Infect. Control 2021, 10, 171. [Google Scholar] [CrossRef]
  8. Majumdar, P.; Roy, S.; Sikdar, S.; Ghosh, P.; Ghosh, N. A Survey on Data-Driven Approaches for Reliability, Robustness, and Energy Efficiency in Wireless Body Area Networks. Sensors 2024, 24, 6531. [Google Scholar] [CrossRef]
  9. Zhong, L.; Li, X.; Lin, J.; Li, Z.; He, S.; Wu, J.; Pang, Y. Technological Requirements and Challenges in Wireless Body Area Networks for Health Monitoring: A Comprehensive Survey. Sensors 2022, 22, 3539. [Google Scholar] [CrossRef]
  10. Benchekroun, M.; Chevallier, B.; Zalc, V.; Istrate, D.; Lenne, D.; Vera, N. The Impact of Missing Data on Heart Rate Variability Features: A Comparative Study of Interpolation Methods for Ambulatory Health Monitoring. Innov. Res. Biomed. Eng. 2023, 44, 100776. [Google Scholar] [CrossRef]
  11. Yao, Y.; Jiang, Y. A Physiological Signal Denoising Method Using Adaptive Kalman Filter. In Proceedings of the 2024 7th International Conference on Pattern Recognition and Artificial Intelligence (PRAI); IEEE: New York, NY, USA, 2024; pp. 968–972. [Google Scholar]
  12. Yuvaraja, M.; Ramesh, R.; Priya, R.; Dhanasekar, J. Wireless Body Sensor Networks for Real-Time Healthcare Monitoring: A Cost-Effective and Energy-Efficient Approach. J. Angiother. 2024, 8, 1–13. [Google Scholar]
  13. Mishra, A.; Bhusnur, S.; Mishra, S. Advancing ECG Signal Modeling Through a Hybrid Parametric Spline Approach. Circuits Syst. Signal Process. 2024, 43, 7339–7363. [Google Scholar] [CrossRef]
  14. Wang, C.S.; Zhang, L.; Fu, T.L.; Chen, Z.Q.; Zhang, F.Q. HRTS: Hierarchical Rauch-Tung-Striebel Smoother With Online Learning Priors for EEG Denoising. J. Netw. Intell. 2024, 9, 673–688. [Google Scholar]
  15. Lima, I.K.H.; Arapa, E.G.C. Integration of Deep Learning Models and Explanatory Models to Detect Anomalous Periods in Vital Signs of Mining Truck Engines. In Proceedings of the 2024 IEEE XXXI International Conference on Electronics, Electrical Engineering and Computing (INTERCON); IEEE: New York, NY, USA, 2024; pp. 1–6. [Google Scholar]
  16. Taassori, M.; Vizvári, B. Enhancing medical image denoising: A hybrid approach incorporating adaptive Kalman filter and non-local means with Latin square optimization. Electronics 2024, 13, 2640. [Google Scholar] [CrossRef]
  17. Basak, S.; Mukherjee, P.S. An efficient image denoising method integrating multi-resolution local clustering and adaptive smoothing: S. Basak, PS Mukherjee. Stat. Methods Appl. 2025, 34, 767–785. [Google Scholar] [CrossRef]
  18. Liang, H.; Feng, Y.; Zhang, Y.; Qiao, X.; Wang, Z.; Shan, T. A Segmented Sliding Window Reference Signal Reconstruction Method Based on Fuzzy C-Means. Remote Sens. 2024, 16, 1813. [Google Scholar] [CrossRef]
  19. Ni, H.; Meng, S.; Geng, X.; Li, P.; Li, Z.; Chen, X.; Wang, X.; Zhang, S. Time Series Modeling for Heart Rate Prediction: From ARIMA to Transformers. arXiv 2024, arXiv:2406.12199. [Google Scholar] [CrossRef]
  20. Rodrigues, F.; Pereira, J.; Torres, A.; Madureira, A. Deep learning for predicting respiratory rate from physiological signals. Procedia Comput. Sci. 2024, 237, 759–766. [Google Scholar] [CrossRef]
  21. Moradi, N. Time-Series Forecasting of ECG and EOG Signals in EEG Recordings A Multivariate Time Series Approach. Ph.D. Thesis, Bishop’s University, Sherbrooke, QC, Canada, 2024. [Google Scholar]
  22. Preethichandra, D.; Piyathilaka, L.; Izhar, U.; Samarasinghe, R.; De Silva, L.C. Wireless body area networks and their applications—A review. IEEE Access 2023, 11, 9202–9220. [Google Scholar] [CrossRef]
  23. Hassan, W.H.W.; Ali, D.M.; Sultan, J.M.; Kassim, M. A review of wireless body area networks. Indones. J. Electr. Eng. Comput. Sci. 2024, 33, 167–178. [Google Scholar] [CrossRef]
  24. Quan, Q.; Tang, F.; Xu, Z.; Zhu, H.; Zhou, S.K. Slide-SAM: Medical SAM Meets Sliding Window. arXiv 2024, arXiv:2311.10121. [Google Scholar] [CrossRef]
  25. Bala, B.; Behal, S. A brief survey of data preprocessing in machine learning and deep learning techniques. In Proceedings of the 2024 8th International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud)(I-SMAC); IEEE: New York, NY, USA, 2024; pp. 1755–1762. [Google Scholar]
  26. Johnson, A.E.W.; Pollard, T.J.; Shen, L.; Lehman, L.-w.H.; Feng, M.; Ghassemi, M.; Moody, B.; Szolovits, P.; Celi, L.A.; Mark, R.G. MIMIC-III, a Freely Accessible Critical Care Database. Sci. Data 2016, 3, 160035. [Google Scholar] [CrossRef]
  27. Hall, J.E. Guyton and Hall Textbook of Medical Physiology; Elsevier: Amsterdam, The Netherlands, 2015. [Google Scholar]
  28. Williams, B.; Mancia, G.; Spiering, W.; Agabiti Rosei, E.; Azizi, M.; Burnier, M.; Clement, D.L.; Coca, A.; de Simone, G.; Dominiczak, A.; et al. 2018 ESC/ESH Guidelines for the management of arterial hypertension. Eur. Heart J. 2018, 39, 3021–3104. [Google Scholar] [CrossRef] [PubMed]
  29. Surawicz, B.; Childers, R.; Deal, B.J.; Gettes, L.S.; Bailey, J.J.; Gorgels, A.; Hancock, E.W.; Josephson, M.; Kligfield, P.; Kors, J.A.; et al. AHA/ACCF/HRS recommendations for the standardization and interpretation of the electrocardiogram. J. Am. Coll. Cardiol. 2009, 53, 976–981. [Google Scholar] [CrossRef]
  30. Rüdiger, A.; Singer, M. Respiratory rate: The neglected vital sign. Emerg. Med. J. 2013, 30, e1. [Google Scholar]
  31. Association, A.D. Classification and diagnosis of diabetes: Standards of Medical Care in Diabetes—2019. Diabetes Care 2019, 42, S13–S28. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Strong WBAN degradation model applied to multivariate physiological signals. Stacked time-series representation of six physiological signals (temperature, heart rate, SpO2, systolic BP, diastolic BP, and respiratory rate) after applying the proposed strong WBAN degradation model. Each panel shows approximately 10 min of simulated 1 Hz streaming data. The degradation includes (i) burst and random missingness (visible as gaps), (ii) additive Gaussian noise, (iii) low-frequency baseline wander, (iv) impulse spikes simulating motion artifacts, (v) progressive drift across windows, (vi) nonlinear soft clipping near physiological bounds to emulate sensor saturation, and (vii) quantization effects due to limited sensor resolution. The resulting signals exhibit realistic WBAN failure patterns such as abrupt amplitude distortions, temporal discontinuities, and nonlinear compression near clinical limits. High-variability signals (e.g., heart rate and systolic BP) demonstrate pronounced spikes and drift, while relatively stable signals (e.g., SpO2 and temperature) show subtle clipping and quantization artifacts. This harsh degradation regime is intentionally designed to stress-test the robustness of selective gated restoration (spline-only vs. KF vs. EKF) and to clearly differentiate reconstruction performance under nonlinear and burst-error conditions.
Figure 1. Strong WBAN degradation model applied to multivariate physiological signals. Stacked time-series representation of six physiological signals (temperature, heart rate, SpO2, systolic BP, diastolic BP, and respiratory rate) after applying the proposed strong WBAN degradation model. Each panel shows approximately 10 min of simulated 1 Hz streaming data. The degradation includes (i) burst and random missingness (visible as gaps), (ii) additive Gaussian noise, (iii) low-frequency baseline wander, (iv) impulse spikes simulating motion artifacts, (v) progressive drift across windows, (vi) nonlinear soft clipping near physiological bounds to emulate sensor saturation, and (vii) quantization effects due to limited sensor resolution. The resulting signals exhibit realistic WBAN failure patterns such as abrupt amplitude distortions, temporal discontinuities, and nonlinear compression near clinical limits. High-variability signals (e.g., heart rate and systolic BP) demonstrate pronounced spikes and drift, while relatively stable signals (e.g., SpO2 and temperature) show subtle clipping and quantization artifacts. This harsh degradation regime is intentionally designed to stress-test the robustness of selective gated restoration (spline-only vs. KF vs. EKF) and to clearly differentiate reconstruction performance under nonlinear and burst-error conditions.
Sensors 26 01684 g001
Figure 2. Clean versus corrupted WBAN vital signs for a single sliding window (50 samples). Comparison between clean and artificially corrupted WBAN vital signs within a single sliding window (50 samples), where corruption is injected to simulate sensor noise and transmission artifacts. The figure illustrates how corruption propagates across physiological signals, causing abrupt spikes, amplitude distortion, and temporal inconsistencies, particularly evident in heart rate, blood pressure, and glucose measurements, while low-variance signals such as temperature and S p O 2 remain relatively stable.
Figure 2. Clean versus corrupted WBAN vital signs for a single sliding window (50 samples). Comparison between clean and artificially corrupted WBAN vital signs within a single sliding window (50 samples), where corruption is injected to simulate sensor noise and transmission artifacts. The figure illustrates how corruption propagates across physiological signals, causing abrupt spikes, amplitude distortion, and temporal inconsistencies, particularly evident in heart rate, blood pressure, and glucose measurements, while low-variance signals such as temperature and S p O 2 remain relatively stable.
Sensors 26 01684 g002
Figure 3. Visual sequence illustrating the progressive signal refinement for a simulated temperature signal. Raw temperature measurements containing missing samples and acquisition noise. Data gaps and abrupt deviations simulate real-world WBAN sensor failures and packet loss, highlighting the necessity of interpolation and filtering prior to downstream analysis.
Figure 3. Visual sequence illustrating the progressive signal refinement for a simulated temperature signal. Raw temperature measurements containing missing samples and acquisition noise. Data gaps and abrupt deviations simulate real-world WBAN sensor failures and packet loss, highlighting the necessity of interpolation and filtering prior to downstream analysis.
Sensors 26 01684 g003
Figure 4. Comparison of corrupted signals and adaptive-filtered outputs within one sliding window. Effect of adaptive filtering on corrupted WBAN vital signs over a single sliding window (50 samples). The adaptive filtering stage significantly suppresses noise-induced fluctuations while preserving underlying physiological trends. High-variance signals (heart rate, glucose, and systolic pressure) exhibit notable smoothing and stabilization, demonstrating the robustness of the adaptive filter against signal corruption.
Figure 4. Comparison of corrupted signals and adaptive-filtered outputs within one sliding window. Effect of adaptive filtering on corrupted WBAN vital signs over a single sliding window (50 samples). The adaptive filtering stage significantly suppresses noise-induced fluctuations while preserving underlying physiological trends. High-variance signals (heart rate, glucose, and systolic pressure) exhibit notable smoothing and stabilization, demonstrating the robustness of the adaptive filter against signal corruption.
Sensors 26 01684 g004
Figure 5. Before/after adaptive gating with highlighted corrected samples. Illustration of adaptive gating applied to corrupted WBAN signals, highlighting samples identified as unreliable or anomalous. The gating mechanism selectively attenuates corrupted segments while retaining clinically meaningful dynamics. Highlighted samples indicate regions where adaptive correction was activated, demonstrating effective noise isolation without excessive signal distortion.
Figure 5. Before/after adaptive gating with highlighted corrected samples. Illustration of adaptive gating applied to corrupted WBAN signals, highlighting samples identified as unreliable or anomalous. The gating mechanism selectively attenuates corrupted segments while retaining clinically meaningful dynamics. Highlighted samples indicate regions where adaptive correction was activated, demonstrating effective noise isolation without excessive signal distortion.
Sensors 26 01684 g005
Figure 6. ARIMA forecasting result for one sliding window of size 50. Short-term forecasting of adaptive-filtered WBAN vital signs using an ARIMA(1,1,1) model. Historical data (50 samples) are used to predict future trends, shown beyond the vertical dashed line. The forecasts exhibit smooth continuation of physiological patterns, indicating that preprocessing enhances temporal coherence and improves time-series predictability across all vital signs.
Figure 6. ARIMA forecasting result for one sliding window of size 50. Short-term forecasting of adaptive-filtered WBAN vital signs using an ARIMA(1,1,1) model. Historical data (50 samples) are used to predict future trends, shown beyond the vertical dashed line. The forecasts exhibit smooth continuation of physiological patterns, indicating that preprocessing enhances temporal coherence and improves time-series predictability across all vital signs.
Sensors 26 01684 g006
Figure 7. ARIMA forecasting result for one sliding window of size 50.
Figure 7. ARIMA forecasting result for one sliding window of size 50.
Sensors 26 01684 g007
Figure 8. Normalized risk scores across multiple sliding windows for selected vital signs.
Figure 8. Normalized risk scores across multiple sliding windows for selected vital signs.
Sensors 26 01684 g008
Table 1. Comparative analysis of signal preprocessing approaches in WBAN and physiological monitoring.
Table 1. Comparative analysis of signal preprocessing approaches in WBAN and physiological monitoring.
WorkMissing DataNoiseSuppressionBurst HandlingSelective ProcessingMulti-Stage PipelineReal-Time WBAN Focus
Mishra et al. (2024) [13]×××××
Benchekroun et al. (2024) [10]×××××
Yao et al. (2024) (EKF) [11]×Limited××
Wang et al. (HRTS) [14]×××××
Liang et al. (Sliding Window) [18]Limited×Partial
Taassori & Vizvári (2024) [16] (Hybrid Kalman + NLM)×××Partial×
Multi-Resolution Local Clustering (2024) [17]×××Partial×
Proposed Framework
✓ indicates supported functionality, × indicates not supported, and “Limited” indicates partial capability.
Table 2. Comparative analysis of forecasting and clinical-aware risk assessment.
Table 2. Comparative analysis of forecasting and clinical-aware risk assessment.
WorkForecastingAdaptive per WindowUncertaintyClinical ThresholdsRisk AggregationEarly-Warning Metrics
Ni et al. (2024) [19]××××
Rodrigues et al. (2024) [20]✓ (Deep)×Limited×××
Yuvaraja et al. (2024) [12]××××××
Preethichandra et al. (2024) [22]××××××
Proposed Framework
✓ indicates supported functionality, × indicates not supported, and “Limited” indicates partial capability.
Table 3. Summary of methodology stages and their impact.
Table 3. Summary of methodology stages and their impact.
StageTechniques UsedImpact and Contribution
1. Data Acquisition and Segmentation
  • Acquisition of continuous physiological streams from WBAN sensors.
  • Overlap-aware sliding-window mechanism.
  • Establishes the foundation for real-time monitoring by providing realistic degraded data.
  • Enables low-latency, dynamic analysis of physiological data, crucial for WBAN constraints.
  • Supports adaptive learning and responsiveness to rapid changes by processing data in discrete, overlapping frames.
2. Multi-Stage Signal Preprocessing
  • Cubic spline interpolation for missing values.
  • Extended Kalman filter (EKF) for nonlinear noise suppression.
  • Conservative local smoothing for temporal coherence.
  • Reconstructs missing data without introducing artificial trends, ensuring signal continuity.
  • Robustly reduces high-frequency and nonlinear noise, enhancing signal fidelity.
  • Provides retrospectively refined state estimates, improving the accuracy of physiological trend representation within each window.
3. Physiological Trend Forecasting
  • AutoRegressive Integrated Moving Average (ARIMA) model.
  • Captures both short-term patterns and integrated long-term dependencies in physiological signals.
  • Enables reliable short-term prediction of future physiological states, crucial for proactive interventions.
4. Clinical-Aware Risk Assessment
  • Clinical-aware deviation scoring.
  • Risk score clipping.
  • Blends statistical anomaly detection with deviation from clinically defined safe bounds, prioritizing patient safety.
  • Ensures balanced influence of heterogeneous physiological features on overall risk assessment, facilitating robust multi-modal decision support.
Table 4. Default gating parameters used in experiments.
Table 4. Default gating parameters used in experiments.
ParameterMeaningValue
κ j IQR fence multiplier (outlier sensitivity) 1.5 (all signals)
δ Gate expansion width (samples)2 samples ( ± 2 s at 1 Hz)
T gap Max gap for spline interpolation5 s
η Spike threshold multiplier for MADe.g., 3
Table 5. Clinical reference ranges ( L j , U j ) for common vital signs used in deviation and risk calculation.
Table 5. Clinical reference ranges ( L j , U j ) for common vital signs used in deviation and risk calculation.
Vital SignLower Bound L j Upper Bound U j
SpO2 (%)95100
Heart Rate (bpm)60100
Respiratory Rate (breaths/min)1220
Body Temperature (°C)36.137.2
Systolic Blood Pressure (mmHg)90120
Diastolic Blood Pressure (mmHg)6080
Blood Glucose (mg/dL)70140
Table 10. Statistical significance of MSE improvements across preprocessing stages (paired tests on N = 997 randomly sampled windows per signal).
Table 10. Statistical significance of MSE improvements across preprocessing stages (paired tests on N = 997 randomly sampled windows per signal).
Vital SignComparisonPaired t-Test p-ValueWilcoxon p-Value
Heart RateCorrupted Raw vs. Interpolated0.0030.005
Interpolated vs. EKF<0.001<0.001
EKF vs. Smoothing<0.001<0.001
SpO2Corrupted Raw vs. Interpolated0.0080.012
Interpolated vs. EKF<0.001<0.001
EKF vs. Smoothing<0.001<0.001
Systolic BPCorrupted Raw vs. Interpolated0.0020.004
Interpolated vs. EKF<0.001<0.001
EKF vs. Smoothing<0.001<0.001
Diastolic BPCorrupted Raw vs. Interpolated0.0050.007
Interpolated vs. EKF<0.001<0.001
EKF vs. Smoothing<0.001<0.001
Body TemperatureCorrupted Raw vs. Interpolated0.0110.015
Interpolated vs. EKF<0.001<0.001
EKF vs. Smoothing<0.001<0.001
Respiratory RateCorrupted Raw vs. Interpolated0.0070.009
Interpolated vs. EKF<0.001<0.001
EKF vs. Smoothing<0.001<0.001
Blood GlucoseCorrupted Raw vs. Interpolated0.0030.125
Interpolated vs. EKF<0.001<0.001
EKF vs. Smoothing<0.001<0.001
Table 11. Sensitivity analysis of gating hyperparameters. RMSE is range-normalized (average across signals) as in Table 7. Forecast MAE is reported for the heart rate signal as a representative case study (in BPM).
Table 11. Sensitivity analysis of gating hyperparameters. RMSE is range-normalized (average across signals) as in Table 7. Forecast MAE is reported for the heart rate signal as a representative case study (in BPM).
κ δ ρ avg RMSEForecast MAERuntime (s)
1.020.343.725.613.21
1.520.213.975.482.79
2.020.144.215.892.52
1.500.114.586.222.35
1.550.293.845.413.48
Table 12. ARIMA forecasting evaluation metrics per vital sign (one-step-ahead, 10 s horizon, gated EKF input). Window-MAE and slope error are in native signal units. Directional accuracy, early-warning rate, and actual event rate are dimensionless proportions. Risk error is in [ 0 ,   1 ] scale. Wilcoxon p-values test forecast vs. actual distributions across N = 997 sampled windows.
Table 12. ARIMA forecasting evaluation metrics per vital sign (one-step-ahead, 10 s horizon, gated EKF input). Window-MAE and slope error are in native signal units. Directional accuracy, early-warning rate, and actual event rate are dimensionless proportions. Risk error is in [ 0 ,   1 ] scale. Wilcoxon p-values test forecast vs. actual distributions across N = 997 sampled windows.
Vital SignWindow-MAEDir. AccuracySlope ErrorRisk ErrorEarly-Warning RateActual Event RateWilcoxon p
Heart Rate (BPM)12.310.670.420.210.010.180.003
SpO2 (%)2.330.680.090.570.050.120.041
Systolic BP (mmHg)17.780.650.580.640.100.450.011
Diastolic BP (mmHg)10.420.660.380.700.080.350.069
Respiratory Rate (br/min)3.150.700.140.110.971.000.406
Body Temperature (°C)0.820.660.030.330.150.220.028
Blood Glucose (mg/dL)22.470.650.710.450.040.300.008
Table 13. Comparison of reconstruction fidelity and forecasting error per vital sign. “MSE (Adaptive Filtered vs. GT)” is the reconstruction MSE from the gated-smoothed signal (Table 9, Smoothing column). “Forecast Error (ARIMA Window-MAE)” is the across-window mean absolute forecast error from Table 12. The gap between the two reflects the intrinsic difficulty of predicting future states relative to reconstructing past signals.
Table 13. Comparison of reconstruction fidelity and forecasting error per vital sign. “MSE (Adaptive Filtered vs. GT)” is the reconstruction MSE from the gated-smoothed signal (Table 9, Smoothing column). “Forecast Error (ARIMA Window-MAE)” is the across-window mean absolute forecast error from Table 12. The gap between the two reflects the intrinsic difficulty of predicting future states relative to reconstructing past signals.
Vital SignMSE (Adaptive Filtered vs. GT)Forecast Error (ARIMA Window-MAE)
Heart Rate (BPM)856.3312.31
SpO2 (%)30.202.33
Systolic BP (mmHg)2331.8417.78
Diastolic BP (mmHg)832.0110.42
Respiratory Rate (br/min)68.773.15
Body Temperature (°C)8.110.82
Blood Glucose (mg/dL)1634.6722.47
Table 14. Per-signal and global clinical event detection performance.
Table 14. Per-signal and global clinical event detection performance.
Signal/Level τ TPRTNRFPRFNRBalanced AccYouden J
Per-Signal Modality-Level Performance
Respiratory Rate0.151.0000.7030.2970.0000.8520.703
Body Temperature0.550.3050.8600.1400.6950.5830.165
Systolic BP0.451.0000.1290.8710.0000.5650.129
Diastolic BP0.500.9050.2110.7890.0950.5580.116
Heart Rate0.750.0501.0000.0000.9500.5250.050
SpO20.900.0501.0000.0000.9500.5250.050
Blood Glucose0.750.0501.0000.0000.9500.5250.050
Global Multi-Modal System-Level Performance (Micro-Averaged)
Aggregated Risk (All Signals)0.890.920.080.110.9050.81
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Alghamdi, F.; Bajaber, F. Real-Time WBAN Monitoring: An Adaptive Framework for Selective Signal Restoration and Physiological Trend Prediction. Sensors 2026, 26, 1684. https://doi.org/10.3390/s26051684

AMA Style

Alghamdi F, Bajaber F. Real-Time WBAN Monitoring: An Adaptive Framework for Selective Signal Restoration and Physiological Trend Prediction. Sensors. 2026; 26(5):1684. https://doi.org/10.3390/s26051684

Chicago/Turabian Style

Alghamdi, Fatimah, and Fuad Bajaber. 2026. "Real-Time WBAN Monitoring: An Adaptive Framework for Selective Signal Restoration and Physiological Trend Prediction" Sensors 26, no. 5: 1684. https://doi.org/10.3390/s26051684

APA Style

Alghamdi, F., & Bajaber, F. (2026). Real-Time WBAN Monitoring: An Adaptive Framework for Selective Signal Restoration and Physiological Trend Prediction. Sensors, 26(5), 1684. https://doi.org/10.3390/s26051684

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop