Exploring UAV autonomous navigation algorithm based on soft actor-critic

Kai Kou, Gang Yang, Wenqi Zhang, Xincheng Liu, Yuan Yao, Xingshe ZhouXibei 2024

Abstract

Existing deep reinforcement learning (DRL) algorithms often struggle with local environment perception and insufficient information in UAV autonomous navigation tasks. This paper investigates UAV navigation in unknown environments using a nondeterministic Soft Actor-Critic (SAC) model. We propose a policy network based on a memory enhancement mechanism that integrates historical information with current observations to extract temporal dependencies. This approach enhances state estimation under locally observable conditions and prevents the algorithm from converging on local optima. Additionally, a non-sparse reward function is designed to improve convergence. Validated on the AirSim+UE4 platform, our method achieved a 10% higher success rate and a 21% shorter average flight distance compared to benchmark algorithms, demonstrating superior stability and efficiency.

Introduction

Autonomous UAV navigation in unknown, complex environments—such as disaster zones or dense forests—is a significant challenge in robotics. Traditional methods often rely on pre-existing maps, which are rarely available in real-world scenarios. While Deep Reinforcement Learning (DRL) allows drones to learn through trial and error, it faces two primary hurdles: partial observability and sparse rewards. Drones only perceive what their sensors (e.g., depth cameras) capture at a given moment, leading to a lack of context about previously visited areas. Furthermore, standard reward systems often only signal success at the final goal, making the learning process slow and inefficient.

The reinforcement learning loop for UAV navigation in a simulated urban environment.

Methodology: The SAC-LSTM Framework

To address these challenges, we built upon the Soft Actor-Critic (SAC) algorithm. SAC is an off-policy framework that maximizes both expected rewards and policy entropy, encouraging exploration and preventing premature convergence on sub-optimal behaviors.

Memory Enhancement via LSTM

The core innovation of this research is the integration of a Long Short-Term Memory (LSTM) layer into the policy network. By processing a sequence of the last three depth image frames ($I_t, I_{t-1}, I_{t-2}$), the drone gains a temporal "memory." This allows the agent to estimate its state more accurately even when current sensor data is limited or noisy, effectively mitigating the partial observability problem.

Architecture of the proposed SAC-LSTM policy network, featuring convolutional layers for image processing and LSTM units for memory enhancement.

Dense Reward Function Design

To overcome the "sparse reward" problem, we designed a multi-component dense reward function:

  • Distance Reward: Positive reinforcement for reducing the distance to the target.
  • Angle Reward: Points for aligning the drone's velocity vector with the target direction.
  • Termination Reward: Large bonuses for reaching the goal and significant penalties for collisions or timeouts.

Experimental Results

The SAC-LSTM model was rigorously tested against standard DRL benchmarks (PPO, DDPG, TD3, and standard SAC) over 200 trials in complex simulated scenarios using the AirSim and Unreal Engine 4 platform.

  • Success Rate: The proposed model achieved a 92% success rate, significantly outperforming standard SAC (82%) and PPO (62%).
  • Flight Efficiency: The average flight distance was reduced to 193.6 meters, which is 21% shorter than the standard SAC baseline.
  • Behavioral Insights: The memory component successfully prevented "oscillatory" behavior near obstacles. Interestingly, the agent naturally learned to adjust its altitude to clear obstacles more efficiently, a behavior that emerged without explicit programming.

Conclusion and Future Work

The SAC-LSTM framework provides a robust solution for UAV navigation in unknown environments by leveraging temporal dependencies and dense rewards. While the results in simulation are promising, future work will focus on bridging the "sim-to-real" gap through transfer learning and optimizing the computational overhead of LSTM layers for power-constrained onboard hardware.

Summary updated

BibTeX
@inproceedings{kou2024exploring,
  author = {Kai Kou and Gang Yang and Wenqi Zhang and Xincheng Liu and Yuan Yao and Xingshe ZHOU},
  title = {{Exploring UAV autonomous navigation algorithm based on soft actor-critic}},
  booktitle = {Xibei},
  year = {2024},
  doi = {10.1051/jnwpu/20244220310},
}
Figure