Experiment Design

Experiment design defines the smallest run that could disprove a hypothesis. In ML research, a good experiment is controlled, cheap enough to run, and connected to a baseline.

One-variable comparison:

The comparison is interpretable only when the changed variable is isolated.

Design Contract

An experiment should be inspectable as a contract:

where is the dataset version, is the baseline, is the changed system, is the training objective, is the evaluation metric, is the split, is the budget, and is the run record.

Control Table

ControlWhy It Matters
dataset versionavoids comparing across hidden data changes
split and seed policyseparates signal from split or seed luck
preprocessingprevents train/test leakage and representation drift
baseline implementationweak baselines exaggerate claims
changed variablemakes the causal interpretation possible
metric and thresholdprevents post-hoc metric selection
compute budgetprevents unfair search or tuning advantage
stopping ruleprevents peeking or selective continuation

Design Elements

  • Question.
  • Hypothesis.
  • Predicted outcome before running.
  • Baseline.
  • Single changed variable.
  • Dataset version and split.
  • Metric and success threshold.
  • Budget and stop condition.

Pass, Fail, Inconclusive

Define the interpretation before running.

OutcomeConditionNext Step
passprimary metric clears threshold and diagnostics do not contradict itscale, repeat, or write a bounded claim
failprimary metric misses threshold or failure mode contradicts mechanismrevise or abandon hypothesis
inconclusivevariance, bug, data issue, or missing baseline blocks interpretationrun a narrower diagnostic
invalidleakage, wrong split, broken artifact, or changed protocoldo not use as hypothesis evidence

Evidence Boundary

An experiment can support only what its protocol tests:

If the experiment uses a small public subset, the supported claim should mention that subset. If it uses a private run, the public note should preserve the method lesson but not publish unpublished results.

Checks

  • Could this run disprove the idea?
  • Is a smaller probe possible before a full run?
  • Are data, split, loss, metric, and seed policy fixed?
  • Is the baseline strong enough?
  • Are variance and repeated seeds needed?
  • Will the result be recorded even if it is negative?
  • Does the design distinguish implementation failure from hypothesis failure?
  • Does the protocol state what evidence would be enough to stop?
  • Is the public claim narrower than or equal to the experiment evidence?