Skip to content

Deep reinforcement learning-optimized adaptive authenticated encryption and dynamic transmission control for secure LoRaWAN IoT communication

Sep 2026 · Discover Internet of Things · Vol 6 · 18 references
IoT Networks and Protocols

Abstract

The growth of Internet of Things (IoT) devices in the industrial, environmental and urban sectors has raised the need for secure, energy efficient, and adaptive communication solutions. The LoRa (Long Range) technology combined with the LoRaWAN protocol stack is very promising due to its low power consumption, ability to operate far away, and scalability in resource-constrained deployment. The static encryption keys and fixed transmission parameters of conventional LoRaWAN implementations are, however, extremely vulnerable to eavesdropping, replay attacks, key compromise and brute force attacks. At the same time, the spreading factor, transmission power and coding rates are not matched to the dynamic channel characteristics of the wireless channel, which results in high consumption of energy, high packet loss rate and poor quality of service. This paper introduces a Deep Reinforcement Learning (DRL)-based framework that combines the adaptive use of Authenticated Encryption with Associated Data (AEAD) and the dynamic optimization of transmission with LoRaWAN-based IoT systems. The proposed architecture utilizes a Dueling Deep Q-Network (DDQN) agent which optimizes the entropy parameters for key generation and LoRa transmission parameters from real-time observations of the wireless channel, accompanied by security threat indices. Dynamic encryption keys are built from hardware sourced entropy (ADC thermal noise, clock-cycle jitter) and monotonic timestamps, resulting in key matrices which are unique for each session, and have measured entropy of greater than 7.95 bits per byte. A plaintext randomization pre-processing layer is developed based on eigenvectors to enhance the plaintext randomization before authenticated AES-GCM encryption, which offers confidentiality, integrity and authenticity guarantees. The problem of optimising spreading factor (SF), transmission power (TP), and coding rate (CR) with the aim of maximising packet delivery ratio, minimising energy consumption, latency and key entropy is formalised using a multi-objective reward function through a Markov Decision Process (MDP). The hardware validation is conducted on 20 real-time transmission cycles over a controlled 15-metre line-of-sight range, with 500 training episodes; results beyond this range are analytical projections rather than direct hardware measurements, as detailed in Sect. 6.1, and the results are: 93.7–96.5% mean data-recovery rate across the 20 transmission cycles (the percentage of transmitted sensor readings correctly decrypted and matched at the receiver), packet delivery ratio was improved by 27.8%, energy consumption was reduced by 32.5%, and the measured replay acceptance rate was zero across all tested replay scenarios (Table 2). The proposed integrated approach outperforms the other methods, including static LoRaWAN, AES-128 pre-shared key, CRC-only verification, and RL-only transmission optimization, in terms of all performance metrics evaluated on this single-node, 20-cycle, 15-metre hardware trial; broader statistical validation across repeated trials and multiple deployment scenarios is identified as future work (Sect. 8.1).

View source

Similar papers

#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54
#machine learning Review Open access Jun 2014

Why Early-Stage Software Startups Fail: A Behavioral Framework

This state-of-practice investigation was performed using a literature review followed by a multiple-case study approach and presents how inconsistency between managerial strategies and execution can lead to failure by means of a behavioral framework.

Carmine Giardino, Xiaofeng Wang, P. Abrahamsson · 175 citations · ⚡19
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#machine learning Review Open access May 2016

Key Challenges in Software Startups Across Life Cycle Stages

It is found that what perceived as biggest challenges by software startups do vary across different life cycle stages, even though its significance decreases when the learning focuses of the startups move from problem to solution and their products mature.

Xiaofeng Wang, Henry Edison, Sohaib Shahid Bajwa et al. · 62 citations · ⚡6

Related blog posts

Microsoft Research Blog Oct 12, 2026

Simulating student learning for better AI tutoring

StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.

MIT News · Artificial Intelligence Oct 7, 2026

Discovering the value of humanistic inquiry

Students in MIT’s Concourse program delve deeply into the human condition, debate challenging questions, and learn to develop judgment about issues that can’t be quantified.

Microsoft Research Blog Oct 7, 2026

Agent Lightning v1.0: A 3,500-Line Lightweight Agentic RL Framework for Training Agents with Real Harnesses

Training AI agents with reinforcement learning can be challenging because their tools, context, and decision-making are managed by complex frameworks. Agent Lightning connects existing agents to RL training, making it easier to improve them without rebuilding them. The post Agent Lightning v1.0: A 3,500-Line Lightweight Agentic RL Framework for Training Agents with Real Harnesses appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.