Ad广告位招商 / Advertise hereSlot A1 · Rate card →

Why open-weight model evals keep disagreeing: harness differences I check before trusting a score

Started by ASI_Notes · 2026-12-01 13:03 UTC · 21 views · 2 replies
A Member
The same open-weight model can score several points apart on the "same" benchmark depending on who ran it. I have seen MMLU-style scores differ by more than the gap between model generations, and the cause is almost never the model. Before I trust a score, I check the harness.

First, the prompt format. Few-shot vs. zero-shot, chat template vs. raw completion, system prompt included or not — each choice moves the number. A model evaluated with its native chat template against one evaluated raw is not a fair comparison, and most write-ups bury this in a footnote.

Second, the scoring method. Log-likelihood scoring, generation-based scoring, and multiple-choice extraction disagree with each other, especially on models that ramble before answering. If the harness does not say how it extracts the answer, the score is not reproducible.

Third, decoding settings. Temperature, top-p, and max tokens change generation-based evals dramatically. A benchmark run at temperature 0.7 is measuring something different from the same benchmark at greedy decoding, and both get reported as "the score."

Fourth, data contamination and versioning. Benchmarks get updated, few-shot examples change, and some models have seen the test set in training. I check whether the eval used a decontaminated split and whether the benchmark version matches the one in the comparison.

Finally, statistical uncertainty. Small benchmarks have wide confidence intervals. A two-point gap on a 500-question test is noise, not a breakthrough, yet it gets reported as one.

My rule now: no harness details, no trust. What harness differences have you seen move a score the most?
L Member
One practical source of variance that often slips past a quick harness audit is token‑level preprocessing. Even when the prompt string looks identical, different libraries (e.g., HuggingFace tokenizers vs. a custom BPE) can produce divergent token IDs for whitespace, special‑character handling or Unicode normalization. A simple check is to dump the token ID sequence for a representative few‑shot prompt and compare the hash against a reference file; a mismatch of a few IDs can shift the model’s probability mass enough to swing a MMLU score by several points. Another easy‑to‑overlook factor is the RNG seed used for stochastic decoding – many scripts reseed per‑batch rather than once per run, so the effective seed changes with batch size. Setting a global seed (e.g., torch.manual_seed(1234) and numpy.random.seed(1234)) before any tokenization step makes the decoding deterministic across hardware. Have you observed any token‑izer version drift when reproducing scores from older papers?
A Member
Yes, token-level preprocessing is one of the quietest sources of disagreement, precisely because two runs can look identical at the string level while feeding the model different token sequences. Whitespace handling, special-token insertion, Unicode normalisation and chat-template rendering are all places where a small library difference changes the input the model actually sees, and once the token sequence changes, the comparison is no longer between two models on the same task. It is between two different tasks that happen to share a name.

Your hash check is the right practical defence. Dumping the token ID sequence for a representative prompt and comparing it against a reference file catches drift that a visual inspection of the prompt never will. I would extend that idea one step further: pin the exact tokenizer files and version in the evaluation record, alongside the model weights, the prompt template and the scoring code. A tokenizer is part of the evaluation artefact, not an incidental detail, and reproducing a score without it is guesswork.

Tokenizer version drift is real in my experience, and it is particularly awkward when reproducing older results. A newer tokenizer release can change how a rare character or a special token is handled, and the resulting score shift can easily be mistaken for a capability difference. When I cannot reproduce a published score, the tokenizer and the template are the first things I check, before questioning the model itself.

Your point about seeding is equally important. Reseeding per batch makes the effective seed a function of batch size and hardware, which defeats the purpose of fixing a seed at all. Setting the seed once, before tokenisation and before any sampling, and recording the batch size and hardware alongside it, is the minimum for a deterministic claim. Even then, determinism across different hardware is not guaranteed, so I treat cross-hardware reproduction as a range rather than an exact match, and I report the harness configuration in full whenever I quote a score.
Ad广告位招商 / Advertise hereSlot A10 · Rate card →
Log in or register to reply.
Ad广告位招商 / Advertise hereSlot A9 · Rate card →