创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

Reddit作者称KLD无法全面衡量量化模型

AI 总结

一名Reddit作者认为,不应把KL散度视为衡量量化语言模型质量的通用指标。作者指出,蒸馏后若继续进行SFT和RL,KLD可能变差,但模型的任务表现仍可能改善,因此应使用有代表性的私有任务测试候选模型。KLD仍可作为基于合适数据计算的初步筛选指标,但不能单独用于排名。

深度见解

这提醒从业者不要只凭KLD选择量化模型,而应进行任务级评估;不过相关论点来自单一Reddit作者。

Following my previous post on how KLD is misunderstood, there were a few claims that KLD is the best metric you can use and some other comments were asking, "If we stop using KLD, what should we use instead?" I'm gonna explain both a bit more here.

Assume you're a lab that does distillation. In the distillation process, you choose a teacher model and a smaller student model that you want to learn from the teacher. This learning starts with optimizing a variant of KL loss (it could be KL itself, reverse KL, or JS loss) between the outputs of the student model and the teacher model. After the optimization ends, according to Reddit, you must be done. You have a model that has the best possible KLD against the teacher model, and what could be better than that?

But no, the training can still continue. After that, there can be stages of SFT and RL to improve the performance of the model. These stages improve what really matters, and that's the ability of the model to solve different tasks. And during these stages, the KLD you had can become even worse, but the student model actually becomes better.

#PrismML#Bonsai

原文约 3 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。