Nomenclature
Nomenclature
- (x, y)
-
two-dimensional coordinates of an aerial vehicle
- v
-
velocity
- u
-
acceleration normal to flight path vector
- U
-
maximum allowable lateral acceleration
- z
-
constant height
- g
-
acceleration due to the gravity
-
$P_r$
-
power reflected
-
$N_{\rm avg}$
-
average noise power
-
$\frac{S}{N}$
-
signal-to-noise ratio (SNR)
-
$P_{\rm avg}$
-
average power transmitted by radar
-
$t_{s}$
-
scan time for
$\omega$
-
$A_e$
-
antenna area
-
$T_s$
-
system noise temperature
- R
-
distance of target from radar (radar range)
- K
-
Boltzmann’s constant
- L
-
total system loss
- Q(s, a)
-
action-value function
-
$Q(s_i, a_i)$
-
action-value function for iteration i
- A
-
action space
- S
-
state space
-
$A_i$
-
action take at iteration i
-
$S_i$
-
state vector at iteration i
- a
-
all actions in action space
- s
-
all states in state space
-
$R_i$
-
scalar reward received at iteration i
- k
-
number of training periods
Greek symbol
Greek symbol
-
$\alpha$
-
learning rate
-
$\gamma$
-
discount factor
-
$\epsilon$
-
clipping parameter
-
$\eta$
-
long-term reward
-
$\theta_k$
-
policy at step k
-
$\vartheta$
-
azimuth angle
-
$\lambda$
-
aspect angle
-
$\xi$
-
bank angle
-
$\sigma$
-
radar cross-section (RCS)
-
$\tau$
-
target networks update rate
-
$\phi_k$
-
value function at step k
-
$\varphi$
-
elevation angle
-
$\psi$
-
heading angle
-
$\omega$
-
solid angle searched by radar
Abbreviations
Abbreviations
- RL
-
reinforcement learning
- DRL
-
deep reinforcement learning
- DDPG
-
deep deterministic policy gradient
- GAE
-
generalised advantage estimation
- TRPO
-
trust region policy optimisation
- PPO
-
proximal policy optimisation
- UAV
-
unmanned aerial vehicle
- SGD
-
stochastic gradient descent
- RCS
-
radar cross-section
- SNR
-
signal-to-noise ratio
1.0 Introduction
Aircraft path planning is entering a new era with the emergence of artificial intelligence-based algorithms. This paper explores the usage of contemporary reinforcement learning-based algorithms in generating optimal paths either to avoid radar detection or to reduce exposure time. The existing techniques used in path planning generally include spline-based path planning, non-linear programming, various deterministic techniques and differential dynamic programming [Reference Raivio, Ehtamo and Hämäläinen1–Reference Judd and McLain3]. These techniques are efficient for distinct purposes to generate optimal paths. Similarly, trajectory generation for versatile manoeuvres such as hover-to-cruise [Reference Maqsood and Go4], perching [Reference Feroskhan and Go5] and dynamic soaring [Reference Mir, Maqsood, Eisa, Taha and Akhtar6] of Unmanned Aerial Vehicles (UAVs), typically done through established deterministic approaches, however, are susceptible to the initial guess. Recently, machine learning algorithms have been explored for different trajectory optimisation and path planning problems [Reference Aggarwal and Kumar7] to help generate trajectories that are insensitive to initial conditions. This shift is primarily attributed to their robustness in handling complex constraints and finding near-optimal solutions.
A classical approach for reducing radar exposure is to decrease the Radar Cross-Section (RCS) of the aircraft. Some of the methods to reduce aircraft RCS include the usage of specialised composite materials [Reference Pang, Li, Wang, Yan, Chen, Sun, Xu and Qu8], paints that can absorb radar waves [Reference Baek, Lee and Joo9] and geometric alteration of the aircraft [Reference Zainud-Deen, Malhat and Shabayek10]. It is also reported that, by performing different manoeuvres, the radar exposure time can be reduced significantly [Reference Lingxiao and Deyun11]. Optimal path planning is considered a practical approach to minimise radar exposure. In a seminal study, Pachter and Hebert [Reference Pachter and Hebert12] used the calculus of variations technique to minimise radar exposure by minimising the energy reflected from a target. The method generated an optimal solution but was analytical, and its implementation on real aircraft and UAVs was deemed less practical. Moore [Reference Moore and Syst13] also carried out an interesting study of route planning to reduce the active RCC through control of bank and yaw angle. Similarly, Norsell [Reference Norsell14] suggested optimising the trajectory by minimising the flight time between given positions and the exposure to radar. For this purpose, spline approximations were used to generate a smooth curve as a flight path, and the radar detection range was calculated from the aircraft position, heading and bank angles.
One of the most notable studies in optimal path planning of stealth aircraft in the presence of missiles was carried out by Kabamba et al. [Reference Kabamba, Meerkov and Zeitz15, Reference Kabamba, Meerkov and Zeitz16]. This research used three distinct modules for problem formulation: aircraft, radar and missiles. The optimal control problem was formulated through aircraft lateral acceleration. Optimality conditions necessary for this problem were derived mathematically and considered to provide an efficient numerical solution to handle further complexities. Using this combination of aircraft, RCS, radar and missile models, optimal paths for aerial vehicles that could be used for practical problems by feeding in relevant/accurate data were generated. The model is used to generate paths for different numbers of radars under missile impact threats. The use of intelligent algorithms to solve similar problems may improve the performance and provide much better paths with minimum radar exposure, which is the niche examined herein.
Inclusion of machine learning techniques for path planning of aerospace vehicles has spurred a multi-disciplinary initiative. Recently, autonomous agents have been trained for different purposes through deep learning techniques. Reinforcement learning, a type of machine learning, is a well-established framework to solve complex control problems and optimal path planning issues [Reference Sutton and Barto17]. Recently, RL techniques have been applied to varied aerospace problems, such as fixed-wing UAV flocking problems [Reference Yan, Xiang and Wang18], avoidance of flying obstacles [Reference Ma, Wang, Niu, Wang and Shen19] and surveillance by UAV swarm [Reference Liu, Liu, Tian and Sun20]. Merging the techniques of deep learning with reinforcement learning gave birth to deep reinforcement learning (DRL), which is now commonly used to solve control problems for continuous states and space [Reference Carlucho, De Paula, Wang, Petillot and Acosta21, Reference You, Lu, Filev and Tsiotras22]. DRL can help to overcome the inherent uncertainties present in the model and decipher data from noisy sensors. DRL has shown promising results for UAVs performing different actions and tasks [Reference Carrio, Sampedro, Rodriguez-Ramos and Campoy23].
DRL has attracted significant attraction from the application-focused scientific community, including for aircraft dynamics, control and trajectory optimisation. Santos et al. [Reference Dos Santos, Nascimento and Givigi24] used DRL for attitude stabilisation and path tracking through learning automata, a stochastic-based reinforcement learning algorithm. Attitude and height parameters were tuned through this framework, and an optimal path to control the aerial vehicle was generated. This provided impressive stabilisation for UAVs in different environments, but discrete actions were used in this method for stabilisation and control.
Deterministic policy gradient algorithms provide a framework to deal with continuous actions and state space. These gradient-based algorithms can provide more effective estimation as compared with stochastic algorithms [Reference Silver, Lever, Heess, Degris, Wierstra and Riedmiller25]. Interest from the application-focused scientific community in the discipline of RL was aroused when AlphaGo, an AI trained agent, defeated the world’s best Go game players [Reference Silver, Huang, Maddison, Guez and Sifre26]. The algorithm was trained using a deep Q-network (DQN), a DRL algorithm developed by merging DL and RL techniques. The deep deterministic policy gradient (DDPG) algorithm by Lillicrap et al. [Reference Lillicrap, Hunt, Pritzel, Heess, Erez, Tassa, Silver and Wierstra27] is probably a better choice for solving complex control problems such as radar avoidance path planning, where aircraft must avoid radar signals to minimise their radar exposure in continuous action and state spaces. To study the effectiveness of DDPG in complex environments, a comparison study was recently conducted between DDPG and the Recurrent Deterministic Policy Gradient (RDPG) technique [Reference Wang, Wang, Shen and Zhang28]. Path planning with DDPG was fast as compared with RDPG. Note that the sensor noise in a natural environment is a big challenge. However, the effectiveness of the DDPG algorithm in path planning was established, thus providing a lead for the use of this algorithm.
Schulman et al. [Reference Schulman, Levine, Moritz, Jordan and Abbeel29] proposed another attractive policy gradient-based algorithm in 2015 and named it Trust Region Policy Optimisation (TRPO). This algorithm showed robust performance on several different tasks. By adjusting hyperparameters, TRPO can provide improvements in a variety of tasks, regardless of approximations. TRPO was aimed to handle high-dimensional problems in a continuous state. For aerial vehicles, Hwangbo et al. [Reference Hwangbo, Sa, Siegwart and Hutter30] used TRPO with gradient descent to control a quad-rotor. The results demonstrated the robustness of the approach even under harsh initialisation conditions.
Proximal Policy Optimisation (PPO), a much-refined version of TRPO, is known for its simplicity and ease of implementation [Reference Schulman, Wolski, Dhariwal, Radford and Klimov31]. PPO outperformed all the policy gradient methods and has shown surprising results for different problems. Heess et al. [Reference Heess32] and Lopes et al. [Reference Lopes, Ferreira, Da Silva Simoes and Colombini33] demonstrated effective PPO implementations for the stabilisation and control of a quad-rotor. For fixed-wing UAVs, Bohn et al. [Reference Bohn, Coates, Moe and Johansen34] used a PPO-based controller for efficient attitude control. The results, in comparison with the Proportional–Integral–Differential (PID) controller, were less sensitive to initial conditions and disturbances. Finally, Koch et al. [Reference Koch, Mancuso, West, Bestavros and Phys35] carried out a comparative study between RL algorithms and PID controllers for the problem of stability and control of UAVs. DDPG, PPO and TRPO were chosen from among the RL algorithms to train in a simulated environment. The results of these algorithms were compared with those obtained using the PID controller. The findings illustrated the enhanced performance of the RL algorithms in terms of time efficiency and accuracy and the desired stabilisation and control performance.
In this research, the common problem of radar evasion is selected to explore the efficacy of DRL algorithms in generating optimal paths. A modular approach is adopted, including three distinct segments: the aircraft kinematic model, the RCS model and the radar tracking model. An OpenAI Gym-based environment is created to train the DRL agents. Three DRL algorithms, viz. DDPG, TRPO and PPO, are used to compare their optimal solutions for path planning problems in five different scenarios. The results explore the efficacy and limitation of each algorithm for radar-evasive optimal path planning.
This section presents an introduction and review. Section 2 provides a brief review of deep reinforcement learning and the algorithms used in this research. In Section 3, the aircraft, RCS and radar models are discussed, along with the OpenAI gym model. Subsequently, the results and discussion section includes a comparison of the three algorithms for the five different cases. Conclusions are drawn in the final section.
2.0 Deep reinforcement learning
Reinforcement learning agents interact with the environment over time to maximise a reward [Reference Sutton and Barto17]. An initial state is given to the agent. The agent performs an action
$A_t$
in the environment and receives the next state
$S_{t+1}$
and the scalar reward
$R_{t+1}$
for time t by following a specific policy. Based on the action taken, received reward and next state, the agent performs the next action in the environment and continues to update the policy to maximise its performance. A simple RL framework for the optimal path planning problem is shown in Fig. 1.
The RL framework for path planning.

RL is implemented using either value- or policy-based algorithms. For value-based algorithms, RL depends upon the Q-function approximation. Q-learning and DQN are value-based algorithms. Policy parameterisation is performed for policy-based algorithms. For both cases, the use of these substantial approximators allows RL to handle complicated problems. Neural networks are widely used as approximators in applications of supervised learning. We decided to use three DRL algorithms named DDPG, TRPO and PPO to solve our problem. DDPG [Reference Lillicrap, Hunt, Pritzel, Heess, Erez, Tassa, Silver and Wierstra27] is a policy-based algorithm that operates on the actor–critic framework. It is an extension of the DQN algorithm for continuous state and action pairs. TRPO [Reference Schulman, Levine, Moritz, Jordan and Abbeel29] belongs to the on-policy family of RL algorithms and is used as a trust region constraint. TRPO makes use of KL divergence to ensure that the policy is not shifting much away from initial points. PPO [Reference Schulman, Wolski, Dhariwal, Radford and Klimov31] also belongs to the on-policy algorithms. It is an improved version of TRPO, ensuring that the new policy is close to the old policy while utilising only first-order optimisation techniques. PPO is much simpler to implement and shows monotonic results for various applications compared with other RL algorithms. Both PPO and TRPO use the advantage function, while DDPG makes use of the Q-value function.
Several reasons have made RL more popular than conventional optimal control techniques in the trajectory optimisation community. Both RL and traditional optimisation techniques can be used to achieve optimal control for a specific problem. The line between reinforcement learning approaches and traditional optimisation techniques can be blurry depending on the problem. The significant difference is that traditional optimisation approaches focus on finding values that maximise or minimise some objective function to achieve optimal control based on the problem. On the other hand, in reinforcement learning, an agent interacts with the environment and received some reward or penalty based on the action. The agent interacts with and explores the environment to achieve the maximum cumulative reward so that an optimal solution can be achieved based on the problem.
In traditional optimisation techniques, the system is said to be optimised if a local or global optimum is found, while the gradient field is theoretically zero. Meanwhile, in reinforcement learning, agents find the right actions to take in the environment with a time-based reward and penalty to achieve the maximum reward. As the problem becomes more complex, traditional optimisation techniques can become stuck in local optima and may not achieve optimal control. On the other hand, reinforcement learning is more successful for finding optimal control for complex control problems. Also, in traditional techniques, controllers learn offline. They are then fixed with the same solution, while in reinforcement learning, the agent can improve itself with time by interacting more and more with the environment.
The robustness of reinforcement learning in a complex dynamic environment, finding an optimal solution based on maximum reward and iterative learning, and improvement over time are the significant reasons to choose the optimal solution.
In this research, the optimal path planning problem is solved using DDPG [Reference Lillicrap, Hunt, Pritzel, Heess, Erez, Tassa, Silver and Wierstra27], TRPO [Reference Schulman, Levine, Moritz, Jordan and Abbeel29] and PPO [Reference Schulman, Wolski, Dhariwal, Radford and Klimov31]. The detailed mathematical formulation and performance of each algorithm are provided in the cited studies. The function approximation technique used in DDPG is not efficient as it sometimes fails to handle a much simple environment and may not provide effective and monotonic results. It also offers much lesser data efficiency and is not much flexible for different types of problems. TRPO has higher computation cost and is highly complex. Moreover, it is not amenable to noisy systems. Meanwhile, PPO is much simpler to implement, and its computation cost is significantly lower due to the first-order optimiser. It adds a soft restraint to the objective function, which can be easily handled without significantly affecting the policy. It may initially show some bad choices, but it tends to handle problems quite well over time by providing a good balance against optimisation speed. Theoretically, it is evident that PPO shows the best results, but it is also experimentally proven that PPO shows monotonic results while having a very simple implementation [Reference Koch, Mancuso, West, Bestavros and Phys35].
Aircraft position, velocity, azimuth, heading and aspect angles [Reference Kabamba, Meerkov and Zeitz16].

3.0 Modeling and problem formulation
The radar-evasion path planning problem is modelled using three sub-models for the aircraft kinematics, the RCS and the radar. The path planning is modelled in a two-dimensional planar space. An OpenAI Gym-based simulated environment is used to implement the DRL techniques.
3.1 Aircraft model
A basic aircraft kinematic model in planar space is used. It is assumed that the aircraft will move with constant speed in the horizontal plane at a constant height z. The following equation presents the aircraft model in the horizontal plane [Reference Kabamba, Meerkov and Zeitz16]:
where x and y are Cartesian coordinates,
$\psi$
is the heading angle as shown in Fig. 2, v is the constant velocity and u is the control input. The control input is basically the acceleration normal to the flight path vector [Reference Kabamba, Meerkov and Zeitz15]. note that
$| u | < U$
, where U represents the maximal permissible lateral acceleration.
3.2 RCS model
The RCS of the aircraft depends upon its size, shape, material used, direction and orientation. In this study, the RCS of an ellipsoid is considered. It is calculated from the combination of the aspect angle, elevation angle and bank angle [Reference Kabamba, Meerkov and Zeitz16]. The RCS is a function of these angles and calculated as
where
$\lambda$
is the aspect angle,
$\varphi$
is the elevation angle and
$\xi$
is the bank angle.
$\vartheta$
is the azimuth angle, and z is the aircraft altitude (considered constant in this problem(. u is the input signal that is being used as a control signal to solve this problem, and g is the acceleration due to gravity.
In its simplified form, the RCS model of the aircraft has similar effects compared with the ellipsoid model. It does not represent any specific aircraft but captures three eminent attributes useful for aircraft RCS: the larger beam aspect RCS, the relatively smaller RCS from the front face and the higher RCS from the top and below perspective. By considering these characteristics, an ellipsoid model can actually represent the aircraft RCS if the principal semi-axes of the ellipsoid are handled carefully [Reference Zhang, Wu, Dai and He36]. The model is represented as
where
$\lambda_{a}$
and
$\xi_{a}$
are considered to be
where a, b and c are the principal semi-axes. The values of these axes must be adjusted carefully so that the ellipsoid model can represent the aircraft RCS properly.
3.3 Radar model
The radar equation combines three important characteristics that include properties of the radar and target along with signal characteristics. The RCS is an important target property that can be combined with the radar characteristics, transmitted power and antenna area to calculate the reflected radar power. To track an aircraft using radar, the signal-to-noise ratio (SNR) must be calculated. To calculate the SNR, the signal power reflected by the target and received at the radar is calculated as [Reference Zhao, Niu, Ma and Ji37, Reference Richter and Gomes38]
where
$P_{t}$
is the peak transmitter power and
$G_{t}$
is the transmit gain calculated as
$4\pi A_{e}/(\lambda_w)^2$
.
$\lambda_w$
is the wavelength,
$A_{e}$
is the antenna area and R is the radar range. The average noise power for radar can be calculated as
where K is Boltzmann’s constant,
$T_{s}$
is the system noise temperature and
$B_{n}$
is the noise bandwidth of the receiver. In this paper, the problem of a search radar is formulated, being used to determine the unknown location of a target. The signal-to-noise ratio (SNR) for the search radar is calculated as
Here, the average power channelled by the radar is denoted as
$P_{\rm avg}$
,
$\omega$
is the solid angle searched by the radar and
$t_{s}$
is the scan time for
$\omega$
.
$A_{e}$
represents the antenna area,
$T_{s}$
is the system noise temperature and R is the radar range.
$\sigma$
is the RCS calculated using the RCS model described in Section 3.2, K is Boltzmann’s constant and L is the total system loss. After calculating the SNR for the target, the probability of detection is calculated based on the exposure time, RCS and range, thus providing a reward or penalty for the DRL agent during training.
3.4 The OpenAI Gym environment
OpenAI is designed to expand the credibility of the AI field, provide uniformity and establish better benchmarks by offering multifaceted environments with much easier setup methods. Similarly, the Gym toolkit is designed for the development and comparison of RL algorithms. The Gym contains versatile environments with both discrete and continuous states and action pairs, using different DRL algorithms. These are compatible with Keras, TensorFlow and PyTorch. In addition to already provided environments, customisation is also possible by following the general scheme of Gym environments.
In this research, the aircraft kinematics, RCS and radar models are implemented in the Gym simulation environment as continuous state and action space. The initial states and range of continuous actions are described in the environment, along with the reward and step functions. Five different simulated environments are designed as optimal path planning cases.
In this simulated environment, a 400
$\times$
400 pixel rectangle is taken. In Fig. 3, the green flag, blue flag, red circles and red aircraft represent the aerial vehicle starting position, target position, radars and aerial vehicle body, respectively. The initial and target positions are known a priori, whereas the radar positions are unknown to the DRL agent. The pixel to pixel distance is equated to 1,000m.
OpenAI Gym environment representation.

For case 1, as shown in Fig. 3(a), the starting point is (50, 50) while the target is at (150, 150). In this case, the aerial vehicle is supposed to reach the target in the absence of radar. The obvious optimal path will be the shortest distance. Figure 3(b) shows case 2, where the starting position is (50, 50) and the target position is (200, 200). A radar is placed at (120, 130) with a range of
$20\times10^{3}$
m. In cases 3 and 4, the aerial vehicle has to avoid two radars. The starting position in both cases is (20, 20), while the target position is (200, 200). In case 3,rRadars are located at (120, 90) and (120, 160), respectively, with range of
$20\times10^{3}$
m, as shown in Fig. 3(c). In case 4, radars are positioned at (120, 60) and (120, 150) with range of
$50\times10^{3}$
m, as shown in Fig. 3(d). In case 5, six radars are added in a diagonal to cover the maximum area and to offer a small window for the aerial vehicle to cross with minimum exposure, as shown in Fig. 3(e). For case 5, the starting point is (20, 20) while the target is located at (380, 380). The radars are located at (340, 40), (280, 100), (220, 160), (160, 220), (100, 280) and (40, 340). The first, third and fifth radar have a range of
$50\times10^{3}$
m, while the others have a range of
$40\times10^{3}$
m. The objective in all cases is to reach the target in the shortest possible time and with minimum radar exposure.
For all cases, the position of the radars is unknown to the agent (aerial vehicle). For a certain pixel location of the aerial vehicle, the RCS and SNR are calculated. A high SNR value indicates an increased probability of being tracked. As a result, the agent receives a negative penalty based on its action, due to which the agent will learn to avoid this position. The maximum reward for reaching the target
$R_{\rm tar}$
is 100. There is a time-based penalty for entering the range of a radar. If the agent remains in the range of a radar for longer, the penalty will keep increasing as the probability of tracking will increase. There is also a negative penalty for each step if the agent cannot reach the target position, to minimise the time and distance. The total reward can be expressed as
where
$R_i$
is the total reward for iteration i.
$R_{\rm tar}$
is the scalar reward for reaching the target,
$R_{\rm step}$
is a small reward for each step based on the action taken by the agent and
$R_{\rm track}$
is the negative reward for radar tracking, which will keep increasing as the radar exposure time increases. These rewards can be expressed by the following equations:
Here the range is the distance from the radar to the aerial vehicle, SNR is the signal-to-noise ratio at a specific iteration of time and t is the time for which the aerial vehicle is in radar range. This equation has been designed through iterative refinements to serve our objectives of minimum radar observance and shortest distance travelled effectively.
The algorithms are now implemented for optimal path planning of aerial vehicles. Initially, aerial vehicle control inputs along with mission details are provided to generate the mission environment. This environment contains the states, actions and reward details, which are then transferred to the DRL algorithms and the hyperparameters used to train the DRL agents. The DRL algorithm provides information regarding the next state, action and reward to the mission environment and updates its policy and value function by comparing it with previous information. This procedure continues until a complete episode is terminated and a path is generated for that specific episode. Subsequently, the next episode starts, and DRL agents keep updating their policy to maximise the future reward. After completing the training, the optimal path generated by the DRL algorithms is provided to the aerial vehicle to complete the mission efficiently. The complete architecture for optimal path planning is shown in Fig. 4.
Optimal path planning architecture.

4.0 Results and discussion
This section compares the DDPG, TRPO and PPO algorithms in the OpenAI Gym environment for the problem under discussion. The environment includes the five different cases discussed in Section 3.4. For each case, a comparison of the performance of the algorithms in terms of the reward and steps taken is described. The optimal paths obtained using each algorithm after training are compared for each case separately.
The speed and altitude of the aircraft are kept constant at
$v = 600$
m/s and
$z = 8,000$
m, respectively, for all cases. Similarly, a maximum permissible lateral acceleration of
$U = 78$
m/s is added as a constraint to handle turns effectively. For the RCS model, the values of the principal semi-axes a, b and c are taken as
$0.3172, 0.1784$
and
$1.003$
, respectively, so that the ellipsoid can represent the aircraft attributes efficiently for better calculation of the RCS. For the radar model, we use
$P_{\rm avg} = 0.5$
MW, an antenna width of 4.9m and an antenna height of 2.7m to calculate the antenna area
$A_e$
. The solid angle searched by the radar is
$\omega$
= 360deg, and the scan time
$t_s$
for the solid angle searched is 30s. The system noise temperature
$T_s = 500$
º C and total system loss L are considered to be 10dB.
For DDPG, two hidden layers for both the actor and critic network are used, with 400 and 300 units in each layer. The actor learning rate is
$10^{-3}$
, and the critic learning rate is
$10^{-4}$
. The target update rate
$\tau$
is 0.001 with a discount factor
$\gamma$
of 0.99. The experience replay buffer size is
$10^{6}$
with a mini-batch size of 64. For the actor network, the relu rectifier is used for all hidden layers except the output layer with a tanh layer. For the critic network, all the hidden layers use a relu rectifier. The Adam optimiser is used for gradient descent in both networks. The values of these hyperparameters are the same for all the cases.
For TRPO, the discount factor
$\gamma$
is 0.99, and the KL-divergence limit
$\delta$
is 0.01 for higher stability. The learning rate for the value function is 0.001, the backtracking coefficient
$\alpha$
is 0.8, the damping coefficient is 0.1 and the
$\lambda_{\rm GAE}$
is 0.97. The number of backtracking iterations and conjugate gradient iterations is ten, to maintain the balance of performance and speed of convergence. These hyperparameters for TRPO are the same for all cases.
For PPO, the discount factor
$\gamma$
is 0.99 and the clipping ratio
$\epsilon$
is 0.2. The learning rate for the value function is 0.001, the learning rate for policy is 0.0003,
$\lambda_{\rm GAE}$
is 0.97 and the batch size is 64. The number of gradient descent steps to take on the policy loss and value function per epoch is 80, and the value of the target KL divergence is 0.01. The hyperparameters of PPO are kept the same for all cases.
The computational resource used to train algorithms is an Intel(R) Core(TM) i7-9750H CPU with a 2.60GHz processor. The system includes 12 logical processors with 12MB cache and 24GB RAM. The software was executed on a Kingston A2000 NVMe SSD and with an Nvidia GTX 1650 4GB graphics card.
4.1 Case 1:
For case 1, the goal is to reach the target while following the shortest path. All three algorithms are trained to obtain optimal paths as shown in Fig. 5. For this case, the DDPG agent initially was not able to reach the target for almost 100 episodes, as shown in Fig. 5(a). Throughout the whole training period, DDPG could not stabilise the episodic steps to achieve an optimal solution with the shortest path. This can be attributed to the issue of the lower sample efficiency of the DDPG algorithm. DDPG utilises the function approximation technique, which is not very efficient for giving monotonic results. The path obtained from DDPG training is not accurate as it shows chatter in the path and cannot manage to generate a smooth path without staggers, as demonstrated in Fig. 5(d). This can be addressed by applying some curve-fitting techniques to identify a more appropriate path to be followed.
Comparison of training progress and paths for DDPG, TRPO and PPO for case 1.

Interestingly, TRPO converged rapidly in the initial 200 episodes, as shown in Fig. 5(b), but the path obtained from TRPO could be improved in terms of distance, as shown in Fig. 5(e). Due to the constraint used in TRPO, it did not try to find an optimal policy, which resulted in the construction of a less optimal path.
Finally, PPO gave optimum results for this case, achieving a balance between convergence speed and policy optimisation. It took more convergence time as compared with TRPO but was able to optimise the policy more efficiently, which is much more preferred. Figure 5(c) shows the PPO convergence during training. The path obtained from PPO is the shortest one in Fig. 5(f). Therefore, PPO was superior to DDPG and TRPO in terms of reaching the final target with the shortest path, although TRPO showed fastest convergence.
4.2 Case 2:
Case 2 includes one radar. The objective is for the aircraft to reach the target but avoiding radar tracking with the minimum distance. The radar is placed almost at the centre of the initial and target point, so the aerial vehicle must deviate from its path to reach the target safely. The RCS is calculated using the RCS model, then applied to estimate the SNR at each state. If the SNR is higher than the acceptable value, the DRL agent starts to receive a negative reward, such that it changes its path. The training progress and optimal paths of the three DRL algorithms are shown in Fig. 6.
Comparison of training progress and paths for DDPG, TRPO and PPO for case 2.

The DDPG algorithm failed to stabilise the episodic steps in attaining the optimal path. Since it is an off-policy algorithm, the policy update by taking a gradient is very much appropriate for this case, as shown in Fig. 6(a). As the complexity of the problem is increased, chatter in the path is also much higher, as seen in Fig. 6(d). Some curve-fitting techniques could be used to achieve a better path.
TRPO performed best for this case. It managed to train much quickly and showed convergence in the initial 100 episodes. To obtain an optimal path, it managed to stabilise training steps efficiently by optimising the policy quite well, as shown in Fig. 6(b). During this training, the new policy obtained by objective function resulted in a much more efficient path with minimum distance. Figure 6(e) shows the optimal path obtained from TRPO, revealing that the agent entered the radar range but then managed to escape from it and reach the target without being tracked while following the shortest path. The agent thus learned to avoid the radar to reach the target with minimal radar exposure.
PPO suffered in optimising the policy for this case. The convergence speed was much slower, as shown in Fig. 6(c), and it could not stabilise the training steps well to generate an optimal path. It may need some hyperparameter tuning to make it more effective, or more training time is required to achieve proper convergence. The path obtained from PPO, shown in Fig. 6(f), is not the shortest or optimal path for this problem. The problem formulation may require some tweaking of hyperparameters. However, for comparison purposes, the hyperparameters are set the same for all the cases. Overall, TRPO outperformed DDPG and PPO for this case.
4.3 Case 3:
For case 3, two radars are placed at different positions in the path to increase the complexity of the optimal path planning problem. The goal is to reach the target with minimum exposure to both radars while following the shortest path. The SNR for both radars is estimated at each state to give the agent a reward or penalty based on the action taken in the environment. The aircraft must reach the target by deviating from the radars to achieve the maximum reward. The DDPG, TRPO and PPO algorithms are trained to generate optimal paths as shown in Fig. 7.
Comparison of training progress and paths for DDPG, TRPO and PPO for case 3.

The performance of the DDPG algorithm for this case is not good, due to its poor convergence. It cannot stabilise the training steps and reward to generate an optimal path, as shown in Fig. 7(a). Due to the reduced data efficiency of DDPG and function approximation technique, the policy is not very optimal to achieve monotonic results. The path obtained from the training of this case with DDPG managed to reach the target, but the chatter in the path was much greater than in any previous case, as shown in Fig. 7(d). It is challenging to implement any curve-fitting technique on this path due to the amount of chatter.
TRPO tends to converge much earlier in this case too. It manages to stabilise the episodic steps to obtain monotonic results, as shown in Fig. 7(b). The path obtained from TRPO is quite good, but not optimal. It is not the shortest path to reach the target while avoiding radar exposure, as shown in Fig. 7(e). The TRPO agent managed to avoid the radar and reach the target without detection, but it converged on a local optimal policy and did not try to optimise it any further to obtain better results. Therefore, this higher convergence speed is of no use if the objective is not fulfilled in this way.
PPO training took more time to converge than TRPO training, but it provided optimal results. As seen from Fig. 7(c), PPO managed to stabilise the episodic steps by providing a balance between policy optimisation and convergence speed. This balance tends to generate a more optimal path, as shown in Fig. 7(f). The PPO agent managed to avoid radar to minimise the radar exposure and reach the target by following the shortest path possible. The same hyperparameters values are used for this case, too, without any separate tuning. PPO is thus recommended for these types of cases.
4.4 Case 4:
The complexity of the optimal path planning problem was further increased by giving no open space for the aerial vehicle to move without radar detection. Here, the goal is to reach the target with as little radar exposure as possible. To achieve this, the aircraft can pass through edges or radars overlapping points by handling the scan time
$t_s$
of the radars efficiently; the aircraft speed, SNR and
$t_s$
play an important role in achieving the minimum radar exposure. The training progress of DDPG, TRPO and PPO along with the optimal path obtained from each algorithm are shown in Fig. 8.
Comparison of training progress and paths for DDPG, TRPO and PPO for case 4.

DDPG completely under-performed for case 4. The DDPG agent did not even manage to reach the target for most of the cases, as seen from the training steps in Fig. 8(a). The maximum number of steps allowed for a single episode is 1,600, but even after 1,600 steps, it did not manage to reach the target. One of the paths obtained from DDPG training is shown in Fig. 8(d). It is not a straight path and shows significant chatter.
Both TRPO and PPO managed to converge by optimising the policy well. PPO took more time to achieve convergence as compared with TRPO. The training progress for these is shown in Fig. 8(b) and (c). PPO and TRPO follow different paths to reach the target to avoid radar tracking as much possible, as shown in Fig. 8(e) and (f).
4.5 Case 5:
Multiple radars are placed in a diagonal for maximum tracking in this case. Here, the objective is to reach the target with minimum radar tracking while having the shortest path. The SNR for each radar is calculated using the distance from the aerial vehicle and RCS to estimate the probability of tracking, based on which a positive reward or penalty is given to the DRL agents to improve the policy, leading to a more optimal path with lower tracking probability. The training progress and path obtained by the DDPG, TRPO, and PPO agents is shown in Fig. 9.
Comparison of training progress and paths for DDPG, TRPO and PPO for case 5.

The DDPG training results for these cases are not admissible, as in the previous case. The DDPG agent cannot reach the target even after 1,600 steps in most of the cases and failed to stabilise the training steps by optimising the policy, as shown in Fig. 9(a). The path with maximum reward obtained from DDPG is shown in Fig. 9(d). This can be the shortest path, but still the chatter is not acceptable for such a complex control problem.
Quantitative comparison of algorithms

TRPO and PPO managed to converge in this complex case too, showing some satisfactory results. TRPO converged much earlier as compare with PPO, as seen from Fig. 9(b) and (c). The policy optimisation of PPO was much better than TRPO, as is obvious from the path obtained from these algorithms. The paths obtained from TRPO and PPO are shown in Fig. 9(e) and (f), respectively. Both try to follow the path with minimum radar tracking probability. However, the path obtained from PPO training is much shorter and optimal as compared with TRPO, and the radar tracking probability is also lower for PPO too. More optimal paths and training results could be achieved by tuning the hyperparameters and training for slightly more time.
4.6 Comparison of algorithms for optimal paths
A quantitative comparison of DDPG, TRPO and PPO is carried out for the mentioned cases to select the best algorithm and optimal paths. For the quantitative comparison, some parameters are selected: average reward, maximum episodic reward, minimum steps taken to reach the target and computing time for a fixed number of episodes. Table 1 presents the quantitative values for these parameters. Here, TRPO shows the maximum average rewards for most of the cases. However, the path obtained from TRPO is not optimal compared with PPO, as shown in the previous section, which means that TRPO becomes stuck in a local optimum solution instead of finding the optimal global solution. PPO took more training episodes to achieve optimal solutions as compared with TRPO. On the other hand, PPO shows the maximum episodic reward for most cases because the paths obtained are more optimal in terms of radar avoidance and shortest distance. As the path obtained from PPO is shown to be the shortest possible, the minimum steps are taken through the PPO algorithm as illustrated by the quantitative values in the table. Computing time is also a major concern regarding RL algorithm efficiency. Here, DDPG, TRPO and PPO are calculated without rendering or writing data to disk. In terms of computing time, PPO shows excellent results. For case 5, the most complex case in this study, PPO took only 39 min for 2,000, whereas DDPG took 433min and TRPO took 201min, revealing that PPO could be used for real-time training on some higher-specification system.
PPO shows optimal results based on optimal paths with minimum radar tracking and maximum episodic rewards. The shortest path is taken to reach the target with the minimum computing time for training. To select the best algorithm for optimal paths based on our cases, the performance parameters are compared in Table 2. The performance parameters selected for comparison include the target reached, shortest distance, maximum reward, minimum tracking, fastest convergence and resultant optimal path. For the earlier cases, DDPG can reach the target after some initial episodes. However, as the complexity increases, DDPG tends to reach the target just for some random episodes but cannot constantly follow that path or optimise it. TRPO and PPO performed well by reaching the target after some initial training episodes. PPO outperformed DDPG and TRPO in achieving the shortest distance, maximum reward and minimum track. At the same time, TRPO showed the fastest convergence in all cases. Based on the shortest distance, maximum reward and minimum tracking, PPO provides the desired optimal paths for most cases. The selection of the best algorithm for the mentioned cases is presented in Table 2 based on the selected parameters, indicating that PPO is the best choice in terms of most of the performance parameters.
Selection of best algorithm based on performance parameters

Overall, DDPG under-performed in obtaining optimal paths, especially as the complexity increased. Both TRPO and PPO showed comparable results in each case. TRPO showed a tendency to converge to optimal local solutions and was thus unable to complete policy optimisation and achieve monotonic results. The results of PPO are deemed to be most impressive in most cases, but it may require hyperparameter tuning to achieve truly excellent results. Based on the findings of this study, PPO is the best algorithm considering the optimal paths with minimum radar tracking, shortest path obtained, maximum episodic reward and minimum computing time.
5.0 Conclusions
This paper used the OpenAI Gym-based environment to handle optimal path planning problems in the two-dimensional horizontal plane. Five different cases with distinct radar combinations are considered. In each case, the RL algorithms DDPG, TRPO and PPO are trained and optimal paths obtained. A comparison is then carried out to select the best algorithms for optimal path planning based on different performance parameters. The results confirm that RL can be used to obtain optimal paths. PPO outperformed DDPG and TRPO for generating optimal paths. DDPG under-performed in finding optimal solutions, while TRPO showed the fastest convergence. For our cases, the hyperparameter values were kept the same. Rigorous tweaking of hyperparameters may provide more optimal results. The results of this study could provide a baseline for further exploration of RL algorithms in more complex environments.
Supplementary material
To view supplementary material for this article, please visit http://dx.doi.org/10.1017/aer.2021.85.









