Orchestrating TinyML Soft Sensors With Data Streams: A Hybrid Cloud‐Edge Architecture for IoT Scenarios
ABSTRACT Background The deployment of soft sensors, data‐based models that estimate unobservable or costly variables from available sensor data, remains limited in IoT infrastructures by the resource constraints of IoT devices and the complexity of managing model lifecycles at scale. Objective This work presents a novel architecture that enables the end‐to‐end transformation, distribution and execution of soft sensors on IoT embedded devices. Methods The proposed approach leverages Kafka‐ML, a framework for managing ML models and data streams, which has been extended to orchestrate the end‐to‐end lifecycle of soft sensors in real time via IoT data streams. By enabling local inference on IoT devices, the system reduces reliance on cloud connectivity during operation: while initial deployment, model updates, and lifecycle orchestration via Kafka‐ML require network access, local inference allows the estimation of complex variables even when subsequent connectivity is unreliable or intermittent. The approach has been evaluated in two representative scenarios, non‐intrusive load monitoring (NILM) and water quality monitoring, each with different demands regarding communications overhead and accuracy. Results The automated quantization pipeline yields negligible accuracy degradation for the NILM scenario (MAE shifted from 2.836 to 2.837) and an acceptable performance trade‐off for water quality monitoring (MAE rose from 0.53 to 0.82 mg/L), while reducing inference latency by up to 4.6× compared to remote inference. Conclusions These results demonstrate the framework's capability to automate the deployment of distributed, autonomous, and privacy‐preserving soft sensors across heterogeneous monitoring scenarios.
Authors
- Adnan Shahid (ORCID: https://orcid.org/0000-0003-1943-6261)
- Antonio Jesús Chaves (ORCID: https://orcid.org/0000-0002-4523-7461)
- Cristian Martín (ORCID: https://orcid.org/0000-0003-0988-591X)
- Manuel Díáz (ORCID: https://orcid.org/0000-0002-0625-2730)
Institutions
- Ghent University (BE)
- iMinds (BE)
- Universidad de Málaga (ES)
Publication Details
- Journal
- Software Practice and Experience
- Published
- 2026-10-19
- DOI
- https://doi.org/10.1002/spe.70119
- Primary Topic
- IoT and Edge/Fog Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.00