Next Article in Journal
Analysis of a Three-Echelon Supply Chain System with Multiple Retailers, Stochastic Demand and Transportation Times
Previous Article in Journal
Methodology for Transient Stability Assessment and Enhancement in Low-Inertia Power Systems Using Phasor Measurements: A Data-Driven Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Federated Reinforcement Learning with Hybrid Optimization for Secure and Reliable Data Transmission in Wireless Sensor Networks (WSNs)

by
Seyed Salar Sefati
1,2,*,
Seyedeh Tina Sefati
3,
Saqib Nazir
1,4,
Roya Zareh Farkhady
5 and
Serban Georgica Obreja
1
1
Telecommunications Department, Faculty of Electronics, Telecommunications and Information Technology, National University of Science and Technology POLITEHNICA Bucharest, 060042 Bucharest, Romania
2
Department of Software Engineering, Faculty of Engineering and Natural Science, Istinye University, Istanbul 34010, Türkiye
3
Faculty of Electrical and Computer Engineering, University of Tabriz, 29 Bahman, Tabriz 51664, Iran
4
Department of Computer Science, Edge Hill University, Ormskirk L39 4QP, UK
5
Department of Computer Engineering, Institute of Higher Education Roshdiyeh, Tabriz 51368, Iran
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(19), 3196; https://doi.org/10.3390/math13193196
Submission received: 5 September 2025 / Revised: 25 September 2025 / Accepted: 30 September 2025 / Published: 6 October 2025

Abstract

Wireless Sensor Networks (WSNs) consist of numerous battery-powered sensor nodes that operate with limited energy, computation, and communication capabilities. Designing routing strategies that are both energy-efficient and attack-resilient is essential for extending network lifetime and ensuring secure data delivery. This paper proposes Adaptive Federated Reinforcement Learning-Hunger Games Search (AFRL-HGS), a Hybrid Routing framework that integrates multiple advanced techniques. At the node level, tabular Q-learning enables each sensor node to act as a reinforcement learning agent, making next-hop decisions based on discretized state features such as residual energy, distance to sink, congestion, path quality, and security. At the network level, Federated Reinforcement Learning (FRL) allows the sink node to aggregate local Q-tables using adaptive, energy- and performance-weighted contributions, with Polyak-based blending to preserve stability. The binary Hunger Games Search (HGS) metaheuristic initializes Cluster Head (CH) selection and routing, providing a well-structured topology that accelerates convergence. Security is enforced as a constraint through a lightweight trust and anomaly detection module, which fuses reliability estimates with residual-based anomaly detection using Exponentially Weighted Moving Average (EWMA) on Round-Trip Time (RTT) and loss metrics. The framework further incorporates energy-accounted control plane operations with dual-format HELLO and hierarchical ADVERTISE/Service-ADVERTISE (SrvADVERTISE) messages to maintain the routing tables. Evaluation is performed in a hybrid testbed using the Graphical Network Simulator-3 (GNS3) for large-scale simulation and Kali Linux for live adversarial traffic injection, ensuring both reproducibility and realism. The proposed AFRL-HGS framework offers a scalable, secure, and energy-efficient routing solution for next-generation WSN deployments.
Keywords: Wireless Sensor Networks (WSNs); Federated Reinforcement Learning (FRL); secure routing; energy efficiency; anomaly detection Wireless Sensor Networks (WSNs); Federated Reinforcement Learning (FRL); secure routing; energy efficiency; anomaly detection

Share and Cite

MDPI and ACS Style

Sefati, S.S.; Sefati, S.T.; Nazir, S.; Zareh Farkhady, R.; Obreja, S.G. Federated Reinforcement Learning with Hybrid Optimization for Secure and Reliable Data Transmission in Wireless Sensor Networks (WSNs). Mathematics 2025, 13, 3196. https://doi.org/10.3390/math13193196

AMA Style

Sefati SS, Sefati ST, Nazir S, Zareh Farkhady R, Obreja SG. Federated Reinforcement Learning with Hybrid Optimization for Secure and Reliable Data Transmission in Wireless Sensor Networks (WSNs). Mathematics. 2025; 13(19):3196. https://doi.org/10.3390/math13193196

Chicago/Turabian Style

Sefati, Seyed Salar, Seyedeh Tina Sefati, Saqib Nazir, Roya Zareh Farkhady, and Serban Georgica Obreja. 2025. "Federated Reinforcement Learning with Hybrid Optimization for Secure and Reliable Data Transmission in Wireless Sensor Networks (WSNs)" Mathematics 13, no. 19: 3196. https://doi.org/10.3390/math13193196

APA Style

Sefati, S. S., Sefati, S. T., Nazir, S., Zareh Farkhady, R., & Obreja, S. G. (2025). Federated Reinforcement Learning with Hybrid Optimization for Secure and Reliable Data Transmission in Wireless Sensor Networks (WSNs). Mathematics, 13(19), 3196. https://doi.org/10.3390/math13193196

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop