{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,10]],"date-time":"2026-10-10T03:58:36Z","timestamp":1791604716294,"version":"4.3.4"},"reference-count":58,"publisher":"MDPI AG","issue":"3","license":[{"start":{"date-parts":[[2020,7,31]],"date-time":"2020-07-31T00:00:00Z","timestamp":1596153600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Computers"],"abstract":"<jats:p>Large scale deployments of Internet of Things (IoT) networks are becoming reality. From a technology perspective, a lot of information related to device parameters, channel states, network and application data are stored in databases and can be used for an extensive analysis to improve the functionality of IoT systems in terms of network performance and user services. LoRaWAN (Long Range Wide Area Network) is one of the emerging IoT technologies, with a simple protocol based on LoRa modulation. In this work, we discuss how machine learning approaches can be used to improve network performance (and if and how they can help). To this aim, we describe a methodology to process LoRaWAN packets and apply a machine learning pipeline to: (i) perform device profiling, and (ii) predict the inter-arrival of IoT packets. This latter analysis is very related to the channel and network usage and can be leveraged in the future for system performance enhancements. Our analysis mainly focuses on the use of k-means, Long Short-Term Memory Neural Networks and Decision Trees. We test these approaches on a real large-scale LoRaWAN network where the overall captured traffic is stored in a proprietary database. Our study shows how profiling techniques enable a machine learning prediction algorithm even when training is not possible because of high error rates perceived by some devices. In this challenging case, the prediction of the inter-arrival time of packets has an error of about 3.5% for 77% of real sequence cases.<\/jats:p>","DOI":"10.3390\/computers9030060","type":"journal-article","created":{"date-parts":[[2020,8,3]],"date-time":"2020-08-03T03:16:46Z","timestamp":1596424606000},"page":"60","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":32,"title":["Predicting LoRaWAN Behavior: How Machine Learning Can Help"],"prefix":"10.3390","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-9122-7993","authenticated-orcid":false,"given":"Francesca","family":"Cuomo","sequence":"first","affiliation":[{"name":"Department of Information Engineering, Electronics and Telecommunications, University of Rome \u201cLa Sapienza\u201d, Via Eudossiana 18, 00184 Rome, Italy"},{"name":"Consorzio Nazionale Interuniversitario per le Telecomunicazioni (CNIT), 43124 Parma, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6256-2752","authenticated-orcid":false,"given":"Domenico","family":"Garlisi","sequence":"additional","affiliation":[{"name":"Consorzio Nazionale Interuniversitario per le Telecomunicazioni (CNIT), 43124 Parma, Italy"},{"name":"Department of Engineering, University of Palermo, Viale delle Scienze Ed. 9, 90128 Palermo, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1730-5436","authenticated-orcid":false,"given":"Alessio","family":"Martino","sequence":"additional","affiliation":[{"name":"Department of Information Engineering, Electronics and Telecommunications, University of Rome \u201cLa Sapienza\u201d, Via Eudossiana 18, 00184 Rome, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Antonio","family":"Martino","sequence":"additional","affiliation":[{"name":"Department of Information Engineering, Electronics and Telecommunications, University of Rome \u201cLa Sapienza\u201d, Via Eudossiana 18, 00184 Rome, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2020,7,31]]},"reference":[{"key":"ref_1","unstructured":"LoRa Alliance Technical Committee (2020, July 31). LoRaWAN 1.1 Specification. Available online: https:\/\/lora-alliance.org\/resource-hub\/lorawantm-specification-v11."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Cuomo, F., Campo, M., Caponi, A., Bianchi, G., Rossini, G., and Pisani, P. (2017, January 9\u201311). EXPLoRa: Extending the performance of LoRa by suitable spreading factor allocations. Proceedings of the 2017 IEEE 13th International Conference on Wireless and Mobile Computing, Networking and Communications (WiMob), Rome, Italy.","DOI":"10.1109\/WiMOB.2017.8115779"},{"key":"ref_3","unstructured":"Bianchi, G., Cuomo, F., Garlisi, D., and Tinnirello, I. (2019). Capture Aware Sequential Waterfilling for LoraWAN Adaptive Data Rate. arXiv."},{"key":"ref_4","unstructured":"Lueth, K.L., Scully, P., Williams, Z.D., Pasqua, E., Romeo, S., Artes, R., and Wopata, M. (2018). State of the IoT & Short-Term Outlook, IoT Analytics GmbH."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"264","DOI":"10.1145\/331499.331504","article-title":"Data clustering: A review","volume":"31","author":"Jain","year":"1999","journal-title":"ACM Comput. Surv. (CSUR)"},{"key":"ref_6","unstructured":"Breiman, L., Friedman, J., Stone, C., and Olshen, R. (1984). Classification and Regression Trees, Taylor & Francis."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Gers, F.A., Schmidhuber, J., and Cummins, F. (1999, January 7\u201310). Learning to forget: Continual prediction with LSTM. Proceedings of the 1999 Ninth International Conference on Artificial Neural Networks ICANN 99 (Conf. Publ. No. 470), Edinburgh, UK.","DOI":"10.1049\/cp:19991218"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","article-title":"Long Short-Term Memory","volume":"9","author":"Hochreiter","year":"1997","journal-title":"Neural Comput."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"67","DOI":"10.1186\/s13634-016-0355-x","article-title":"A survey of machine learning for big data processing","volume":"2016","author":"Qiu","year":"2016","journal-title":"EURASIP J. Adv. Signal Process."},{"key":"ref_10","unstructured":"Pedrycz, W., and Chen, S.M. (2018). Granular Computing Techniques for Bioinformatics Pattern Recognition Problems in Non-metric Spaces. Computational Intelligence for Pattern Recognition, Springer International Publishing."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"161","DOI":"10.1016\/j.dcan.2017.10.002","article-title":"Machine learning for internet of things data analysis: A survey","volume":"4","author":"Mahdavinejad","year":"2018","journal-title":"Digit. Commun. Netw."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"445","DOI":"10.1109\/TNSM.2019.2899085","article-title":"Mobile Encrypted Traffic Classification Using Deep Learning: Experimental Evaluation, Lessons Learned, and Challenges","volume":"16","author":"Aceto","year":"2019","journal-title":"IEEE Trans. Netw. Serv. Manag."},{"key":"ref_13","unstructured":"Verzegnassi, E.G.M., Tountas, K., Pados, D.A., and Cuomo, F. (2019, January 15\u201318). Data Conformity Evaluation: A Novel Approach for IoT Security. Proceedings of the 2019 IEEE 5th World Forum on Internet of Things (WF-IoT), Limerick, Ireland."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"4921","DOI":"10.1109\/JIOT.2019.2893866","article-title":"From Cloud Down to Things: An Overview of Machine Learning in Internet of Things","volume":"6","author":"Samie","year":"2019","journal-title":"IEEE Internet Things J."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Ahamed, F., and Farid, F. (2018, January 3\u20137). Applying Internet of Things and Machine-Learning for Personalized Healthcare: Issues and Challenges. Proceedings of the 2018 International Conference on Machine Learning and Data Engineering (iCMLDE), Sydney, Australia.","DOI":"10.1109\/iCMLDE.2018.00014"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Tao, M., Ming, Y.C., and Juan, C. (2015, January 23\u201325). Profiling and identifying users\u2019 activities with network traffic analysis. Proceedings of the 2015 6th IEEE International Conference on Software Engineering and Service Science (ICSESS), Beijing, China.","DOI":"10.1109\/ICSESS.2015.7339107"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Ghosh, N., Maity, K., Paul, R., and Maity, S. (2019, January 25\u201326). Outlier Detection in Sensor Data Using Machine Learning Techniques for IoT Framework and Wireless Sensor Networks: A Brief Study. Proceedings of the 2019 International Conference on Applied Machine Learning (ICAML), Bhubaneswar, India.","DOI":"10.1109\/ICAML48257.2019.00043"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"884","DOI":"10.1109\/TNSM.2019.2927759","article-title":"Optimizing and Updating LoRa Communication Parameters: A Machine Learning Approach","volume":"16","author":"Sandoval","year":"2019","journal-title":"IEEE Trans. Netw. Serv. Manag."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"101927","DOI":"10.1016\/j.adhoc.2019.101927","article-title":"General and mixed linear regressions to estimate inter-contact times and contact duration in opportunistic networks","volume":"93","author":"Borrego","year":"2019","journal-title":"Ad Hoc Netw."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Chatzigiannakis, I., De Ruyter, B., and Mavrommati, I. (2019). A Clustering Approach for Profiling LoRaWAN IoT Devices. Ambient Intelligence, Springer International Publishing.","DOI":"10.1007\/978-3-030-34255-5"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Bikmukhamedov, R.F., and Nadeev, A.F. (2019, January 1\u20133). Lightweight Machine Learning Classifiers of IoT Traffic Flows. Proceedings of the 2019 Systems of Signal Synchronization, Generating and Processing in Telecommunications (SYNCHROINFO), Yaroslavl, Russia.","DOI":"10.1109\/SYNCHROINFO.2019.8814156"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1016\/j.comcom.2016.07.012","article-title":"Cognitive radio for M2M and Internet of Things: A survey","volume":"94","author":"Rawat","year":"2016","journal-title":"Comput. Commun."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"212","DOI":"10.1186\/1687-1499-2014-212","article-title":"Exploiting programmable architectures for WiFi\/ZigBee inter-technology cooperation","volume":"2014","author":"Valck","year":"2014","journal-title":"EURASIP J. Wirel. Commun. Netw."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Capela, N., and Sargento, S. (2015, January 6\u201310). Machine Learning for Resources Prediction in Multihoming Scenarios. Proceedings of the 2015 IEEE Globecom Workshops (GC Wkshps), San Diego, CA, USA.","DOI":"10.1109\/GLOCOMW.2015.7414202"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"152126","DOI":"10.1109\/ACCESS.2019.2948111","article-title":"Q-Learning Aided Resource Allocation and Environment Recognition in LoRaWAN With CSMA\/CA","volume":"7","author":"Aihara","year":"2019","journal-title":"IEEE Access"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Cho, J., Hwang, D., and Kim, K. (2019, January 9\u201311). Improving TDoA Based Positioning Accuracy Using Machine Learning in a LoRaWan Environment. Proceedings of the 2019 International Conference on Information Networking (ICOIN), Kuala Lumpur, Malaysia.","DOI":"10.1109\/ICOIN.2019.8718160"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Thu, M.Y., Htun, W., Aung, Y.L., Shwe, P.E.E., and Tun, N.M. (2018, January 1\u20133). Smart Air Quality Monitoring System with LoRaWAN. Proceedings of the 2018 IEEE International Conference on Internet of Things and Intelligence System (IOTAIS), Bali, Indonesia.","DOI":"10.1109\/IOTAIS.2018.8600904"},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Hossain, T., Ahad, M.A.R., Tazin, T., and Inoue, S. (2018). Activity Recognition by Using LoRaWAN Sensor. Proceedings of the 2018 ACM International Joint Conference and 2018 International Symposium on Pervasive and Ubiquitous Computing and Wearable Computers, Association for Computing Machinery.","DOI":"10.1145\/3267305.3267652"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Pandangan, Z.A., and Talampas, M.C.R. (2020, January 3). Hybrid LoRaWAN Localization using Ensemble Learning. Proceedings of the 2020 Global Internet of Things Summit (GIoTS), Dublin, Ireland.","DOI":"10.1109\/GIOTS49054.2020.9119520"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Barolli, L., Hellinckx, P., and Natwichai, J. (2020). Comparing Machine Learning Algorithms for RSS-Based Localization in LPWAN. Advances on P2P, Parallel, Grid, Cloud and Internet Computing, Springer International Publishing.","DOI":"10.1007\/978-3-030-33509-0"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Gomez, C.A., Shami, A., and Wang, X. (2018). Machine Learning Aided Scheme for Load Balancing in Dense IoT Networks. Sensors, 18.","DOI":"10.3390\/s18113779"},{"key":"ref_32","unstructured":"LoRa Alliance Technical Committee Regional Parameters Workgroup (2020, July 31). LoRaWAN\u00ae Regional Parameters RP002-1.0.0. Available online: https:\/\/lora-alliance.org\/resource-hub\/lorawanr-regional-parameters-rp002-100."},{"key":"ref_33","unstructured":"(2008). Semtech: LoRa. EP2763321 from 2013. (7,791,415), U.S. Patent."},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Li, S., Raza, U., and Khan, A. (2018, January 9\u201313). How Agile is the Adaptive Data Rate Mechanism of LoRaWAN?. Proceedings of the 2018 IEEE Global Communications Conference (GLOBECOM), Abu Dhabi, UAE.","DOI":"10.1109\/GLOCOM.2018.8647469"},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Mahalakshmi, G., Sridevi, S., and Rajaram, S. (2016, January 7\u20139). A survey on forecasting of time series data. Proceedings of the 2016 International Conference on Computing Technologies and Intelligent Data Engineering (ICCTIDE\u201916), Kovilpatti, India.","DOI":"10.1109\/ICCTIDE.2016.7725358"},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"651","DOI":"10.1016\/j.patrec.2009.09.011","article-title":"Data clustering: 50 years beyond K-means","volume":"31","author":"Jain","year":"2010","journal-title":"Pattern Recognit. Lett."},{"key":"ref_37","first-page":"281","article-title":"Some methods for classification and analysis of multivariate observations","volume":"Volume 1","author":"MacQueen","year":"1967","journal-title":"Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability"},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"129","DOI":"10.1109\/TIT.1982.1056489","article-title":"Least squares quantization in PCM","volume":"28","author":"Lloyd","year":"1982","journal-title":"IEEE Trans. Inf. Theory"},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"830","DOI":"10.1016\/j.knosys.2018.10.009","article-title":"Multi-step forecasting for big data time series based on ensemble learning","volume":"163","author":"Galicia","year":"2019","journal-title":"Knowl. Based Syst."},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"3761","DOI":"10.1016\/j.eswa.2008.02.025","article-title":"Evolving and clustering fuzzy decision tree for financial time series data forecasting","volume":"36","author":"Lai","year":"2009","journal-title":"Expert Syst. Appl."},{"key":"ref_41","unstructured":"Fawcett, T., and Mishra, N. (2003). Decision-tree Induction from Time-series Data Based on a Standard-example Split Test. Twentieth International Conference on Machine Learning, The AAAI Press."},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Brunello, A., Marzano, E., Montanari, A., and Sciavicco, G. (2019). J48SS: A Novel Decision Tree Approach for the Handling of Sequential and Time Series Data. Computers, 8.","DOI":"10.3390\/computers8010021"},{"key":"ref_43","doi-asserted-by":"crossref","first-page":"4","DOI":"10.3389\/fdata.2020.00004","article-title":"AI in Healthcare: Time-Series Forecasting Using Statistical, Neural, and Ensemble Architectures","volume":"3","author":"Kaushik","year":"2020","journal-title":"Front. Big Data"},{"key":"ref_44","doi-asserted-by":"crossref","unstructured":"Alhirmizy, S., and Qader, B. (2019, January 3\u20135). Multivariate Time Series Forecasting with LSTM for Madrid, Spain pollution. Proceedings of the 2019 International Conference on Computing and Information Science and Technology and Their Applications (ICCISTA), Kirkuk, Iraq.","DOI":"10.1109\/ICCISTA.2019.8830667"},{"key":"ref_45","doi-asserted-by":"crossref","first-page":"052037","DOI":"10.1088\/1757-899X\/569\/5\/052037","article-title":"AT-LSTM: An Attention-based LSTM Model for Financial Time Series Prediction","volume":"569","author":"Zhang","year":"2019","journal-title":"IOP Conf. Ser. Mater. Sci. Eng."},{"key":"ref_46","doi-asserted-by":"crossref","unstructured":"Izal, M., Morat\u00f3, D., Maga\u00f1a, E., and Garc\u00eda-Jim\u00e9nez, S. (2019). Computation of Traffic Time Series for Large Populations of IoT Devices. Sensors, 19.","DOI":"10.3390\/s19010078"},{"key":"ref_47","unstructured":"Sen, J. (2018). An Adaptive Lightweight Security Framework Suited for IoT. Internet of Things, IntechOpen."},{"key":"ref_48","first-page":"3238","article-title":"Supervised machine learning supported time series prediction and analysis of iot enabled physical location monitoring","volume":"8","author":"Shitole","year":"2019","journal-title":"Int. J. Innov. Technol. Explor. Eng."},{"key":"ref_49","doi-asserted-by":"crossref","first-page":"23551","DOI":"10.1109\/ACCESS.2018.2825538","article-title":"LSTM-Based Analysis of Industrial IoT Equipment","volume":"6","author":"Zhang","year":"2018","journal-title":"IEEE Access"},{"key":"ref_50","doi-asserted-by":"crossref","unstructured":"Zhang, X., Zhao, M., and Dong, R. (2020). Time-Series Prediction of Environmental Noise for Urban IoT Based on Long Short-Term Memory Recurrent Neural Network. Appl. Sci., 10.","DOI":"10.3390\/app10031144"},{"key":"ref_51","doi-asserted-by":"crossref","first-page":"267","DOI":"10.1007\/BF02289263","article-title":"Who belongs in the family?","volume":"18","author":"Thorndike","year":"1953","journal-title":"Psychometrika"},{"key":"ref_52","doi-asserted-by":"crossref","first-page":"53","DOI":"10.1016\/0377-0427(87)90125-7","article-title":"Silhouettes: A graphical aid to the interpretation and validation of cluster analysis","volume":"20","author":"Rousseeuw","year":"1987","journal-title":"J. Comput. Appl. Math."},{"key":"ref_53","doi-asserted-by":"crossref","first-page":"224","DOI":"10.1109\/TPAMI.1979.4766909","article-title":"A Cluster Separation Measure","volume":"PAMI-1","author":"Davies","year":"1979","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_54","doi-asserted-by":"crossref","unstructured":"Aufaure, M.A., and Zim\u00e1nyi, E. (2013). Machine Learning Strategies for Time Series Forecasting. Business Intelligence: Second European Summer School, eBISS 2012, Brussels, Belgium, July 15\u201321, 2012, Tutorial Lectures, Springer.","DOI":"10.1007\/978-3-642-36318-4"},{"key":"ref_55","doi-asserted-by":"crossref","first-page":"937","DOI":"10.1145\/235809.235811","article-title":"Constructing Deterministic Finite-State Automata in Recurrent Neural Networks","volume":"43","author":"Omlin","year":"1996","journal-title":"J. ACM"},{"key":"ref_56","unstructured":"Tang, J., Kan, M.Y., Zhao, D., Li, S., and Zan, H. (2019). Explainable AI: A Brief Survey on History, Research Areas, Approaches and Challenges. Natural Language Processing and Chinese Computing, Springer International Publishing."},{"key":"ref_57","doi-asserted-by":"crossref","unstructured":"He, T., Xie, C., Liu, Q., Guan, S., and Liu, G. (2019). Evaluation and Comparison of Random Forest and A-LSTM Networks for Large-scale Winter Wheat Identification. Remote Sens., 11.","DOI":"10.3390\/rs11141665"},{"key":"ref_58","doi-asserted-by":"crossref","unstructured":"Gers, F.A., Eck, D., and Schmidhuber, J. (2002). Applying LSTM to time series predictable through time-window approaches. Neural Nets WIRN Vietri-01, Springer.","DOI":"10.1007\/978-1-4471-0219-9_20"}],"container-title":["Computers"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2073-431X\/9\/3\/60\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T09:53:22Z","timestamp":1760176402000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2073-431X\/9\/3\/60"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,7,31]]},"references-count":58,"journal-issue":{"issue":"3","published-online":{"date-parts":[[2020,9]]}},"alternative-id":["computers9030060"],"URL":"https:\/\/doi.org\/10.3390\/computers9030060","relation":{},"ISSN":["2073-431X"],"issn-type":[{"value":"2073-431X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2020,7,31]]}}}