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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Orchestrating TinyML Soft Sensors With Data Streams: A Hybrid Cloud‐Edge Architecture for IoT Scenarios

Adnan Shahid, Antonio Jesús Chaves, Cristian Martín, Manuel Díáz
Software Practice and Experience
IoT and Edge/Fog Computing
article

Orchestrating TinyML Soft Sensors With Data Streams: A Hybrid Cloud‐Edge Architecture for IoT Scenarios

Adnan Shahid, Antonio Jesús Chaves, Cristian Martín, Manuel Díáz
article en

Abstract

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.

Software Practice and Experience
Ghent University (BE), iMinds (BE), Universidad de Málaga (ES)
Openalex Percentile: Top 11%
IoT and Edge/Fog Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.