Adaptively Poisoning Federated Learning Through Hybrid Action Space Deep Reinforcement Learning
Abstract
Federated Learning (FL) enables collaborative model training without direct data sharing, providing a solution for privacy-sensitive applications where utility must be balanced with confidentiality. However, this decentralized architecture is inherently vulnerable to model poisoning attacks, wherein adversarial clients submit manipulated updates to degrade the global model’s performance. By reducing the model’s accuracy on its intended task, these attacks aim to render the FL system useless. To counter this, servers can employ Byzantine-Robust Aggregation Rules (BRARs) designed to statistically filter or otherwise neutralize adversarial contributions. While static attack strategies such as gradient ascent or random noise injection successfully exploit the simple averaging used in standard FL, BRARs are able to mitigate these attacks. In response, adaptive strategies have emerged, utilizing techniques like Reinforcement Learning (RL) to dynamically optimize attack parameters. However, these approaches suffer from a fundamental limitation: they optimize parameters for a fixed attack strategy. If a defense offers theoretical guarantees or shows high empirical resilience against that specific strategy, further optimization of its parameters yields diminishing returns. To overcome this limitation, we propose HyDRA (Hybrid Action Space Deep Reinforcement Learning Adversary), a novel attack framework that formulates poisoning as a hybrid action space problem. Unlike prior works, HyDRA jointly optimizes the discrete selection of an attack strategy (basic attack type) and its parameters (augmenting factors), allowing the adversary to dynamically identify the specific combination required to bypass the defense of the target FL system. We train our attack policy—a learned mapping from parameter observations of the global model to the optimal combination of attack type and parameters—within a simulated FL environment to thoroughly explore this hybrid action space. However, the added complexity of our hybrid optimization task results in significant training instability when used with prior training methods. Furthermore, the policy’s effectiveness relies on the simulation’s fidelity. As prior data reconstruction methods fail to capture the statistical heterogeneity of benign clients, they hinder the successful transfer of our learned strategies outside the simulation environment. To improve the robustness of convergence and generalization to target FL systems, we introduce the following four features into the design and implementation of HyDRA: (1) a Maximum Likelihood Estimation (MLE) strategy to reconstruct client data distributions for effective transfer from simulation to reality; (2) a two-stage simulation training phase to ensure sufficient exploration; (3) a Discrete Cosine Transform (DCT) based state compression technique to prevent overfitting; and (4) a reward mechanism combining Monte Carlo returns and bootstrapping to reduce signal noise. Our experiments across multiple datasets demonstrate that HyDRA outperforms both static and adaptive baselines, exposing critical vulnerabilities in advanced defenses while maintaining lower computational overhead than prior RL-based approaches.