跳到正文
Rohan Paul· @rohanpaul_ai · X·· 1 小时前AI 评分56
AI 导读

斯坦福大学新研究指出,没有任何评估指标能在各方面完全与分词器无关,因此在比较不同分词器时不能仅依赖单一 BPB 分数。研究发现未训练模型在不同分词器下会产生不同的 BPB 分数,且 BPB 与下游任务准确率之间的相关性较弱,建议在选择词表前应在相同文本上检查任务准确率。

正文 · 原文

New Stanford paper finds that no metric can be tokenizer-agnostic in every sense, so anyone comparing tokenizers should not trust a single score and should also check whether the model answers correctly.

To compare models with different tokenizers, researchers usually report bits-per-byte, or BPB, which divides the loss by bytes instead of tokens. Many papers call it tokenizer-agnostic.

They scored untrained models that guess uniformly, plus released models that share one recipe but use different tokenizers. They also rechecked a published claim that another supposedly tokenizer-neutral metric agrees with BPB.

Models that learned nothing still got different BPB by tokenizer, with English text scoring best near a 24K vocabulary, while accuracy stayed at chance. On models trained with different tokenizers, correlations between BPB and task scores ran only from +0.02 to −0.30.

When comparing tokenizers, don't treat lower BPB as proof of a better model, and check task accuracy on the same text before picking a vocabulary.

来源:Rohan Paul · x.com