Evaluation Harnesses and Reproducibility › The Seed Is Not the Guarantee

Michael BrenndoerferDecember 1, 20262 min read
Language AI HandbookAll chapters
Part 57 of 67Dynamic, Interactive, and Agentic Evaluation
Chapter 436Evaluation Harnesses and Reproducibility › The Seed Is Not the Guarantee
Reading section 3 of 18 · The Seed Is Not the Guarantee · 2 minSection 3 of 18 · 2 min

Section 3 of 18 · 2 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

A seed controls the random draws it is wired to. Other runtime changes can still affect execution. Record the changes you can observe and use a replay check to measure what repeats.

  • Sampling nondeterminism at the model. When temperature is greater than zero, the model samples. A seed may be accepted by the API or framework, but seeds are not a portable contract. Providers change sampling implementations, batch sizes, and kernels; the same seed can yield different tokens across model revisions or even across replicas of the same model. For hosted APIs, treat the seed as a best-effort hint, never a guarantee.
  • Numeric differences. Floating-point reductions can depend on operation order. Runtime kernels and batch layout can change that order. If two logits are close enough, a numeric change can alter a greedy choice.
  • Batch layout. Changes to execution batches can change runtime behavior. Record the serving and batching settings when an evaluation depends on them.
  • Grader variation. An LLM judge can sample responses or vary across execution environments. You can repeat judgments on the same stored responses to measure this variation separately. A fixed regex policy is deterministic for a given input.

A replay audit reruns the same tasks and compares their output bytes. State which settings you held fixed. Report that agreement separately from task-level uncertainty; byte-level disagreement and score variation measure different things.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy