Abstract
Federated Learning (FL) enables decentralized model training across numerous edge devices while preserving data privacy. However, selecting the optimal subset of clients in each training round remains a significant challenge due to statistical heterogeneity (Non-IID data), system heterogeneity (varying hardware capabilities), and strict resource constraints. Traditional methods, such as heuristics or reinforcement learning, often struggle with the massive, discrete search space of client combinations. This paper presents FedGCS (Federated Generative Client Selection), a novel framework that treats client selection as a generative task. By mapping discrete client subsets into a continuous representation space, FedGCS enables gradient-based optimization to identify selections that maximize model performance while minimizing latency and energy consumption.
Introduction
In Federated Learning, the server must choose a subset of available devices to participate in each global update. This selection process is critical because "stragglers" (slow devices) can delay the entire round, and clients with non-representative data can hinder model convergence. The problem is compounded by the sheer number of possible combinations; for a pool of $N$ clients, selecting $k$ participants results in $\binom{N}{k}$ possibilities—an astronomically large discrete space that makes exhaustive search or standard reinforcement learning (RL) inefficient.
Existing approaches typically fall into two categories: manual heuristics, which are difficult to tune for complex, dynamic environments, and RL-based agents, which often suffer from slow convergence in high-dimensional action spaces. FedGCS addresses these limitations by transforming the discrete selection problem into a smooth, differentiable optimization task.
The FedGCS Framework
FedGCS utilizes a generative architecture to navigate the client selection landscape. The framework operates through a four-stage pipeline:
- Data Collection and Meta-Learning: FedGCS begins by observing the behavior of "teacher" algorithms (such as Oort or FedMarl). It collects a dataset of selection-score pairs, where each pair links a specific client subset to a multi-objective score reflecting accuracy, latency, and energy efficiency.
- Continuous Space Mapping: To bridge the gap between discrete IDs and continuous optimization, the framework employs a Sequence-to-Sequence (seq2seq) architecture. An LSTM encoder maps discrete lists of client IDs into a continuous vector space ($\mathbb{S}$), while an Evaluator network learns to predict the performance score of any vector in this space.
- Gradient-based Optimization: Rather than searching through discrete combinations, FedGCS performs gradient ascent within the continuous space. Starting from an initial representation, it follows the gradient of the Evaluator network to locate the vector that represents the highest predicted performance score.
- Generative Output: The optimized continuous vector is passed to an LSTM decoder. Using beam search, the decoder translates the vector back into a discrete list of participating client IDs for the current training round.
By internalizing the "wisdom" of multiple existing algorithms, FedGCS acts as a meta-learner that can generalize across different scenarios more effectively than any single heuristic.
Experimental Evaluation
The framework was evaluated across diverse benchmarks, including Computer Vision (MNIST, CIFAR-10, CINIC-10, TinyImageNet) and Natural Language Processing (Shakespeare, Wikitext). To simulate real-world conditions, the researchers used Dirichlet distributions for Non-IID data and integrated hardware profiles from devices like the Google Pixel 6 and NVIDIA Jetson Nano.
Key Results
FedGCS consistently outperformed state-of-the-art (SOTA) baselines across three primary metrics:
- Accuracy: In highly heterogeneous settings, FedGCS improved test accuracy by up to 20.35% over vanilla FedAvg and 3.16% over the best existing SOTA selection methods.
- Latency: The framework significantly reduced the time required to reach target accuracy. On CIFAR-10, FedGCS achieved target performance with an average round latency of 15.34 minutes, compared to 20.13 minutes for Oort.
- Energy Efficiency: By avoiding resource-heavy or inefficient clients, FedGCS reduced energy consumption by 10-40% compared to other optimized selection strategies.
- System Overhead: Despite its generative nature, the framework is highly efficient. The server-side processing time is less than one minute per round, with a memory footprint under 0.1 MB, making it suitable for practical deployment.
Discussion and Future Work
The primary innovation of FedGCS is the "smoothing" of the selection landscape. By making the optimization differentiable, it bypasses the combinatorial explosion that plagues traditional selection methods. Furthermore, its multi-objective design allows developers to explicitly balance the trade-offs between model quality and hardware constraints.
However, some challenges remain. FedGCS currently faces a "cold start" problem, as it requires initial data from other algorithms to train its internal models. Additionally, while the framework scales well to 100 clients, its performance in environments with millions of devices—common in cross-device FL—requires further investigation. Future research will focus on online updates to the encoder-decoder framework to adapt to shifting client data distributions in real-time.
Summary updated