This invention discloses a
client selection method and
system for multi-task
federated learning. Addressing the shortcomings of
client selection and insufficient consideration of task urgency in multi-task dynamic
federated learning scenarios, this invention first constructs a multi-task
federated learning system model, defining a utility function that includes learning quality and penalty terms. Second, it establishes fairness constraints and introduces a fairness
queue to transform the problem into a
queue stability problem. Then, based on
Lyapunov optimization theory, it constructs a drift-plus-utility function, transforming a long-term stochastic
optimization problem into a deterministic
optimization problem for each round of communication by minimizing its upper bound. Finally, it constructs an auxiliary
bipartite graph to transform
client selection into a minimum-weight
bipartite graph matching problem. This invention, by jointly optimizing fairness, learning quality, and task urgency through the Lyapunov framework, transforms long-term constraints into a solvable problem for each round, reducing computational complexity and achieving efficient and fair dynamic client selection.