Tureis: T ransformer-based U nified Re silience for I oT Devices in S mart Homes

Alireza Borhani 1 Vafa Andalibi 2 , Bahar Asgari 1 · 2026

Read Tureis: T ransformer-based U nified Re silience for I oT Devices in S mart Homes by Alireza Borhani 1 Vafa Andalibi 2 , Bahar Asgari 1 (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-10038.txt.

Introduction

Alireza Borhani, Vafa Andalibi and Bahar Asgari present Tureis, a self supervised method for finding faulty sensors in smart homes. Cheap home sensors fail often, and past tools assume single faults, need labels or miss which sensor broke. Tureis compresses mixed binary and numeric streams, then trains a small transformer to rebuild masked sensor windows. At run time, rebuild errors point to the faulty sensors, even with several failures at once.

Catalog record

CREATORAlireza Borhani 1 Vafa Andalibi 2 , Bahar Asgari 1
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE64218
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2603.10038

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Tureis: T ransformer-based U nified Re silience for I oT Devices in S mart Homes Alireza Borhani 1 Vafa Andalibi 2 , Bahar Asgari 1 Abstract Smart-home IoT deployments rely on heterogeneous sensor networks whose correctness shapes application behavior and the physical environment. However, these sensors are low-cost and resource-constrained, and exposure to environmental stressors makes them highly prone to failure. Despite recent progress, existing methods remain limited: many assume single-failure, single-resident settings, offer only failure detection rather than sensor-level localization, or cover only a narrow range of fault types and sensor modalities. Others depend on labeled data and human intervention, or introduce substantial resource overhead that precludes deployment on resource-constrained edge devices. To overcome these limitations, we propose Tureis , a fully self-supervised, context-aware method for failure detection and faulty-sensor localization in smart homes, designed for multi-failure, multi-resident deployments on edge devices. 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 in unrelated events. This self-supervised objective eliminates the need for labels or curated semantics. Then, at run-time, Tureis converts reconstruction residuals into sensor-level failure evidence and employs an iterative isolate-and-continue loop that masks flagged sensors. This iterative isolation allows additional failures to surface and enables resilient, fine-grained localization. Across five public smart-home datasets with up to nine residents, Tureis improves single-failure localization F1 score by + 7.6 % +7.6\% , + 21.0 % +21.0\% , and + 25.0 % +25.0\% over three strong baselines. In multi-failure scenarios with up to five simultaneous faulty sensors, it further increases the localization F1 score by + 17.6 % +17.6\% and + 35.4 % +35.4\% over two baselines, while the third baseline does not extend to this setting. These gains come with short, minute-scale localization times and an edge-friendly footprint, as a sub-megabyte model that processes each minute of data in only a few milliseconds while keeping peak memory usage at roughly 0.5 GB on a Raspberry Pi 5. † † aftertitle: I Introduction The Internet of Things (IoT) has rapidly evolved from pilots to large-scale deployments in smart homes, cities, and healthcare systems, with 43 billion IoT devices expected by 2030 [ 13 ] . As these environments scale, heterogeneous sensor networks grow from a few to hundreds of devices per site [ 5 , 29 ] , turning the sensing layer into a high volume data source whose correctness directly governs application behavior. IoT sensors are built from inexpensive electronic components, leading to limited durability and constrained resources that make them highly prone to failure [ 1 , 17 ] . In practice, wear out, battery issues, environmental stressors, and human factors commonly cause sensor failures [ 26 , 29 ] . These failures have consequences that extend into the physical environment [ 4 ] (e.g., a heater failing to turn off or a smoke detector suppressing alarms [ 15 ] ) undermining the dependability of the entire system. Among IoT environments, smart homes exemplify this challenge, with dense deployments of heterogeneous, low cost sensors such as motion detectors, door contacts, water leakage detectors, and temperature sensors. The diversity and scale of these deployments have made preserving correct sensor operation a key concern, motivating extensive work on detecting faulty sensors in smart homes [ 15 , 20 , 23 , 10 , 33 , 2 , 12 , 6 , 27 , 25 , 4 ] . None of the existing methods, however, is comprehensive and suitable for deployment across the broad scope of real-world smart-home IoT systems, for several reasons. (i) Many methods assume a single-failure setting and struggle under simultaneous multi-failure cases. (ii) They are often limited to homes with one or two residents and degrade under multi-resident settings. (iii) Several methods have a high computational footprint, making deployment on resource-constrained edge devices impractical, as these devices have limited memory, power, and computational resources [ 3 ] . (iv) They cover only a narrow range of fault types or (v) a limited set of sensor modalities, which limits their generality in heterogeneous homes. (vi) Methods often are detection-only and lack sensor-level localization, while localization is necessary to isolate and accommodate faulty sensors and to maintain resilient downstream operation by preventing cascading errors and incorrect actions [ 34 ] . Lastly, (vii) many methods require labels or human-provided semantics, which contradicts the IoT goal of eliminating human intermediaries [ 31 , 14 ] . Together, no prior work simultaneously meets all requirements (i)–(vii), which makes them inappropriate to use in smart-home environments. To address these limitations, we propose Tureis , a transformer-based context-aware method, for failure detection and faulty sensor localization in smart homes that meets all requirements (i)–(vii). Our central hypothesis is that a short-horizon, sensor-wise masked BERT-style Transformer is structurally well-suited to this problem for four reasons. First , smart-home sensors exhibit structured spatial (i.e., cross-sensor) and short-term temporal correlations, and many fault types do not yield large univariate deviations but instead violate these correlations. Self-attention inherently aggregates interactions across all sensors and time intervals within the context, and bidirectional self-attention leverages both preceding and subsequent intervals, effectively capturing spatiotemporal correlations of sensors. Second , multi-head self-attention factorizes interactions into a small number of correlation subspaces, and thus, in the multi-failure scenario, disruption in one subspace can be contrasted with stability in others, improving separability and yielding clean failure signals. Moreover, multiple layers compose the subspaces through depth, helping learn subtle spatiotemporal correlations that are easily diluted in multi-resident homes. Third , training with sensor-wise masked reconstruction makes localization the learning objective, and the transformer must reconstruct a masked sensor from its neighboring sensors and temporal context, requiring no labels or curated semantics. Then, the resulting per-sensor reconstruction loss serves as failure evidence, enabling faulty sensor localization rather than failure detection only. Fourth , training under sensor-wise masking enables an isolate-and-continue loop: once a sensor is located, it is masked going forward, keeping inputs in-distribution, suppressing interference from already-faulty sensors, and allowing additional failures to surface sequentially. Tureis first constructs compact, bit-level, early-fused features from raw, heterogeneous sensor streams, unifying diverse sensor channels into a common representation. These bit-level encodings reduce on-device data movement compared to floating-point representations, which are dominant contributors to energy use in IoT systems [ 19 , 18 ] . Then, Tureis trains a lightweight encoder-only BERT-style Transformer with sensor-wise masked reconstruction. Together, the bit-level early fusion and the lightweight Transformer encoder support multiple sensor types while keeping the resource footprint low. Finally, at run-time, it converts reconstruction residuals into per-sensor evidence and uses an isolate-and-continue loop to surface simultaneous failures. We evaluate Tureis on five public smart-home datasets with up to nine residents [ 7 , 30 ] , and compare it against three baselines, ThingsDND [ 4 ] , DICE [ 6 ] and Anomaly Transformer (AT) [ 35 ] . The results show that when there is one faulty sensor, Tureis raises the average F1 score for faulty sensor localization by +7.6\% , +25.0\% , and +21.0\% over ThingsDND, DICE, and AT, respectively. For multiple simultaneous failures, it improves the localization F1 score by +17.6\%

Read the complete text