Beyond Clipping: Signed Logarithmic Smoothing for Policy Optimization
Jihun Yun ⋅ Sungjoon Yoon ⋅ Beomhan Baek ⋅ Minhak Song ⋅ Jongha (Jon) Ryu ⋅ Kwang-Sung Jun
Abstract
Policy optimization algorithms that use rollouts often optimize $\rho A$ where $\rho$ is the importance ratio from the current policy to the rollout policy and $A$ is an advantage estimate. Widely-used algorithms such as PPO and GRPO apply clipping to the ratio $\rho$ as a way to smooth it out, which, depending on $\rho$, zeros out the gradient. Trading off bias and variance, clipping helps optimization. However, *is clipping the best we can do?* In this paper, we propose an alternative smoothing operator called signed logarithmic smoothing (Signed LS), $\psi_\beta(z) = \mathrm{sgn}(z)\cdot\beta^{-1}\log(1+\beta|z|)$ and apply it to the ratio times the advantage $\rho A$ rather than the ratio $\rho$ alone. Building on Signed LS, we introduce KRAFT, a GRPO-style objective that replaces clipping with Signed LS. In an off-policy contextual bandit model, we establish theoretical results characterizing high-probability approximation error bounds of smoothing operators. Our analysis shows that, depending on the smoothing level, clipping and Signed LS show different tradeoffs. In particular, with best tuning parameters, we show that Signed LS achieves a better bound than clipping. In contextual bandit experiments, KRAFT outperforms clipping baselines and shows lower hyperparameter sensitivity. We also validate our approach by fine-tuning three LLMs for mathematical reasoning. KRAFT matches or exceeds GRPO's average benchmark accuracy, with comparable or lower reference KL and higher policy entropy at the end of training.
Successful Page Load