Li Yaxuan

Results comments of Li Yaxuan

verl 最近已经 merge 了我们的相关代码:[verl-project/verl#6469](https://github.com/verl-project/verl/pull/6469). 在verl (v0.8.0) 最新版本的实现中,student 和 teacher 已经解耦,也就是说 teacher 和 student 不会被放在同一张 GPU 上,这样可以很大程度的避免OOM的问题 你可以参考[OPD documentation](https://github.com/verl-project/verl/blob/main/docs/algo/opd.md) 这个文档来使用最新版本的verl做OPD

Thank you for your question. In our code implementation, the maximum adv is computed within the student model’s Top-K vocabulary scope. In our paper, adv is defined as: $$A_t(v) =...

Thank you for your question. Regarding the first question, we discussed this in Section **6.2, “Globally Informative Reward Does Not Guarantee Local Exploitability.”** We conjecture that this phenomenon is related...

感谢关注和细致的代码阅读!我简单解释一下这一步的设计: 主要原因是 top-k 分支里的 `rm_scores` 不是直接作为一个 KL 标量使用,而是作为后续 top-k policy-gradient loss 中每个 candidate token 的 token-level advantage 使用。 我们这里的实现可以理解为对 reverse KL 的 top-k 枚举近似。以当前位置 $t$ 为例,记当前位置的 history 为 $h_t$,student 为...

> 非常感谢您的解答🫡。我本人 RL 接触得不多,我推导公式时主要参考了 _Reinforcement Learning via Self-Distillation (SDPO)_ 这篇文章 Appendix B.1 的公式推导。这篇文章的作者在推导时用一个求平均值的符号代替了 π θ ( x ) . > > > 我第一次读到这里的时候也感到很疑惑,纠结了很久。我当时也读了几篇其他关于 OPD 的论文,它们的梯度估计形式和 SDPO 也基本是一致的(例如 _Self-Distillation Enables Continual...

感谢提问!+data.apply_chat_template_kwargs.enable_thinking=False 这个参数如果去掉默认就是开启think的,加上就是显式关闭think的

您好,感谢提问。 对于第一个问题“verl的源码,应该对应的是forward kl而不是OPD中推荐的reverse kl。 是因为使用了topk嘛?”,并不是,verl 实现的是 GKD (https://arxiv.org/abs/2306.06629) 里面的 forward KL, 而reverse kl并没有实现,这个实现需要大量改动verl的代码因此我们没有考虑将reverse KL的实验merge进去,另外值得一提的是forward KL使用的是teacher top-k,这样可以利用vllm拿到teacher top-k 的prob实现起来比较方便,效率也更高。 对于第二个问题“什么时候使用sampled-token OPD和 top-k KL OPD呢?”,这个仍然是一个亟待解决的问题,我们在rethinking-OPD最后做了一个简单的ablation结论是`sampled-token OPD就足够了,top-k KL OPD没有明显的优势`。不过从数学角度看,sampled-token是unbiased but high variance的,top-k OPD是biased...

Overlap ratio并不一定能涨到90%以上,和模型的选择很有关系,只有RL teacher -> student比较好蒸,因为thinking pattern比较近,不同size之间会比较难蒸一点,对齐有上限

Hi Niels, Thanks for adding the paper and the two evaluations to Papers with Code. I’ve checked the imported results, including the scores, model names, benchmark protocols, and openness metadata,...

Yes, that is correct—the two OPD models corresponding to the currently listed evaluations have not been open-sourced, so marking them as “closed” is appropriate. However, we have open-sourced another OPD...