Real-time recognition of multivariate event-based time series on embedded devices using recurrent neural networks: A practical study

Real-time time-series recognition on embedded devices remains challenging due to limited computational resources and memory capacity, but also because of the operational constraints imposed by randomly triggered, event-driven sensing applications with variable duration. Most deep learning approaches rely on offline processing, complete-sequence inference, and pre-established deployment frameworks. In contrast, hardware-aware design along with recurrent architectures can distribute inference across the time-series evolution, enabling low latency solutions that better suit time-critical applications. This work combines recurrent neural networks with gated units and microcontroller-oriented processing to enable multivariate, event-based classification directly on embedded hardware. On one hand, a peripheral-driven approach for acquisition, preprocessing, and sample-rate adaptation is introduced, including real-time dynamic linearization and normalization strategies for incomplete time series. On the other hand, a lightweight deep recurrent architecture is tailored to the characteristics of each input and extended with a multi-objective output. Additionally, a dedicated multi-label dataset together with an automated clustering and labelling methodology enables an event-based training strategy with shared objectives that ensures stable inference and efficient memory usage on the device. The proposed methodology was evaluated across different architectural configurations, identifying optimal trade-offs between computational cost and classification accuracy. The on-device implementation shows that 32-bit floating-point inference using the microcontroller Floating-Point Unit avoids additional compression while preserving up to 99% of the best model performance. The optimized kernel achieves a macro F1-score (average of per-class harmonic means of precision and recall) of 0.840, while real-time validation under real application conditions confirms robust operation with a macro F1-score of 0.898.

Authors

Institutions

Publication Details

Journal
Engineering Applications of Artificial Intelligence
Published
2026-08-04
DOI
https://doi.org/10.1016/j.engappai.2026.115787
Primary Topic
Time Series Analysis and Forecasting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Real-time recognition of multivariate event-based time series on embedded devices using recurrent neural networks: A practical study

Marcel Tresánchez, Tomàs Pallejà, Pau Gairí
Engineering Applications of Artificial Intelligence
Time Series Analysis and Forecasting
article

Real-time recognition of multivariate event-based time series on embedded devices using recurrent neural networks: A practical study

Marcel Tresánchez, Tomàs Pallejà, Pau Gairí
article en

Abstract

Real-time time-series recognition on embedded devices remains challenging due to limited computational resources and memory capacity, but also because of the operational constraints imposed by randomly triggered, event-driven sensing applications with variable duration. Most deep learning approaches rely on offline processing, complete-sequence inference, and pre-established deployment frameworks. In contrast, hardware-aware design along with recurrent architectures can distribute inference across the time-series evolution, enabling low latency solutions that better suit time-critical applications. This work combines recurrent neural networks with gated units and microcontroller-oriented processing to enable multivariate, event-based classification directly on embedded hardware. On one hand, a peripheral-driven approach for acquisition, preprocessing, and sample-rate adaptation is introduced, including real-time dynamic linearization and normalization strategies for incomplete time series. On the other hand, a lightweight deep recurrent architecture is tailored to the characteristics of each input and extended with a multi-objective output. Additionally, a dedicated multi-label dataset together with an automated clustering and labelling methodology enables an event-based training strategy with shared objectives that ensures stable inference and efficient memory usage on the device. The proposed methodology was evaluated across different architectural configurations, identifying optimal trade-offs between computational cost and classification accuracy. The on-device implementation shows that 32-bit floating-point inference using the microcontroller Floating-Point Unit avoids additional compression while preserving up to 99% of the best model performance. The optimized kernel achieves a macro F1-score (average of per-class harmonic means of precision and recall) of 0.840, while real-time validation under real application conditions confirms robust operation with a macro F1-score of 0.898.

Engineering Applications of Artificial IntelligenceVol. 182
Universitat de Lleida (ES), Instituto de Investigación Biomédica de Lleida (ES)
Openalex Percentile: Top 7%
Time Series Analysis and Forecasting
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.

Laika access coming soon