Why a Logprob Mismatch Matters in Online RL
What a Hugging Face post says the inference engine returns, what the trainer computes from it and why any discrepancy changes training dynamics.
For: Learners who know what token probabilities are.
Who uses the engine
PipelineRL uses vLLM as the inference engine for rollout generation.[1]
What the engine returns and the trainer computes
The inference engine samples tokens and returns token logprobs; the trainer uses those logprobs to compute policy ratios, KL, clip rate, entropy, and reward.[1]
Why a discrepancy matters
Any discrepancy in how those logprobs are computed can change the training dynamics.[1]
Sources
- vLLM V0 to V1: Correctness Before Corrections in RL (huggingface.co · checked )
More articles
- LearningWhy Long Sequences Are Hard to Train OnWhat a Hugging Face post says about why long-sequence training has become essential, which tasks need it and how attention scales.
- LearningHow GRPO Lets a Model Learn From Its Own OutputsWhat a Hugging Face post says GRPO is and how a model learns from the responses it generates during training.
- LearningWhy a Model Trained With Its Harness Has an EdgeWhy the Hugging Face post says agent harnesses keep improving, how frontier labs pair models with them and what is different for the open ecosystem.