From ML2 to ML2+: Integrating Time Series Forecasting in Model-Driven Engineering of Smart IoT Applications

Zahra Mardani Korani, Zahra Mardani Korani, Moharram Challenger, Armin Moin, João Carlos Ferreira, Alberto Rodrigues da Silva, Gonçalo Vitorino Jesus, Elsa Lourenço Alves, Ricardo Correia

2025

Abstract

Time-series forecasting is essential for anomaly detection, predictive maintenance, and real-time optimization in IoT environments, where sensor data is sequential. However, most model-driven engineering (MDE) frameworks lack specialized mechanisms to capture temporal dependencies, restricting the creation of intelligent and adaptive IoT systems. IoT inherently involves sequential data, yet most frameworks do not support time-series forecasting, essential for real-world systems. This paper presents ML2+, an enhanced version of the ML-Quadrat framework that integrates software engineering (SE) with machine learning (ML) in model-driven engineering. ML2+ allows users to define models, things, and messages for time-series forecasting. We evaluated ML2+ through two IoT use cases, focusing on development time, performance metrics, and lines of code (LOC). Results show that ML2+ maintains prediction accuracy similar to manual coding while significantly reducing development time by automating tedious tasks for developers. By automating feature engineering, model training, and evaluation for time-series data, ML2+ streamlines forecasting, improving scalability. ML2+ supports various forecasting models, including deep learning, statistical, and hybrid models. It offers preprocessing capabilities such as handling missing data, creating lagged features, and detecting data seasonality. The tool automatically generates code for time-series forecasting, making it easier for developers to train and deploy ML models without coding.

Download


Paper Citation


in Harvard Style

Korani Z., Challenger M., Moin A., Ferreira J., Rodrigues da Silva A., Jesus G., Alves E. and Correia R. (2025). From ML2 to ML2+: Integrating Time Series Forecasting in Model-Driven Engineering of Smart IoT Applications. In Proceedings of the 13th International Conference on Model-Based Software and Systems Engineering - Volume 1: MBSE-AI Integration; ISBN 978-989-758-729-0, SciTePress, pages 458-465. DOI: 10.5220/0013443200003896


in Bibtex Style

@conference{mbse-ai integration25,
author={Zahra Korani and Moharram Challenger and Armin Moin and João Ferreira and Alberto Rodrigues da Silva and Gonçalo Jesus and Elsa Alves and Ricardo Correia},
title={From ML2 to ML2+: Integrating Time Series Forecasting in Model-Driven Engineering of Smart IoT Applications},
booktitle={Proceedings of the 13th International Conference on Model-Based Software and Systems Engineering - Volume 1: MBSE-AI Integration},
year={2025},
pages={458-465},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0013443200003896},
isbn={978-989-758-729-0},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 13th International Conference on Model-Based Software and Systems Engineering - Volume 1: MBSE-AI Integration
TI - From ML2 to ML2+: Integrating Time Series Forecasting in Model-Driven Engineering of Smart IoT Applications
SN - 978-989-758-729-0
AU - Korani Z.
AU - Challenger M.
AU - Moin A.
AU - Ferreira J.
AU - Rodrigues da Silva A.
AU - Jesus G.
AU - Alves E.
AU - Correia R.
PY - 2025
SP - 458
EP - 465
DO - 10.5220/0013443200003896
PB - SciTePress