dLLM-RL icon indicating copy to clipboard operation
dLLM-RL copied to clipboard

Maybe we can get old policy's logits through sampling process

Open zhangyanming-cs opened this issue 1 year ago • 1 comments

https://github.com/Gen-Verse/dLLM-RL/blob/7e4f5f1afefc0faf56197980840d95156344b58a/train/rl_trado.py#L630

Hi there. I noticed that you use this function to compute the old policy's logits. But I think maybe we can get the logits directly through sampling process, given that the model's weights don't change between sampling and the beginning of training.

zhangyanming-cs avatar Oct 08 '25 18:10 zhangyanming-cs

Yes that's true. I haven't tried this. But there is a potential problem that the inference engine may have bias (I am not sure in jetengine's setting, but happens for vllm), see this blog:

https://fengyao.notion.site/off-policy-rl

yinjjiew avatar Oct 08 '25 19:10 yinjjiew