rollout.n=4 for OPD?
Thanks for the great work! I am curious why does vanilla sampled-token OPD use rollout.n=4 and how are the four responses used?
Thanks for the question!
For each prompt, we sample four on-policy responses. Since reverse KL is generally mode-seeking, our initial hypothesis is that using multiple responses per prompt can reduce sampling variance and expose the teacher to a broader set of student-visited states for evaluation. We further conduct an ablation study by varying the number of sampled responses, with n = 1, 4, 8. However, the results do not show a clear performance gain from increasing n.
Concretely, the batch is expanded from B prompts to B * rollout.n prompt-response pairs; the teacher then computes token-level log probabilities/rewards on each sampled student response. In vanilla sampled-token OPD (LOG_PROB_TOP_K=0 / sampled-token mode), each sampled token receives the distillation reward based on the student-teacher log-prob difference, and all four trajectories contribute to the policy-gradient update as independent Monte Carlo samples.
Thanks!