Optimizing Spreading Factor and Resources Allocation in LoRaWAN: A Hybrid Approach Using Reinforcement Learning and K-Means Clustering
With the rapid expansion of Internet of Things (IoT) devices, current 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 paper proposes an innovative approach that integrates K-means clustering and leverages reinforcement learning to effectively manage gateway placement and configure transmission parameters, such as spreading factors and power levels, based on local signal conditions and environmental feedback. The model explicitly accounts for the capture effect and the imperfect orthogonality of spreading factors, 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 spreading factor (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.
Authors
- Mohamed Sofiane Batta (ORCID: https://orcid.org/0000-0002-2788-4892)
- Rahim Kacimi (ORCID: https://orcid.org/0000-0002-2784-4305)
Institutions
- Centre National de la Recherche Scientifique (FR)
- Université Toulouse III - Paul Sabatier (FR)
- Université Toulouse-I-Capitole (FR)
- Institut de Recherche en Informatique de Toulouse (FR)
- Université Toulouse - Jean Jaurès (FR)
- Institut Polytechnique de Bordeaux (FR)
Publication Details
- Journal
- IEEE Internet of Things Journal
- Published
- 2026-01-12
- DOI
- https://doi.org/10.1109/jiot.2026.3652806
- Primary Topic
- IoT Networks and Protocols
- Type
- article
- Field-Weighted Citation Impact
- 0.00