TL;DR
Fed-GRPO is a novel federated learning framework designed to train reasoning LLMs using Group Relative Policy Optimization (GRPO) without sharing sensitive raw data. By repurposing the reward statistics naturally generated during RL training as "zero-cost" coordination signals, it achieves near-centralized performance while reducing communication overhead by up to 621×.
What Problem Does This Paper Address?
Reinforcement Learning (RL), specifically the Group Relative Policy Optimization (GRPO) algorithm popularized by DeepSeek-R1, has become the gold standard for enhancing LLM reasoning. However, GRPO typically requires centralized access to massive datasets. In high-stakes domains like medicine, finance, or law, data is often siloed across institutions due to strict privacy and regulatory constraints.
Standard Federated Learning (FL) techniques like FedAvg struggle with GRPO for three reasons:
- Reward-Misaligned Aggregation: FedAvg weights clients by data size, but in RL, a client's value is determined by its "learning signal" (reward variance), not just its sample count.
- Objective Miscalibration: Clients only see local rewards, making them "blind" to whether a prompt is globally difficult or if they are simply lagging behind the global model.
- Communication Bottlenecks: Transmitting billion-parameter model updates every round is prohibitively expensive.
Methods
The authors introduce Fed-GRPO, which leverages reward mean ($\mu_k$) and standard deviation ($\sigma_k$)—statistics already computed for GRPO's advantage estimation—to drive three coupled mechanisms:
- Signal-Weighted Aggregation: Instead of weighting by dataset size, the server weights client updates by their reward standard deviation ($\sigma_k$). This prioritizes clients that are actively learning and providing strong gradients.
- Global Reward Calibration (GRC): The server broadcasts global reward statistics. Clients use the gap between their local performance and the global average to re-weight their training objectives, forcing the model to focus on its relative weaknesses.
- Adaptive Sparse Communication (ASC): The authors observed that GRPO updates are naturally sparse (>96% of parameters remain unchanged). ASC allocates more bandwidth to clients with high $\sigma_k$ (informative updates) and uses a two-stage compression: lossless sparse encoding followed by an "efficiency-based" module selection that drops the least energetic updates.
Datasets
The framework was evaluated on two primary domains:
- Mathematical Reasoning: Trained on the MATH dataset (partitioned non-IID by difficulty) and evaluated on GSM8K, MATH-500, AIME 2024/2025, and AMC 2023.
- Coding: Trained on MBPP (partitioned by solution length) and evaluated on MBPP test and HumanEval.
- Models: Experiments utilized Qwen2.5-3B-Instruct and Qwen3-4B-Instruct as base models.
Key Insights and Ideas
- The "Free" Signal: The most elegant aspect of Fed-GRPO is that the signals used to coordinate the entire federated network ($\mu_k, \sigma_k$) are computed "for free" during the standard GRPO advantage normalization process.
- Sparsity as a Feature: The discovery that GRPO updates are significantly sparser than supervised fine-tuning updates—and that this sparsity correlates with the learning signal—allows for aggressive, informed compression.
- Global Awareness: By sharing global reward means, the system prevents "over-training" on prompts a client has mastered locally but are globally easy, while identifying "globally hard" prompts that require more optimization effort.
Key Results
Fed-GRPO consistently outperformed all federated baselines and approached the performance of centralized training (the theoretical upper bound).
- Accuracy: On the MATH-500 benchmark, Fed-GRPO achieved 60.82% accuracy, significantly higher than FedAvg-SW (56.84%) and nearly matching centralized GRPO (63.42%).
- Communication Efficiency: The lossless version of the algorithm (B=100%) reduces uplink data by 32× (from ~6.8 GB to 645 MB per round).
- Extreme Compression: Under tight bandwidth constraints, the model supports up to 621× compression (reducing a round to just 32.8 MB) with only a ~4-point drop in average accuracy compared to the lossless version.
Limitations and Future Work
While Fed-GRPO provides a robust theoretical convergence analysis, the authors note a "drift floor" caused by the time-varying nature of the calibrated objective and a "compression floor" from lossy communication.
Future research directions include:
- Extending the framework to multi-reward optimization (e.g., balancing correctness with formatting or safety).
- Scaling to even larger models where communication bottlenecks are even more severe.
- Exploring the impact of extremely heterogeneous reward functions across different institutions.
Summary updated