Optimizing Spreading Factor and Resources Allocation in LoRaWAN: A Hybrid Approach Using Reinforcement Learning and K-Means Clustering
- 12 January 2026
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Internet of Things Journal
- Vol. 13 (7) , 12934-12944
Abstract
With the rapid expansion of Internet of Things (IoT) devices, current low-power wide-area network (LPWAN) technologies are increasingly susceptible to performance deterioration. LoRaWAN stands out as a leading LPWAN solution due to its ability to support long-range, low-power communication in massive IoT deployments. However, ensuring data reliability in dense and dynamic environments while optimizing transmission settings poses significant challenges, particularly in terms of interference mitigation and energy efficiency. To overcome these limitations, this article proposes an innovative approach that integrates K-means clustering and leverages reinforcement learning (RL) to effectively manage gateway placement and configure transmission parameters, such as spreading factors (SFs) and power levels, based on local signal conditions and environmental feedback. The model explicitly accounts for the capture effect and the imperfect orthogonality of SFs, allowing for more realistic and robust adaptation strategies without relying on the conventional centralized adaptive data rate (ADR) mechanism. The approach is validated through a real-world experimental deployment. Furthermore, we highlighted the novelty of our approach by a detailed analysis of LoRaWAN SF sensitivity thresholds and evaluated the impact of gateway densification and SF reallocation on network performance. Both experimental and simulation outcomes show significant improvements in data extraction rate (DER) and energy efficiency, particularly in large-scale, congested network scenarios.Keywords
This publication has 28 references indexed in Scilit:
- A Survey on Scalable LoRaWAN for Massive IoT: Recent Advances, Potentials, and ChallengesIEEE Communications Surveys & Tutorials, 2023
- Optimizing energy efficiency of LoRaWAN-based wireless underground sensor networks: A multi-agent reinforcement learning approachInternet of Things, 2023
- Joint load-balancing and power control strategy to maximize the data extraction rate of LoRaWAN networksComputer Networks, 2023
- Intelligent Resource Allocation in LoRaWAN Using Machine Learning TechniquesIEEE Access, 2023
- A Comprehensive Study on LPWANs With a Focus on the Potential of LoRa/LoRaWAN SystemsIEEE Communications Surveys & Tutorials, 2022
- STEPS - Score Table based Evaluation and Parameters Surfing approach of LoRaWAN2021
- Utilization-Weighted Algorithm for LoRaWAN Capacity Improvement for Local Smart Dairy Farms in Ratchaburi Province of ThailandIEEE Access, 2021
- Adaptive algorithm for spreading factor selection in LoRaWAN networks with multiple gatewaysComputer Networks, 2020
- LoRa-MAB: Toward an Intelligent Resource Allocation Approach for LoRaWAN2019
- The Internet of Things: A surveyComputer Networks, 2010