Statistical Foundations

Fewer Runs, Honest Ablations: Fractional Factorial Design

Testing four on/off changes takes 16 runs. A half fraction uses 8, at the cost of aliasing. Here is how to see what you gave up.

Statistical Foundations · 5 min read

An ablation study asks which components of your pipeline actually matter. Testing every combination grows fast. Fractional factorial designs trade runs for known confusion between effects.

Why not one change at a time

Changing one component at a time cannot detect interactions, where two components together do something neither does alone. A full factorial design with four two-level factors covers all combinations in 16 runs, which can be expensive for large models.

The half fraction

A half fraction runs 8 of the 16 combinations. One standard construction sets the fourth factor equal to the product of the first three, D = ABC. In this design, main effects are no longer confused with each other, but each two-factor interaction is confused with another: AB with CD, AC with BD, AD with BC. This is called aliasing.

A cancellation example

Suppose the true score is 0.72 + 0.02A + 0.03AB − 0.02CD. In the first half fraction, the AB and CD columns are the same, so the estimated AB coefficient is the sum, 0.03 − 0.02 = 0.01. That small number does not mean either interaction is small. They partly cancel.

In the complementary half, CD flips sign relative to AB, and the estimate is 0.03 + 0.02 = 0.05. Averaging the two halves recovers 0.03 for AB, and half their difference recovers −0.02 for CD.

Practical advice

  • Pick the fraction so the interactions you think are plausible are not aliased with each other.
  • Treat an aliased estimate as a combination, and say so in the report.
  • Plan to run the complementary half only if the result matters for the decision.
  • Use several seeds per run. Seed noise can otherwise look like an interaction.

More guides from this book