# INTELLECT Policy Optimization (IPO)

- **ID:** 1420
- **Kind:** post
- **URL:** https://www.primeintellect.ai/blog/prime-rl-0-10-verifiers-0-4
- **Authors:** Prime Intellect (prime-rl team)
- **Venue:** Prime Intellect blog + docs, 2026-10-19
- **Published:** 2026
- **Source:** blog
- **Language:** en
- **Access:** free
- **Added:** 2026-10-19
- **Verified:** 2026-10-19
- **Page:** https://papers.projxon.ai/entries/1420

## Summary

Prime Intellect's new default RL loss in prime-rl 0.10.0, built for async/off-policy RL stability. The problem: in async RL the trainer policy π and the rollout-generating inference policy μ never agree exactly on a token's probability, and drift between them can collapse training. The old fix, IcePop (ratio-band masking from "Every Step Evolves," also used in INTELLECT-3), keeps a token iff π(y_t)/μ(y_t) ∈ [0.2, 5]. IPO keeps a token iff the absolute probability change |π(y_t) − μ(y_t)| ≤ ε (default 0.3), retaining the importance-weighted policy-gradient term τ_A Â_t · π/μ on kept tokens. Why the ratio misjudges both tails: a rare token 0.01→0.06 has ratio 6× → masked despite moving 0.05 of probability mass; a likely token 0.90→0.20 has ratio 0.22 → kept despite moving 0.70. Treating the vocab as {this token, everything else}, |π−μ| is the total-variation distance between the two engines on that split. The criterion comes from DPPO (Qi et al., 2026), which used probability-difference for the PPO trust region between policy updates; IPO applies it to the trainer–inference mismatch, with a sign-independent mask (unlike DPPO). Ablation on agentic SWE RL with GLM-4.5-Air (100B MoE, bf16) in a deliberately extreme setting — up to 64 steps off-policy, no routing replay, no router replay ("in most runs IcePop is stable"): arms indistinguishable for ~1k steps, then IcePop's trainer→inference KL explodes >20× around step 1.2k and SWE solve rate falls ~0.8→~0.3, while both IPO arms (ε=0.2, 0.3) train straight through. At ε=0.3 IPO masks ~0.25% of tokens (vs ~2% at the old ε=0.1 default, which collapsed entropy). Open caveat from the thread (Yusuf Sadek): at ε=0.3, a token at 0.25 trainer / 0.001 inference (difference 0.249, ratio 250×) is never masked, and IPO doesn't clip the importance weight on kept tokens — the mask gates inclusion only. All figures first-party; no independent repro. Same release also: top-p/top-k replayed exactly in the trainer, constant trainer batch size, MoE router frozen by default.

## Research notes

- Discovery: Hudson shared "wh" (@nrehiew_, verified) quote-posting the @PrimeIntellect thread 2026-10-19 5:16 PM ET (~1.9K views; https://x.com/nrehiew_/status/2112291884202893748): "Interesting new TIM masking scheme. Directly use the absolute difference rather than the relative difference. Cool stuff." ("TIM" = trust-region/importance masking, his shorthand.) The Prime Intellect thread (https://x.com/PrimeIntellect/status/2112288741952000420 + reply) gave the ablation chart; the docs and blog (both published same day) are the canonical sources used above. Relevance: (1) directly his RLVR/post-training territory — async RL trainer–inference probability mismatch is a failure mode that bites real runs; the mask-on-difference vs mask-on-ratio distinction is a drop-in recipe bit for any async/off-policy RL he runs (one knob, ε, vs the ratio band); (2) the "deliberately extreme setting" framing (64-step off-policy, no router replay, IcePop stable in most runs) is the honest-eval pattern worth noting — vendors showing the failure case, not just the win; (3) cluster: RL/post-training — #47 (Thinking Leakage), #26 (Spork), #59 (TF-OPD), #51 (Fail Gracefully), #46 (RL from scratch), ID 889 (RL traversal of parametric knowledge); also the trust-region lineage — INTELLECT-2's two-sided GRPO clipping is the predecessor; DPPO was prime-rl's previous default loss. Compute: ablation on 2 trainer + 4 inference nodes; GLM-4.5-Air 100B MoE.
- License: blog/docs text no stated reuse license — flag; code Apache-2.0 verified

## Similar entries

- [Bellman Policy Optimization](https://papers.projxon.ai/entries/1280) (paper, #1280)
- [Finetuning with Sampling: SFT Learns Better Than You Think](https://papers.projxon.ai/entries/863) (paper, #863)
- [Reinforcement Learning for Code Optimization](https://papers.projxon.ai/entries/779) (paper, #779)
- [Planning to Learn (The horizon problem: policy gradients are myopic)](https://papers.projxon.ai/entries/1260) (paper, #1260)
- [The Best Optimizer Depends on Batch Size](https://papers.projxon.ai/entries/1337) (paper, #1337)
- [Mixture of Self-Improving Branches For Agent Harness Optimization](https://papers.projxon.ai/entries/1193) (paper, #1193)
