Debugging Logprob Mismatches in LLM Reinforcement Learning

Debugging Logprob Mismatches in LLM Reinforcement Learning - Why your RL rollout and trainer don’t agree, and how to prove it

What’s in it: A hands-on methodology for diagnosing logprob mismatches between the rollout engine and the trainer engine during online RL - one of the most common and hardest-to-isolate bug classes in RL post-training. Walks through three deliberately-injected-error experiments on Qwen3 to show how to collect comparable logprobs, verify replay repeatability, and read disagreement patterns to localize the root cause.

Why it matters to you: If you’re running RL post-training and seeing training instability or silently wrong gradients, this gives you a reproducible way to tell whether the problem is your rollout/trainer mismatch before you waste cycles chasing the wrong fix.

Read it here: Debugging Logprob Mismatches in LLM Reinforcement Learning — ROCm Blogs