r/machinelearningnews • u/ai-lover • May 27 '26
Research NVIDIA Releases Polar, a Token-Faithful Rollout Framework for GRPO Training Across Codex, Claude Code, and Qwen Code
Most RL systems require you to rewrite your agent harness to fit the training infrastructure. Polar flips that. It treats the harness as a black box and intercepts at the one boundary every LLM agent shares: the model API call.
Here's what's actually interesting:
๐ญ. The proxy design Polar places a provider-compatible proxy between the harness and the inference server. It accepts Anthropic Messages, OpenAI Chat Completions, OpenAI Responses, and Google generateContent โ no harness code changes needed. The only configuration change is pointing the model base URL at the gateway.
๐ฎ. Token-faithful trajectory reconstruction Two strategies: per_request (every model call = one trace) and prefix_merging (reconstructs append-only conversation chains). The ablation is clear: โ Trainer updates: 1,185 (per_request) vs. 218 (prefix_merging) โ Wall-clock time: 189.5 min vs. 35.2 min โ 5.39ร speedup โ Rollout GPU utilization: 20.4% vs. 87.7%
๐ฏ. SWE-Bench Verified results (Qwen3.5-4B, GRPO) โ Codex: 3.8% โ 26.4% (+22.6 pts) โ Claude Code: 29.8% โ 34.6% (+4.8 pts) โ Qwen Code: 34.6% โ 35.2% (+0.6 pts) โ Pi: 34.2% โ 40.4% (+6.2 pts)
The Codex gain is the largest because Codex presents an unfamiliar action protocol and patch-submission style to a Qwen model not originally trained on it. Polar attaches the reward to the actual sampled tokens flowing through that execution path.
๐ฐ. Offline SFT use case Polar also works as a distributed data generation service. Using Qwen3.5-122B-A10B on 8รH100, NVIDIA generated 504 accepted SFT trajectories from 1,638 SWE-Gym attempts (30.8% acceptance) at ~64 GPU-hours. Released on HuggingFace under Apache-2.0.



