DRLAR: A Q-Learning-Based Adaptive Routing Protocol Assisted by Deep Q-Network for Mobile Ad Hoc Networks
Abstract
: Mobile Ad Hoc Networks (MANETs) are characterized by dynamic topologies caused by node mobility, making routing a challenging task. Nevertheless, most existing RL-based routing protocols suffer from two important limitations. First, routing Q-tables are initialized with default values, resulting in a long convergence period. Second, data packets are forwarded during both exploitation and exploration phases, which may increase packet loss and end-to-end delay. To address these limitations, this study proposes a DRL-Assisted Adaptive Routing (DRLAR) for MANETs. First, a Deep Q-Network (DQN) is trained offline using routing experience collected from network simulations to estimate the initial Q-values of the routing tables. Instead of starting from empty knowledge, routing nodes begin the online learning process with informative Q-values, reducing the convergence time in the early stages of network operation. Second, the conventional exploration mechanism is redesigned by shifting route exploration from data packets to periodic Hello packets. Consequently, all data packets are forwarded according to the exploitation policy, ensuring that they are transmitted through the best available routes. Meanwhile, routing knowledge continues to be updated online through acknowledgment (ACK) packets generated during data forwarding and Hello packets that disseminate the neighborhood and routing information. This design preserves continuous online learning while eliminating performance degradation caused by the transmission of data packets during the exploration phase. The proposed routing algorithm jointly considers the routing progress and traffic load when selecting the next-hop node, while the destination-oriented reward and discount factor implicitly favor shorter routes and help avoid congested intermediate nodes. Simulation results obtained using NS-2 demonstrate that DRLAR consistently outperforms conventional routing protocols in terms of the packet delivery ratio, throughput, and end-to-end delay. These results confirm that integrating offline deep reinforcement learning (DRL) with online distributed Q-learning provides faster convergence and more efficient adaptive routing for highly dynamic MANET environments.