ReDit: Reward Dithering for Improved LLM Policy Optimization
Chenxing Wei, Jiarui Yu, Ying Tiffany He, Hande Dong, Yao Shu, Fei Yu
TL;DR
The paper tackles gradient instability in LLM policy optimization caused by discrete rewards by introducing Reward Dithering (ReDit), which adds zero-mean noise to rewards to create informative gradient signals without bias. ReDit preserves the GRPO optimization structure while increasing reward variance, yielding unbiased gradient estimates and enhanced exploration. Empirically, ReDit accelerates convergence and improves final accuracy across GSM8K, MATH, Geometry3K, code benchmarks, and various baselines, with Gaussian smoothing often performing best. Theoretical results show that the induced gradient noise helps prevent vanishing/exploding gradients, providing a principled basis for the observed improvements and guiding future work on automated variance control.
Abstract
DeepSeek-R1 has successfully enhanced Large Language Model (LLM) reasoning capabilities through its rule-based reward system. While it's a ''perfect'' reward system that effectively mitigates reward hacking, such reward functions are often discrete. Our experimental observations suggest that discrete rewards can lead to gradient anomaly, unstable optimization, and slow convergence. To address this issue, we propose ReDit (Reward Dithering), a method that dithers the discrete reward signal by adding simple random noise. With this perturbed reward, exploratory gradients are continuously provided throughout the learning process, enabling smoother gradient updates and accelerating convergence. The injected noise also introduces stochasticity into flat reward regions, encouraging the model to explore novel policies and escape local optima. Experiments across diverse tasks demonstrate the effectiveness and efficiency of ReDit. On average, ReDit achieves performance comparable to vanilla GRPO with only approximately 10% the training steps, and furthermore, still exhibits a 4% performance improvement over vanilla GRPO when trained for a similar duration. Visualizations confirm significant mitigation of gradient issues with ReDit. Moreover, theoretical analyses are provided to further validate these advantages.
