FedMOA: Federated GRPO for Personalized Reasoning LLMs under Heterogeneous Rewards
Ziyao Wang, Daeun Jung, Yexiao He, Guoheng Sun, Zheyu Shen, Myungjin Lee, Ang Li
TL;DR
FedMOA extends Group Relative Policy Optimization to a federated setting to achieve personalized reasoning in LLMs under heterogeneous rewards. It introduces client-side adaptive hypergradient weighting to dynamically balance multiple objectives and a server-side task-aware aggregation that prioritizes updates demonstrating progress on the primary accuracy objective. Across math and code benchmarks, FedMOA consistently outperforms naive FedGRPO, delivering improvements in global accuracy and multi-objective balance, especially under non-IID data and reward heterogeneity. This work advances privacy-preserving, on-device personalization of reasoning capabilities in LLMs by enabling stable, multi-objective optimization with limited communication rounds.
Abstract
Group Relative Policy Optimization (GRPO) has recently emerged as an effective approach for improving the reasoning capabilities of large language models through online multi-objective reinforcement learning. While personalization on private data is increasingly vital, traditional Reinforcement Learning (RL) alignment is often memory-prohibitive for on-device federated learning due to the overhead of maintaining a separate critic network. GRPO's critic-free architecture enables feasible on-device training, yet transitioning to a federated setting introduces systemic challenges: heterogeneous reward definitions, imbalanced multi-objective optimization, and high training costs. We propose FedMOA, a federated GRPO framework for multi-objective alignment under heterogeneous rewards. FedMOA stabilizes local training through an online adaptive weighting mechanism via hypergradient descent, which prioritizes primary reasoning as auxiliary objectives saturate. On the server side, it utilizes a task- and accuracy-aware aggregation strategy to prioritize high-quality updates. Experiments on mathematical reasoning and code generation benchmarks demonstrate that FedMOA consistently outperforms federated averaging, achieving accuracy gains of up to 2.2% while improving global performance, personalization, and multi-objective balance.
