Beyond Clipping: Signed Logarithmic Smoothing for Policy Optimization

Jihun Yun, Sungjoon Yoon, Beomhan Baek, Minhak Song, Jongha Jon Ryu, Kwang-Sung JunNeurIPS 2026

TL;DR

When training reinforcement learning (RL) models—including modern reasoning LLMs—algorithms like PPO and GRPO stabilize updates by ruthlessly "clipping" large probability changes, which abruptly kills the learning signal in the tails. This paper replaces that blunt wall with Signed Logarithmic Smoothing (Signed LS), a smooth mathematical shock absorber applied to the entire policy update rather than just the probability ratio. Built into a new optimizer called KRAFT, this approach delivers tighter theoretical guarantees, higher mathematical reasoning accuracy in LLMs, and healthier, more diverse model behavior.

What Problem Does This Paper Address?

To make reinforcement learning sample-efficient, we usually generate data (rollouts) using an older version of a model and reuse it across multiple gradient steps to update the current model. To mathematically account for the mismatch between the old and new policies, updates are scaled by an importance ratio ($\rho$), multiplied by an advantage estimate ($A$, how much better an action was than expected).

If $\rho$ gets too big, training explodes. Proximal Policy Optimization (PPO) and its critic-free cousin GRPO (popularized by DeepSeek-R1 for reasoning LLMs) solve this by clipping $\rho$ inside a strict interval like $[1-\varepsilon, 1+\varepsilon]$. While effective, clipping is a blunt instrument: once $\rho$ crosses the threshold, the objective becomes completely flat, zeroing out the gradient and halting learning on those tokens. Furthermore, clipping introduces statistical bias in the tails. The authors ask a deceptively simple question: Is hitting a brick wall really the best we can do?

Methods

Instead of truncating $\rho$ with a hard cliff, the authors introduce Signed Logarithmic Smoothing (Signed LS): $$\psi_\beta(z) = \mathrm{sgn}(z)\frac{1}{\beta}\log(1 + \beta|z|)$$

Here, $\beta > 0$ is a hyperparameter controlling the smoothing strength. There are two crucial shifts from standard practice:

  1. Smooth damping instead of flat tails: As an update grows large, Signed LS compresses it logarithmically rather than chopping it off. The gradient never hits zero; it smoothly scales down, remaining bounded in magnitude by $1/\beta$.
  2. Smoothing the whole update ($\rho A$), not just the ratio ($\rho$): Previous bandit literature explored one-sided log smoothing, and PPO clips $\rho$ alone. Signed LS wraps the entire signed product $\rho A$, preserving the sign of the advantage while adapting attenuation to both ratio size and reward magnitude.

Dropping Signed LS directly into GRPO’s group-relative, critic-free framework yields KRAFT, a drop-in replacement objective for fine-tuning LLMs.

Datasets

No new benchmarks are introduced. The authors evaluate KRAFT across two regimes:

  • Synthetic Contextual Bandits: A controlled off-policy environment with bilinear feature rewards in $(-1, 1)$ perturbed by Gaussian noise, evaluated on 1,000 held-out contexts.
  • LLM Mathematical Reasoning (RLVR): Three open-weight models (LLaMA-3.2-3B-Instruct, Phi-4-Mini-Instruct, and Qwen3-4B-Base) are fine-tuned on NuminaMath and evaluated on MATH-500, Minerva Math, and OlympiadBench (with secondary checks on AlpacaEval 2.0 and five general benchmarks in the appendix).

Key Insights and Ideas

  • Smoothing $\rho A$ beats smoothing $\rho$ alone: Both theoretically and empirically, attenuating the combined term $\rho A$ outperforms smoothing or clipping $\rho$ in isolation. Why? Because clipping $\rho$ ignores whether the actual reward/advantage is tiny or massive, whereas Signed LS adapts its damping to the true weight of the update.
  • No hidden "tail bias": Using exponential-moment identities, the authors prove that Signed LS stays faithful to the true importance-weighted objective, paying only a clean second-order penalty—whereas hard and soft clipping suffer from explicit ratio-tail bias.
  • Damping requires a slightly bigger gas pedal: Because Signed LS gently shrinks all updates (even near $\rho = 1$), a local SGD analysis proves KRAFT naturally produces a smaller expected gradient than GRPO and benefits from a slightly higher learning rate ($5 \times 10^{-6}$ vs. $3 \times 10^{-6}$ in LLM runs).
  • Set-and-forget hyperparameter stability: Across varied bandit dimensions, noise levels, and epoch counts, a single smoothing value $\beta$ transfers remarkably well without fragile retuning.
Figure 1: λ-sensitivity (lower is better): Per-setting tuned score minus cross-setting score with λ fixed to λ∗and η tuned per setting. KRAFT has the smallest overall value and leads in four of five sweeps.

Key Results

  • Contextual Bandits: When reusing batches across $E \in \{2, 3, 4, 5\}$ PPO epochs, KRAFT significantly outperforms unclipped baselines, PPO clipping, soft sigmoid gating (SAPO-sym), and ratio-only log smoothing across 200 seeds (peaking at 0.7460 mean test reward at $E=2$ vs. 0.7271 for PPO Clipping).
Table 1: Test reward versus the number of PPO epochs E (mean ± 1 SE over 200 seeds). Each method uses its best (η, λ) selected at the final step. Bold marks the best value in each row. For every E ≥2, the gap between KRAFT and each other method is significant at the 0.05 level under a paired t test.
  • LLM Math Reasoning: Across all three LLMs, KRAFT beats GRPO on three-benchmark average@16 accuracy: +2.61 percentage points on LLaMA-3.2-3B-Instruct, +1.09 on Phi-4-Mini-Instruct, and +6.37 on Qwen3-4B-Base.
  • Healthier Training Dynamics: At the end of LLM training, KRAFT maintains 1.6$\times$ to 1.7$\times$ higher policy entropy (preserving output diversity rather than collapsing prematurely) alongside comparable or up to 1.6$\times$ lower KL divergence from the reference model.

Limitations and Future Work

The theoretical fidelity and regret-transfer bounds assume single-pass online predictability; formally extending them to multi-epoch batch reuse and token-level group dependencies in GRPO requires stronger assumptions. Additionally, the learning-rate scaling proof is derived for local SGD, leaving its exact behavior under adaptive optimizers like Adam an open theoretical question. Looking ahead, the authors aim to extend Signed LS to actor-critic and preference-learning (RLHF) pipelines, and to theoretically explain why KRAFT naturally resists entropy collapse and KL drift.

Summary updated

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.
BibTeX
@inproceedings{yun2026beyond,
  author = {Jihun Yun and Sungjoon Yoon and Beomhan Baek and Minhak Song and Jongha Jon Ryu and Kwang-Sung Jun},
  title = {{Beyond Clipping: Signed Logarithmic Smoothing for Policy Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=O4LWIO9opj},
}
Figure