Introduction
Federated Reinforcement Learning (FRL) is widely regarded as a privacy-preserving framework where multiple agents train locally and share only model gradients with a central server. This approach aims to keep raw training data—comprising states, actions, and rewards—private. However, this research identifies a critical vulnerability: the Regularization Gradient Inversion Attack (RGIA). While gradient inversion has been demonstrated in supervised learning, applying it to Reinforcement Learning (RL) is challenging due to the "pseudo-solution problem," where complex dependencies between states and actions lead to multiple mathematically valid but physically impossible reconstructions.
Methodology: Regularization Gradient Inversion Attack (RGIA)
The proposed RGIA is an optimization-based attack designed to overcome the ambiguity of RL gradients by incorporating prior knowledge of environment physics and reward structures. The attack utilizes a combined loss function with three key regularization terms:
- State Regularization: Constrains reconstructed states to the known distribution of the environment to prevent "out-of-bounds" hallucinations.
- Reward Range Regularization: Implements a soft penalty to ensure reconstructed rewards fall within plausible, environment-specific limits.
- Dynamics Consistency Regularization: Employs a pre-trained transition model to ensure that the sequence of reconstructed states and actions is physically reachable.
By narrowing the search space to physically plausible solutions, RGIA effectively resolves the pseudo-solution problem that plagues standard gradient inversion techniques.
Experimental Setup
The effectiveness of RGIA was evaluated across several benchmarks including high-dimensional image tasks (Atari games and Car Racing) and low-dimensional vector tasks (MuJoCo physics simulations like Hopper and Ant). RGIA was compared against four adapted supervised learning baselines: DLG, GradInv, GIFD, and DFLeak.
Key Results and Discussion
RGIA demonstrates superior reconstruction capabilities across both image-based and vector-based environments. In high-dimensional tasks like Car Racing and Pong, RGIA achieved significantly higher Peak Signal-to-Noise Ratio (PSNR) and Structural Similarity Index (SSIM) scores compared to baselines as training iterations progressed.
Visually, the difference is stark. While baseline methods like DLG often produce noisy or unrecognizable frames, RGIA successfully reconstructs recognizable game states that closely match the ground truth, even recovering specific game elements like the paddle position in Pong.
Furthermore, RGIA achieved high Recovery Accuracy (RA) for actions, often exceeding 80-90% in complex environments. The attack remains effective even with minimal prior knowledge, requiring as little as 0.3% of "public" data to estimate state distributions. The study also explored potential defenses; while Differential Privacy (DP) can mitigate the attack by adding noise to gradients, it introduces a significant trade-off, often degrading the RL agent's performance to unacceptable levels.
Conclusion
This research highlights a significant privacy risk in Federated Reinforcement Learning. By leveraging environment-specific constraints, RGIA can accurately recover sensitive training data from shared gradients. Future work will focus on scaling these attacks and developing robust defense mechanisms that protect privacy without compromising the utility of the learned agents.
Summary updated