Research on multi UAV attack defense confrontation algorithm based on machine learning

Bo LiuAcademic 2021

Abstract

In recent years, the deployment of Unmanned Aerial Vehicles (UAVs) has expanded across military, industrial, and agricultural sectors. However, single-drone operations are often insufficient for complex tasks like persistent target tracking. This paper explores a cooperative path-planning method for multiple UAVs using a Multi-Agent Deep Deterministic Policy Gradient (MADDPG) algorithm. By addressing the challenges of non-stationarity and sparse rewards through centralized training and a novel guided reward function, the proposed system enables a swarm of drones to dynamically adjust flight paths in real-time for optimized target tracking.

Introduction: The Challenge of Multi-Agent Coordination

While UAV technology has advanced significantly, coordinating multiple agents to perform a singular task, such as tracking a moving target, remains a significant hurdle. The primary technical difficulty is non-stationarity. In a multi-agent environment, the optimal action for one drone depends on the simultaneous actions of others. Because all agents are learning and changing their behavior at once, the environment appears unstable from an individual agent's perspective. Traditional reinforcement learning (RL) algorithms, which typically assume a stationary environment, often fail to converge in these scenarios.

Furthermore, the problem of sparse rewards complicates learning in continuous 3D spaces. If a drone only receives feedback upon total success or failure (e.g., a crash), it struggles to learn the nuanced maneuvers required for effective tracking.

Methodology: MADDPG and Guided Rewards

To overcome these obstacles, this research utilizes the Multi-Agent Deep Deterministic Policy Gradient (MADDPG) framework. This approach employs an "Actor-Critic" architecture designed specifically for multi-agent systems.

The MADDPG framework utilizes centralized training with decentralized execution, where critics observe the global state while actors rely on local observations.

Actor-Critic Architecture

As illustrated in the architecture, each UAV is controlled by its own Actor network. During execution, the actor makes decisions based solely on its local observations, allowing for decentralized operation. During the training phase, however, a Critic network is used. This critic has access to the "global" state—including the actions and observations of all other agents—to provide a more accurate evaluation of an agent's performance. This "Centralized Training, Decentralized Execution" (CTDE) paradigm allows agents to learn to account for their peers' behaviors without requiring constant high-bandwidth communication during deployment.

Guided Reward Function

A critical innovation in this study is the implementation of a Guided Reward Function. Rather than relying on sparse end-of-mission rewards, the authors developed a continuous reward signal based on:

  1. Proximity: The change in distance between the UAV and the target.
  2. Directional Alignment: A cosine similarity function that rewards the UAV for aligning its velocity vector with the target's position.

This mathematical construction ensures that agents receive constant feedback, preventing the "vanishing gradient" problem and encouraging the learning of efficient approach paths.

Simulation and Implementation

The algorithm was validated using a robust simulation stack. The team integrated ROS (Robot Operating System) Kinetic with Gazebo to create a physics-based 3D environment. This setup allowed for the modeling of quadrotor dynamics and realistic sensor interactions.

The Gazebo-based simulation environment used to train and test the multi-UAV tracking algorithm.

The simulation environment serves as the primary data source, where multiple agents interact with a target in a bounded 3D space. The use of the Multi-Agent Particle Environments (MPE) provided a standardized framework for defining agent interactions and goals.

Results and Discussion

The experimental results demonstrate the efficacy of the MADDPG approach with guided rewards:

  • Rapid Convergence: The system began to exhibit effective tracking behaviors after approximately 1,000 iterations.
  • Optimization: By 10,000 episodes, the UAVs achieved highly optimized flight paths, maintaining a stable "attack-defense" stance relative to the target.
  • Generalization: The trained models showed potential for scaling; the underlying logic could be applied to larger clusters of UAVs without requiring a complete redesign of the state space.

Conclusion and Future Directions

This research successfully demonstrates that MADDPG, combined with a guided reward structure, can solve the non-stationarity and sparse reward problems inherent in multi-UAV coordination. While the current study was limited to a small number of agents in simulation, it provides a foundation for future work. Next steps include scaling the swarm to dozens of drones to observe emergent behaviors and transitioning the algorithm to physical hardware to test its resilience against real-world environmental factors like wind and sensor noise.

Summary updated

BibTeX
@inproceedings{liu2021research,
  author = {Bo Liu},
  title = {{Research on multi UAV attack defense confrontation algorithm based on machine learning}},
  booktitle = {Academic},
  year = {2021},
  doi = {10.25236/ajcis.2021.040308},
}
Figure