logprobs on the student’s own
generated tokens.
Fail closed: Do not mix teacher and student weight versions on the same
sampler without explicit versioning.
Reverse KL as log p - log q, i.e.
advantage = teacher_logprob - student_logprob, per completion token:
rl_datum and forward_backward_payload are the shared datum helpers.
teacher_logprobs comes from the two-run loop —
one call per sequence, no demonstration or feedback prompt prepended, since
OPD’s teacher answers on the raw prompt tokens the student itself saw.