{'fraction_non_alphanumeric': 0.02389705882352941, 'fraction_numerical': 0.0009191176470588235, 'mean_word_length': 5.5602409638554215, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Deep Reinforcement Learning-Based Trajectory Planning for Secure UAV Communication

Preventing illegal eavesdropping and establishing reliable and secure wireless communication is an urgent and challenging task. This paper studies the ground-to-UAV (G2U) communication system with a malicious eavesdropper. The optimization goal of this paper is to maximize the accumulated secrecy rate of the system by optimizing the UAV trajectory and connection sequence, which is a mixed-integer nonlinear programming (MINLP) problem. We formulate this problem as a Markov decision process (MDP) with finite states and actions, and implement the double deep Q network (DDQN) algorithm to solve it. To verify the effectiveness of the scheme, experiments are carried out in a simulation environment. Simulation results and numerical analysis demonstrate that the DDQN-based scheme can optimize the trajectory of the legitimate UAV, has a faster convergence speed and better security than the nature deep Q network (DQN) algorithm, and significantly improves the communication performance of the system.