Unmanned aerial vehicle (UAV) swarms are widely applied in various fields, including military and civilian domains. However, due to the scarcity of spectrum resources, UAV swarm clustering technology has emerged as an effective method for achieving spectrum sharing among UAV swarms. This paper introduces a distributed heterogeneous multi-agent deep reinforcement learning algorithm, named HMDRL-UC, which is specifically designed to address the cluster-based spectrum sharing problem in heterogeneous UAV swarms. Heterogeneous UAV swarms consist of two types of UAVs: cluster head (CH) and cluster member (CM). Each UAV is equipped with an intelligent agent to execute the deep reinforcement learning (DRL) algorithm. Correspondingly, the HMDRL-UC consists of two parts: multi-agent proximal policy optimization for cluster head (MAPPO-H) and independent proximal policy optimization for cluster member (IPPO-M). The MAPPO-H enables the CHs to decide cluster selection and moving position, while CMs utilize IPPO-M to cluster autonomously under the condition of certain partial channel distribution information (CDI). Adequate experimental evidence has confirmed that the HMDRL-UC algorithm proposed in this paper is not only capable of managing dynamic drone swarm scenarios in the presence of partial CDI, but also has a clear advantage over the other existing three algorithms in terms of average throughput, intra-cluster communication delay, and minimum signal-to-noise ratio (SNR).
The proliferation of UAVs operating in complex interference environments has intensified the demand for collaborative spectrum management to mitigate interference and maximize network capacity. This paper proposes a heterogeneous graph neural network (HGNN) framework for collaborative spectrum management in hierarchical UAV communication networks. The proposed architecture consists of three layers: a Terminal Transmission and Control Layer for local spectrum monitoring, a Sub-Domain Transmission and Control Layer for regional interference localization, and a Global Control Layer for network-wide spectrum optimization. Each layer incorporates multiple sensing UAVs that communicate exclusively with their own layer’s Transmission and Control UAV (T&C UAV), which aggregates and processes data from its subordinate sensing nodes and forwards the result upward through the T&C UAV chains. A hierarchical heterogeneous graph neural network with intra-layer and inter-layer message passing mechanisms was designed to capture the complex spatial–temporal dependencies in the spectrum environment under non-uniform interference conditions. The simulation results demonstrate that the proposed HGNN framework achieves steady-state utility gains of approximately 7.1% and 1.4% over the SL-GNN in 48-node and 81-node scenarios, respectively, along with corresponding Interference Suppression Ratio (ISR) improvements of 1.5 dB and 2.9 dB against the SL-GNN.