Design and Implementation of an LSTM Model with Embeddings on MCUs for Prediction of Meteorological Variables

The use of recurrent neural networks has proven effective in time series prediction tasks such as weather. However, their use in resource-limited systems such as MCUs presents difficulties in terms of both size and stability with longer prediction windows. In this context, we propose a variant of the LSTM model, which we call SE-LSTM (Single Embedding LSTM), which uses embedding techniques to vectorially represent seasonality and latent patterns through variables such as temperature and humidity. The proposal is systematically compared in two parts: The first compares it against other reference architectures such as CNN-LSTM, TCN, LMU, and TPA-LSTM. The second stage, which includes implementation, compares it against the CNN-LSTM, LSTM, and TCN networks. Metrics such as the MAE and MSE are used along with the network weight, a crucial aspect for MCUs such as an ESP32 or Raspberry Pi Pico. An analysis of the memory usage, energy consumption, and generalization across different regions is also included. The results show that the use of embedding optimizes the network space without sacrificing the performance, which is crucial for edge computing. This research is part of a larger project, which focuses on improving agricultural monitoring systems.

Authors

Institutions

Publication Details

Journal
Sensors
Published
2025-06-07
DOI
https://doi.org/10.3390/s25123601
Citations
1
Primary Topic
Air Quality Monitoring and Forecasting
Type
article
Field-Weighted Citation Impact
0.80
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Design and Implementation of an LSTM Model with Embeddings on MCUs for Prediction of Meteorological Variables

Andrés Ortiz Salazar, German Alberto Echaiz Espinoza, Daniel Yanyachi, Manuel Alejandro Valderrama Solis et al.
1 citations
Sensors
Air Quality Monitoring and Forecasting
0.80
article

Design and Implementation of an LSTM Model with Embeddings on MCUs for Prediction of Meteorological Variables

Andrés Ortiz Salazar, German Alberto Echaiz Espinoza, Daniel Yanyachi, Manuel Alejandro Valderrama Solis, David Juan Cerezo Quina, Jhan Piero Paulo Merma Yucra
article en
1 citations

Abstract

The use of recurrent neural networks has proven effective in time series prediction tasks such as weather. However, their use in resource-limited systems such as MCUs presents difficulties in terms of both size and stability with longer prediction windows. In this context, we propose a variant of the LSTM model, which we call SE-LSTM (Single Embedding LSTM), which uses embedding techniques to vectorially represent seasonality and latent patterns through variables such as temperature and humidity. The proposal is systematically compared in two parts: The first compares it against other reference architectures such as CNN-LSTM, TCN, LMU, and TPA-LSTM. The second stage, which includes implementation, compares it against the CNN-LSTM, LSTM, and TCN networks. Metrics such as the MAE and MSE are used along with the network weight, a crucial aspect for MCUs such as an ESP32 or Raspberry Pi Pico. An analysis of the memory usage, energy consumption, and generalization across different regions is also included. The results show that the use of embedding optimizes the network space without sacrificing the performance, which is crucial for edge computing. This research is part of a larger project, which focuses on improving agricultural monitoring systems.

SensorsVol. 25(12)
Universidad Nacional de San Agustin de Arequipa (PE), Universidade Federal do Rio Grande do Norte (BR)
Openalex Percentile: Top 29%
Air Quality Monitoring and Forecasting
0.80
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.