Guide-linked quiz · Medium Level

Reproducibility in ML: Seeds and Determinism Quiz

Distinguish seeds from full reproducibility and track random generators, deterministic settings, data splits, software versions and run variation.

Question 1 of 8

What does setting a random seed primarily control?

Preview every question8 questions

Answers and explanations appear as you take the quiz.

  1. What does setting a random seed primarily control?
    • A fixed dataset and row ordering even if source files change
    • A saved model checkpoint
    • Initialization of a pseudorandom generator sequence
    • A pinned package environment
  2. Why is a seed alone insufficient to reproduce an experiment?
    • A seed preserves data membership after row order changes
    • Data, code, preprocessing, versions and hardware also affect results
    • A seed fixes package versions and hardware
    • A seed guarantees identical floating-point execution
  3. What can enabling deterministic algorithms do?
    • Guarantee bitwise-identical outputs across platforms and releases
    • Remove all randomness from data and augmentation
    • Avoid some nondeterministic operations where deterministic implementations are available, sometimes at a performance cost
    • Increase accuracy by eliminating all stochasticity
  4. Why seed data-loader workers or their generators?
    • Workers may use separate random streams for shuffling and augmentation
    • Every worker automatically shares synchronized generator state
    • Worker seeds eliminate accelerator nondeterminism
    • Each worker independently supplies the training labels
  5. Which evidence better estimates variability from stochastic training?
    • A single run selected for its best score
    • The lowest training loss from one run
    • Results across repeated runs or uncertainty estimates
    • A large model checkpoint saved once
  6. Why preserve explicit split identifiers as well as a seed?
    • Record only the train/test row counts
    • Preserve which stable example IDs belong to each partition
    • Set a different optimizer learning rate for each partition
    • Assume a seed preserves membership after upstream row ordering changes
  7. Which statement about bit-for-bit reproducibility is accurate?
    • It is guaranteed by using a seed once
    • It is the only useful definition of reproducibility
    • It is independent of floating-point execution
    • It may fail across hardware, software versions or nondeterministic operations
  8. What should be recorded for an auditable training run?
    • Data revision, split, code, configuration, versions and checkpoint
    • Only the seed
    • Only the model name
    • Only the best metric

Keep testing yourself

More quizzes picked for your level.

View all quizzes