Tureis: Transformer-based Unified Resilience for IoT Devices in Smart Homes
Organizations: University of Maryland, College Park, MD, USA · Google, Manhattan, NY, USA
Abstract
Smart-home IoT systems rely on heterogeneous sensor networks whose correctness shapes application behavior and the physical environment. However, these low-cost, resource-constrained sensors are highly prone to failure under real-world stressors. Prior methods often assume single-failure, single-resident settings, offer only failure detection rather than sensor-level localization, cover limited fault types and sensor modalities, require labels and human intervention, or impose overheads hindering edge deployment. To overcome these limitations, we propose Tureis, a self-supervised, context-aware method for failure detection and faulty-sensor localization in smart homes, designed for multi-failure, multi-resident edge settings. Tureis encodes heterogeneous binary and numeric sensor streams into compact bit-level features. It then trains a lightweight BERT-style Transformer with sensor-wise masked reconstruction over short-horizon windows, capturing spatial and short-term temporal correlations without mixing unrelated events. This self-supervised objective removes the need for labels or curated semantics. Then, at run-time, Tureis converts reconstruction residuals into sensor-level failure evidence and uses an iterative isolate-and-continue loop that masks flagged sensors, allowing other failures to surface and enabling resilient, fine-grained localization. Across five datasets with up to nine residents, Tureis improves single-failure localization F1 by +7.6%, +21.0%, and +25.0% over three strong baselines. In multi-failure scenarios with up to five faulty sensors, it further boosts localization F1 by +17.6% and +35.4% over two baselines, while the third does not extend to this setting. These gains come with minute-scale localization and an edge-friendly footprint, as a sub-megabyte model that processes each minute of data in a few milliseconds with ~0.5 GB peak memory on a Raspberry Pi 5.
Figures & tables
| Work | Domain | Lightweight | Multi-failure | Multi-resident | Fail-stop | Outlier | Spike | Stuck-at | High-noise | Drift | Localization | Heterogeneous | Unlabeled | Method |
| Mallick et al. [ 25 ] | SH | ◐ | SEM (Freq. Itemsets + Spatiotemp. Rules) | |||||||||||
| ElHady et al. [ 12 ] | SH | ● | SEM (Assoc. Rule Mining) | |||||||||||
| Fu et al. [ 15 ] | SH | ○ | SEM (Semantic Corr. + Shadow Exec.) | |||||||||||
| Nguyen et al. [ 27 ] | SH | ● | SEM (Spatial/Depend. Corr.) | |||||||||||
| Li et al. [ 23 ] | SH | ● | SEM (GNN + Attn.) | |||||||||||
| Xiao et al. [ 33 ] | SH | ◐ | SEM (Transformer + Loss-Guided Mask) |