Skip to content
Tactiverge

School/✦ Research Engineer/Week 30

Ablation studies: what is each part worth?

Your system has three clever parts and scores 89%. Remove one and it barely changes. Remove another and it collapses. Why?

About 45 min · 3 goals · Checked by automated tests

1.Why should I care?

Ablations answer the question every reviewer asks: is your improvement coming from the part you say it comes from? They also tell engineers which parts to keep when a system must be simplified.

  • ◇ Design an ablation table with baseline, add-one and leave-one-out rows.
  • ◇ Explain why component contributions can fail to add up (interactions).
  • ◇ Report each row with uncertainty from repeated runs.

2.Discover

Start with only the full system. Add the baseline row, then the trivial baseline, then the three leave-one-out rows. Read the readout each time. Do the leave-one-out contributions sum to the total gain? Re-run with new seeds: which conclusions survive the noise?

Loading the interactive…

Can't use the interactive? Read a description instead

The ablation table builder lists eight configurations of an illustrative sorting-machine classifier plus a trivial baseline. Selecting rows adds them to a table of mean accuracy and standard error from five seeded runs. The readout explains that leave-one-out contributions (about 2, 1 and 4 points) do not sum to the 11-point total because two parts overlap.

3.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

What does a leave-one-out row measure?

4.Predict

Parts G, C and V each add 6, 5 and 4 points on their own. The full system gains 11. What explains the missing 4?

Guess first. Being wrong here is how the surprise works.

5.Understand

Rows of an ablation table

Baseline (nothing added), full system, and for each component a leave-one-out row (full minus that part). Add-one rows (baseline plus one part) are useful too. Every row is repeated runs, reported as mean ± SE or with an interval.

Interactions

If components were independent, add-one gains would sum to the full gain. Real components interact: two that fix the same problem overlap (negative interaction); one that only works with another synergises. Leave-one-out shows each part's value in the final system; add-one shows its value alone. Report both when they differ.

Noise and honesty

A 1-point drop with an SE of 0.7 is not evidence that a part matters. Report every ablation you ran, including the ones where your favourite component turned out to be useless. That is a negative result, and it is valuable.

Explain it another way

Taking players off a team one at a time shows who really matters, and sometimes that two players were doing the same job.

Worked example 1

Full 89 ± 0.7, without V 85 ± 0.7, without C 88 ± 0.7 (SE). Which part clearly matters?

Without V the drop is 4 points; SE of the difference ≈ √(0.7² + 0.7²) ≈ 0.99, so about 4 SE: clear. Without C the drop is 1 point, about 1 SE: not distinguishable from noise with this many runs.

Common mix-ups

  • Each component's contribution can be read off by adding up the add-one gains.
    ✓ Components interact, so add-one and leave-one-out values differ; report both and say when they disagree.

6.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2

Baseline 70, A alone 76, B alone 75, A+B 77. What is the interaction (A+B gain minus the sum of single gains)?

points

Practice 3

How many configurations does a full factorial ablation of 4 on/off components need?

Practice 4

Your ablation shows your favourite component adds nothing measurable. What do you do?

Practice 5 · a fresh version every time

Baseline: mean 2.6 s, s1 = 0.5, n1 = 15. New: mean 2.55 s, s2 = 0.5, n2 = 15 (sorting time per item). Compute the two-sample (Welch) t statistic t = (mean1 − mean2) / √(s1²/n1 + s2²/n2).

7.Apply it

Draw the ablation table you will need for your capstone: rows, number of runs per row, and how you will report uncertainty.

Open BUILD 003: Create an Intelligent Sorting Machine →

8.Reflect

Concepts: Baselines and ablation studies · Evaluation metrics