Ablation studies
When a system with several improvements beats its baseline, which part is doing the work? Ablation studies answer that by removing components one at a time, and reveal when parts interact.
Lesson 3 of 6 · 30 min · Self-paced · Free
Which part is doing the work?
Real engineering improvements rarely come one at a time. A team improving a gripper might add rubber fingertip pads, a force sensor that controls how hard it squeezes, and a slower lifting motion, all in the same week. The new gripper beats the old one. Good news, but now a practical question appears: which of those changes made the difference?
This matters for several reasons. If one change does nearly all the work, you might drop the others and save cost, power or complexity. If one change actually makes things slightly worse, you want to know. And if you write a report claiming "force sensing improves grip", you had better be sure it was the force sensing and not the pads.
The standard tool for answering this is an ablation study. "Ablation" means removal; the word comes from medicine and biology, where it refers to removing tissue, and engineers and computer scientists borrowed it. In an ablation study you take the full system and remove one component at a time, measuring how much performance drops each time. A big drop means that component was doing important work. No drop means it may not be needed.
Worked example: a three-part gripper upgrade
Go deeper: work through it step by stepabout 2 min
All numbers here are made-up for illustration.
The full system has three additions over the original gripper:
- A: rubber fingertip pads
- B: force feedback that adjusts the squeeze
- C: a slower lifting motion
The team runs 40 lift attempts for each configuration, on the same set of objects, with the order of configurations mixed up:
- Original gripper (no additions): 22 of 40 successful lifts
- Full system (A + B + C): 36 of 40
- Full system without A (no pads): 33 of 40
- Full system without B (no force feedback): 25 of 40
- Full system without C (normal lifting speed): 35 of 40
Reading the results
Compare each ablated version with the full system:
- Removing B costs 11 successes (36 down to 25). Force feedback is clearly doing most of the work.
- Removing A costs 3 successes. The pads may help a little.
- Removing C costs 1 success. With only 40 attempts per configuration, a difference of one could easily be luck. There is no good evidence that slow lifting helps.
The honest summary is something like: "Force feedback accounts for most of the improvement. The pads may contribute a small amount. We found no clear benefit from the slower lift, which also makes each task take longer." That is far more useful than "our upgraded gripper works better".
The drops do not have to add up
Notice something odd. The full system beats the original by 14 successes (36 against 22). The three drops add up to 3 + 11 + 1 = 15. They do not match, and in general they will not. That is a clue that the parts are not completely independent of each other, which leads to the most important subtlety of ablation studies.
Interactions: when parts depend on each other
Components can interact:
- Overlap. Two parts may do the same job. Imagine two different slip detectors in one system. Remove either one, and the other covers for it, so each ablation shows almost no drop. You might wrongly conclude neither matters, when actually at least one is essential.
- Teamwork. Two parts may only help together. Rubber pads might be useful only when force feedback stops the gripper squeezing so hard that the pads are crushed flat. Remove either, and the other's benefit vanishes too.
- Dependency. Some parts cannot exist without others. A filter that smooths the force signal means nothing once the force sensor is removed. Plan your ablations around what can sensibly be removed on its own.
When you suspect interactions, test combinations, not just single removals.
Two directions, and how many runs you need
There are two common designs:
- Leave-one-out: start from the full system and remove one part at a time (as above). It shows what each part contributes given all the others.
- Add-one-in: start from the baseline and add one part at a time. It shows what each part does on its own.
Running both gives a fuller picture. The cost grows with the number of components. With k components, a leave-one-out study needs the full system plus k ablated versions: k + 1 configurations. Testing every combination needs 2 × 2 × … × 2 = 2ᵏ configurations, because each component is either in or out:
- 3 components: leave-one-out needs 4 configurations; every combination needs 2³ = 8.
- 5 components: leave-one-out needs 6; every combination needs 2⁵ = 32.
Every configuration needs enough repeated trials to separate real differences from luck, so the full set of combinations quickly becomes expensive. A common compromise is leave-one-out for every component, plus full combinations only for the pairs you suspect interact.
Running an ablation fairly
All the rules of fair baselines apply to every configuration:
- Same conditions: same objects, tasks and success rules for every version.
- Mixed order: do not run the full system first and the ablations last, when batteries are flatter and parts more worn.
- No hidden retuning: if you retune the full system, treat ablated versions the same way, or state clearly that you did not.
- Decide in advance which ablations you will run and report them all, including the ones where removing a part made things better.
A proposed study as an ablation
The proposed TV-01 study's three conditions (vision only, force only, and vision with force) can be read as a small ablation of the combined system: "vision only" removes force sensing, and "force only" removes vision. Because the study has not been run, there are no results to interpret. But the design shows the logic: each removal tests whether that sense is pulling its weight.
Project
Paper project: plan an ablation of a paper glider
Design (and, if you like, run) an ablation study on a paper glider with three modifications:
- A: small upturned winglets folded at the wing tips
- B: a paper clip on the nose
- C: slightly bent-up flaps at the back edge of the wings
Plan first, on paper:
- List the configurations for a leave-one-out study, including the full glider and a plain glider with no modifications.
- Decide your measure (for example, distance from the throw line to where the glider first touches the floor) and how you will measure it.
- Decide how many throws per configuration, and how you will mix up the order of configurations.
- Write down which pair of modifications you think might interact, and why.
If you carry it out, throw gently in an open indoor space, away from people and fragile objects, and use fresh sheets of the same paper for each glider so that wear does not become a hidden variable. Report every throw, not only the best.
Deliverables
- A list of every configuration you will test
- Your measure, number of throws and order plan, written before any throws
- A prediction of which modification matters most, and one possible interaction
- If carried out: all results listed by configuration, with a short honest interpretation
Knowledge check
Check your understanding
Go further
- Ablation (artificial intelligence) — Wikipedia ↗
A short overview of how the term is used in machine learning research, where ablation studies are routine.
Lesson materials · free to download
Sign in to track your progress. Reading is free without an account.