A Q-Learning-Based Distributed Energy-Efficient Routing Protocol in UASNs
Abstract
1. Introduction
- A distributed reinforcement learning-based routing framework is developed for underwater acoustic sensor networks. The routing decision of each node is modeled as a Markov Decision Process (MDP), and a Q-learning algorithm is used to learn forwarding strategies in a fully distributed manner. By jointly considering node depth and residual energy in the reward design, the proposed method balances energy consumption among nodes while reducing the routing delay. The distributed design avoids the heavy information exchange required by centralized routing schemes and makes the algorithm more suitable for large-scale underwater sensor networks.
- Link-quality-aware routing is introduced by considering physical-layer channel information into the routing decision. In particular, the SNR at the receiving node is used as the link quality metric in the reward function. By utilizing this channel information during relay node selection, nodes are encouraged to choose links with better transmission conditions, thereby improving transmission robustness under dynamic underwater acoustic channels.
2. System Model and Reinforcement Learning
2.1. System Model
2.2. Q-Learning
3. MDP Model
3.1. Problem Formulation
3.2. MDP Model Definition
3.2.1. State Space(S)
3.2.2. Action Space(A)
3.2.3. State Transition Probability(P)
3.2.4. Reward(R)
3.3. Distributed Q-Table
4. QDER Protocol
4.1. Packet Format Definition
4.2. Routing Algorithm
4.2.1. Network Initialization
4.2.2. Pre-Training
4.2.3. Online Transmission
- (1)
- The next hop node did not receive the data packet successfully.
- (2)
- The ACK failed to transmit in the feedback link.
| Algorithm 1 QDER Protocol. |
|
5. Simulation Results
5.1. Parameter and Metric Definitions
5.2. Performance Evaluation
5.2.1. Convergence of Q-Value
5.2.2. Performance of Energy Consumption
5.2.3. Delay and Network Lifetime
5.3. Performance Evaluation with Link Quality
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Yan, M.; Guo, H.; Chan, C.A.; Gygax, A.F.; Li, C.; I, C.-L. Semantic Communication-Enabled Multi-Access Edge Computing Network Resource Optimization in the 6G Era. IEEE Wirel. Commun. 2025, 1–9. [Google Scholar] [CrossRef]
- Khisa, S.; Moh, S. Survey on recent advancements in energy-efficient routing protocols for underwater wireless sensor networks. IEEE Access 2021, 9, 55045–55062. [Google Scholar] [CrossRef]
- Liu, S.; Zuberi, H.H.; Arfeen, Z.; Zhang, X.; Bilal, M.; Sun, Z. Spectral Efficient Neural Network-Based M-ary Chirp Spread Spectrum Receivers for Underwater Acoustic Communication. Arab. J. Sci. Eng. 2024, 49, 16593–16609. [Google Scholar] [CrossRef]
- Khan, M.A.; Liu, S.; Bilal, M.; Hassan, A. Convolutional autoencoders for low probability of detection constrained underwater acoustic communications. Ocean Eng. 2026, 344, 123720. [Google Scholar] [CrossRef]
- Rodoshi, R.T.; Song, Y.; Choi, W. Reinforcement Learning-Based Routing Protocol for Underwater Wireless Sensor Networks: A Comparative Survey. IEEE Access 2021, 9, 154578–154599. [Google Scholar] [CrossRef]
- Busacca, F.; Galluccio, L.; Palazzo, S.; Panebianco, A.; Scarvaglieri, A. Balancing Optimization for Underwater Network Cost Effectiveness (BOUNCE): A Multi-Armed Bandit Solution. In Proceedings of the 2024 IEEE International Conference on Communications Workshops (ICC Workshops); IEEE: New York, NY, USA, 2024; pp. 1340–1345. [Google Scholar]
- Zuberi, H.H.; Liu, S.; Bilal, M.; Khan, R. Quadrature phase shift keying Sine chirp spread Spectrum under-water acoustic communication based on VTRM. In Proceedings of the 2022 19th International Bhurban Conference on Applied Sciences and Technology (IBCAST); IEEE: New York, NY, USA, 2022; pp. 884–888. [Google Scholar]
- Yan, H.; Shi, Z.J.; Cui, J.H. DBR: Depth-Based Routing for Underwater Sensor Networks. In NETWORKING 2008 Ad Hoc and Sensor Networks, Wireless Networks, Next Generation Internet; Das, A., Pung, H.K., Lee, F.B.S., Wong, L.W.C., Eds.; Springer: Berlin/Heidelberg, Germany, 2008; pp. 72–86. [Google Scholar]
- Wahid, A.; Lee, S.; Jeong, H.J.; Kim, D. EEDBR: Energy-Efficient Depth-Based Routing Protocol for Underwater Wireless Sensor Networks. In Advanced Computer Science and Information Technology (AST 2011); Springer: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
- Mhemed, R.; Comeau, F.; Phillips, W.; Aslam, N. EEDOR: An Energy Efficient Depth-Based Opportunistic Routing Protocol for UWSNs. In Proceedings of the 2020 IEEE Canadian Conference on Electrical and Computer Engineering (CCECE); IEEE: New York, NY, USA, 2020; pp. 1–6. [Google Scholar] [CrossRef]
- Zhang, M.; Cai, W. Energy-Efficient Depth Based Probabilistic Routing Within 2-Hop Neighborhood for Underwater Sensor Networks. IEEE Sensors Lett. 2020, 4, 7002304. [Google Scholar] [CrossRef]
- Rahman, M.A.; Lee, Y.; Koo, I. EECOR: An Energy-Efficient Cooperative Opportunistic Routing Protocol for Underwater Acoustic Sensor Networks. IEEE Access 2017, 5, 14119–14132. [Google Scholar] [CrossRef]
- Saleem, K.; Wang, L.; Bharany, S. Survey of AI-driven routing protocols in underwater acoustic networks for enhanced communication efficiency. Ocean Eng. 2024, 314, 119606. [Google Scholar] [CrossRef]
- Gang, Q.; Rahman, W.U.; Zhou, F.; Bilal, M.; Ali, W.; Khan, S.U.; Khattak, M.I. A Q-Learning-Based Approach to Design an Energy-Efficient MAC Protocol for UWSNs Through Collision Avoidance. Electronics 2024, 13, 4388. [Google Scholar] [CrossRef]
- Farid, G.; Bilal, M.; Zhang, L.; Alharbi, A.; Ahmed, I.; Azhar, M. An Improved Deep Q-Learning Approach for Navigation of an Autonomous UAV Agent in 3D Obstacle-Cluttered Environment. Drones 2025, 9, 518. [Google Scholar] [CrossRef]
- Yan, M.; Luo, M.; Chan, C.A.; Gygax, A.F.; Li, C.; I, C.-L. Energy-efficient content fetching strategies in cache-enabled D2D networks via an Actor-Critic reinforcement learning structure. IEEE Trans. Veh. Technol. 2024, 73, 17485–17495. [Google Scholar] [CrossRef]
- Ali, S.M.; Bilal, M.; Alharbi, A.; Amin, R. A Novel Deep Reinforcement Learning Based Extended Fractal Radial Basis Function Network for State-of-Charge Estimation. IET Power Electron. 2025, 18, e70101. [Google Scholar] [CrossRef]
- Rahman, W.u.; Gang, Q.; Feng, Z.; Khan, Z.U.; Aman, M.; Bilal, M. A MACA-Based Energy-Efficient MAC Protocol Using Q-Learning Technique for Underwater Acoustic Sensor Network. In Proceedings of the 2023 IEEE 11th International Conference on Computer Science and Network Technology (ICCSNT); IEEE: New York, NY, USA, 2023; pp. 352–355. [Google Scholar] [CrossRef]
- Zhou, Y.; Cao, T.; Xiang, W. Anypath Routing Protocol Design via Q-Learning for Underwater Sensor Networks. IEEE Internet Things J. 2021, 8, 8173–8190. [Google Scholar] [CrossRef]
- Chen, Y.; Zheng, K.; Fang, X.; Wan, L.; Xu, X. QMCR: A Q-learning-based multi-hop cooperative routing protocol for underwater acoustic sensor networks. China Commun. 2021, 18, 224–236. [Google Scholar] [CrossRef]
- Li, X.; Shao, Z.; Qian, J. An Optimizing Method Based on Autonomous Animats: Fish-swarm Algorithm. Syst. Eng. Theory Pract. 2002, 22, 32–38. (In Chinese) [Google Scholar]
- Gao, J.; Wang, J.; Gu, J.; Shi, W. Q-learning-based routing optimization algorithm for underwater sensor networks. IEEE Internet Things J. 2024, 11, 36350–36357. [Google Scholar] [CrossRef]
- Su, Y.; Fan, R.; Fu, X.; Jin, Z. DQELR: An Adaptive Deep Q-Network-Based Energy- and Latency-Aware Routing Protocol Design for Underwater Acoustic Sensor Networks. IEEE Access 2019, 7, 9091–9104. [Google Scholar] [CrossRef]
- Geng, X.; Zhang, B. Deep Q-Network-Based Intelligent Routing Protocol for Underwater Acoustic Sensor Network. IEEE Sens. J. 2023, 23, 3936–3943. [Google Scholar] [CrossRef]
- Zhang, Y.; Zhang, Z.; Chen, L.; Wang, X. Reinforcement learning-based opportunistic routing protocol for underwater acoustic sensor networks. IEEE Trans. Veh. Technol. 2021, 70, 2756–2770. [Google Scholar] [CrossRef]
- Wang, B.; Zhang, H.; Zhu, Y.; Cai, B.; Guo, X. Adaptive power-controlled depth-based routing protocol for underwater wireless sensor networks. J. Mar. Sci. Eng. 2023, 11, 1567. [Google Scholar] [CrossRef]
- He, J.; Tian, J.; Pu, Z.; Wang, W.; Huang, H. Cross-Layer Routing Protocol Based on Channel Quality for Underwater Acoustic Communication Networks. Appl. Sci. 2024, 14, 9778. [Google Scholar] [CrossRef]
- Adil, M.; Liu, S.; Mazhar, S.; Jan, M.; Khan, A.Y.; Bilal, M. A Fully Connected Neural Network Driven UWA Channel Estimation for Reliable Communication. In Proceedings of the 2023 International Conference on Frontiers of Information Technology (FIT); IEEE: New York, NY, USA, 2023; pp. 310–315. [Google Scholar] [CrossRef]
- Bilal, M.; Liu, S.; Zhou, T.; Zuberi, H.H.; Khan, M.A. Cepstrum-Based Watermarking for Secure Underwater Data Transmission. In Proceedings of the 17th International Conference on Underwater Networks & Systems; Association for Computing Machinery: New York, NY, USA, 2023; pp. 1–5. [Google Scholar] [CrossRef]
- Bilal, M.; Zuberi, H.H.; Jaffar, A.; Riaz, W.; Khan, M.A.; Alharbi, A.; Miyajan, A.; Liu, S. Covert underwater communication through cepstrum modulation mimicking Pseudorca crassidens whistles using machine learning. Sci. Rep. 2026, 16, 4155. [Google Scholar] [CrossRef] [PubMed]
- Ali, N.; Saeed, Y.; Ibrahim, M.; Bilal, M.; Tahir, M.; Aslam, M.; Akpokodje, E.; Jilani, S.F.; Tang, M. Real-Time Detection and Prevention of DoS Attack in Unmanned Marine Vehicles Using Machine Learning. Secur. Priv. 2026, 9, e70201. [Google Scholar] [CrossRef]















| UASNs Parameter | Symbol | Value |
|---|---|---|
| Number of relay nodes | 200/300/400/500 | |
| Node initial energy (J) | 5000 | |
| Transmit power (w) | 2 | |
| Received power (w) | 1 | |
| Idle power (w) | 0.01 | |
| Maximum transmission range (m) | D | 100 |
| Residual energy weight coefficient | 0.8 | |
| Depth weight coefficient | 0.2 |
| Symbol | Definition | Symbol | Definition |
|---|---|---|---|
| E | total energy consumption | single packet transmitting time of | |
| energy consumption of | single packet receiving time of | ||
| energy consumption ratio | total running time of | ||
| energy consumption variance | information exchange time between and | ||
| average energy consumption for network | information exchange delay for m-th data packet | ||
| number of data packets | average information exchange delay |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Geng, X.; Li, Q.; Pan, X.; Cao, F. A Q-Learning-Based Distributed Energy-Efficient Routing Protocol in UASNs. Entropy 2026, 28, 346. https://doi.org/10.3390/e28030346
Geng X, Li Q, Pan X, Cao F. A Q-Learning-Based Distributed Energy-Efficient Routing Protocol in UASNs. Entropy. 2026; 28(3):346. https://doi.org/10.3390/e28030346
Chicago/Turabian StyleGeng, Xuan, Qingyuan Li, Xiaowei Pan, and Fang Cao. 2026. "A Q-Learning-Based Distributed Energy-Efficient Routing Protocol in UASNs" Entropy 28, no. 3: 346. https://doi.org/10.3390/e28030346
APA StyleGeng, X., Li, Q., Pan, X., & Cao, F. (2026). A Q-Learning-Based Distributed Energy-Efficient Routing Protocol in UASNs. Entropy, 28(3), 346. https://doi.org/10.3390/e28030346

