Aleph Alpha 提出新的預訓練評估指標 PriorBPB,以解決傳統 bits-per-byte(BPB)評估易受答案長度偏差影響而非真正反映預測品質的問題。
原文
Same model, same question, same meaning, but a longer answer can improve the score ~2x. A large share of bits-per-byte (BPB), a common pre-training eval metric, reflects answer length rather than predictive quality. We propose an alternative, PriorBPB. 🧵 https://x.com/Aleph__Alpha/status/2110008600936800588/photo/1
Ask Qwen3-4B "What is the capital of France?" and score the answer string:
"It is Paris." → 1.85 BPB
"It is the city of Paris." → 1.10
"It is Paris, the capital of France." → 0.77
Lower is supposed to mean the model predicts the text better, but here it largely tracks length.
It's not just rewordings. Within one task (MMLU full text, Qwen3-4B), the shortest fifth of gold answers scores ~11x worse than the longest fifth. Same task, same model. The main difference is how long the gold answers are. https://x.com/Aleph__Alpha/status/2110008607165067381/photo/1
Why? Total surprisal is roughly a fixed cost plus a per-byte rate. Dividing by bytes spreads that fixed cost over the answer, so long answers can score better. Averaging per-item ratios (mean-of-ratios BPB) weights short items even more, inflating the score further.
Per-token traces show the first gold token can cost ~10x more than later ones. How much of the cost is fixed varies by task: on SQuAD2 later tokens are nearly free (copyable from the passage), while on GSM8K most of the cumulative cost scales with length. Where a large share of the cost is fixed per answer, as on SQuAD2, longer answers dilute it.
Aggregation makes it worse. Corpus BPB is total bits / total bytes. Mean-of-ratios BPB averages per-item ratios. That isn't a rate, and it can inflate scores even further (+122% on MMLU full text for Qwen3-4B compared to corpus BPB). https://x.com/Aleph__Alpha/status/2110008617676206475/photo/1
This can produce an apparent inverse-scaling trend. Under corpus BPB, Qwen3-0.6B-instruct beats its larger siblings on 15/19 tasks. But the fixed cost is larger at 4B on all 19 tasks (up to ~7x), while the per-byte rate shows no such trend.
Our proposal, PriorBPB: estimate each model/task's marginal per-byte cost curve non-parametrically, then average it under one length prior shared across all tasks (geometric, median 111 bytes). Using a task's own length distribution instead recovers corpus BPB exactly.
Across 62 base checkpoints from 5 model families, PriorBPB reduces mean |correlation| with answer length from 0.68 to 0.18. It also tracks accuracy along capability ladders better than mean-of-ratios BPB on both base and instruct checkpoints. https://x.com/Aleph__Alpha/status/2110008625385398588/photo/1
tl;dr: We suggest to not use mean-of-ratios or corpus BPB alone and use PriorBPB with a stated shared prior for cross-task comparisons. Check out the blog post, paper, and Apache 2.0 code by @tfburns and the team here: https://aleph-alpha.com/en/blog/priorbpb/