TSGuard: A Real-Time Framework for Detecting and Imputing Missing Data in Streaming Time Series
Organizations: University of Luxembourg Luxembourg · Hassiba Benbouali University of Chlef Algeria · Université Paris Cité France · École Supérieure d’Informatique Algeria
Abstract
Streaming sensor applications routinely suffer from delayed or missing observations caused by faults, communication losses, or environmental interference. Although recent imputation methods exploit temporal and spatial dependencies effectively, most either assume offline access to future observations or prioritize throughput without enforcing domain plausibility. We present TSGuard, a real-time demonstration system for monitoring, validating, and imputing missing values in streaming time series. TSGuard combines a lightweight graph-aware temporal imputation model with constraint-aware validation, fallback estimation, and operator-facing explanations. Rather than treating imputation as an isolated prediction task, TSGuard integrates it into a broader data-quality loop: detect problematic observations, impute missing values, validate estimated against physical and spatial constraints, and either retain the original value as a plausible anomaly or replace it when it violates domain constraints. Using environmental sensing as a motivating setting, the demo enables users to inspect delayed sensors, compare imputers, define constraints, and validate flagged values in real time. The combination of lightweight online spatiotemporal imputation, domain-aware validation, and explicit retain-or-replace decisions is our central contribution, while interactive explanations make these decisions inspectable and actionable. for operators.
Figures & tables
| Method | MAE | RMSE | Relative Speed | Latency (ms) |
|---|---|---|---|---|
| PriSTI ( Liu et al., 2023 ) | 9.03 | 17.62 | - | - |
| PriSTI-ON | 75.23 | 111.67 | 0.01 | 6000 |
| ORBITS ( Khayati et al., 2020 ) | 18.16 | 29.35 | 1.2 | 50 |
| TSGuard | 16.13 | 28.37 | 1 | 60 |
Time Series Imputation
Time series imputation reconstructs missing observations in sequential data using temporal, cross-variable, and domain-specific patterns.
See all 58 papers