The application discloses a federated
continual learning cross-layer optimization method for a UAV
relay network, and aims at the problems of easy occurrence of catastrophic forgetting of a model and high
system time
delay in a streaming task training scene.The application constructs a
system architecture comprising a
base station, a UAV and a plurality of ground clients; a task
stability index is obtained by calculating the gradient similarity between a current task and a historical task of a
client, and a
system efficiency index is obtained by combining the
client computing time
delay and the communication time
delay, so as to jointly select a target
client participating in aggregation; in order to anchor historical knowledge, local compensation updating is performed at the
client side based on the historical task gradient, and post-aggregation compensation correction is performed at the
base station side based on the historical global gradient; and a cross-layer optimization model about the client computing frequency,
bandwidth allocation, UAV trajectory and
relay strategy is further established to minimize the maximum
completion time delay of the system. The application can improve the
model learning precision, reduce catastrophic forgetting and reduce the
training time delay.