Lite / Engineering Complex Systems / Week 34
Which part made it better? Baselines and ablations
You changed three things and the greenhouse used 12% less energy. Which change earned the saving?
Why should I care?
Optimisation projects usually change several things at once. Without an ablation you can't say which change mattered, so you can't explain the result, keep the useful part, or drop the useless complexity.
- Choose a fair baseline that a sceptic would accept.
- Design an ablation that removes one component at a time to attribute an improvement.
- Interpret interactions, where two changes together do more or less than their sum.
Predict
Full design: −12% energy. Remove change X: −11%. Remove change Y: −3%. Which change matters most?
- X
- Y
- Equal
- Can't tell from this
Guess first, then reveal
Removing Y loses 9 percentage points of saving; removing X loses only 1. Y does most of the work. (If X and Y interact, their individual contributions may not add to the total; a full factorial test would show that.)
Discover
Do Level 4: compare P control with PI control at the same setpoint. Treat the integral term as one 'component'. Record energy, time outside the comfort band and the 03:00 temperature for both. That pair of runs is an ablation of integral action.
What the interactive shows (text version)
In the greenhouse Build's Level 4 the learner compares proportional control with proportional-integral control at matched settings. P control at an 18 °C setpoint with Kp = 400 W/°C settles at about 14.6 °C at 03:00 and fails comfort; PI at 17 °C holds 17.0 °C with about 20.1 kWh. Comparing the two isolates the contribution of the integral term.
Understand
Fair baselines
A baseline is what you compare against. A strong one is the best simple alternative a competent engineer would use (a tuned thermostat, not a broken one), run on the same workload with the same effort spent tuning. Beating a weak baseline proves little. Say how the baseline was chosen and tuned.
Ablation: take it away and measure
Start from the full design. Remove (or replace with the simplest alternative) one component at a time, holding everything else fixed, and measure the change on the same pre-defined metrics. The drop when a component is removed is its contribution in the context of the rest of the design.
Interactions
Components can depend on each other: a better sensor filter might only help when integral action is present. Then one-at-a-time ablation underestimates or overestimates contributions. A full factorial test (all 2^k on/off combinations for k components) reveals interactions, at a cost that grows quickly with k.
Uncertainty still applies
Each ablation result is a difference with an uncertainty. A component whose removal changes the metric by less than about two standard errors of the difference hasn't been shown to matter. Report every row with its interval, including the ones that show nothing.
Explain it another way
Intuitive
A cake recipe changed three ingredients and tastes better. Bake it three more times, each with one change undone, to find out which one made the difference.
Technical
One-factor-at-a-time ablation measures conditional contributions Δᵢ = f(full) − f(full minus i). Factorial designs estimate main effects and interactions; fractional factorials trade some interaction information for fewer runs.
Mathematical
Two components X, Y with on/off levels: four runs f(00), f(10), f(01), f(11). Main effect of X ≈ ½[(f(10) − f(00)) + (f(11) − f(01))]; interaction = ½[(f(11) − f(01)) − (f(10) − f(00))].
Applied
Machine-learning papers are routinely expected to include ablation tables showing how much each proposed component contributes, because a complex model whose gains come from one small trick is misleading.
Worked example 1
Energy (kWh): baseline 24.0; full design 21.0; full without integral 23.5; full without filtering 21.2. Interpret.
Full saves 3.0 kWh. Removing integral loses 2.5 of that; removing filtering loses 0.2. Integral action carries most of the gain; filtering's 0.2 kWh needs its uncertainty before you claim it matters.
Common mix-ups
If the full design beats the baseline, every component helped.
✓ Only an ablation shows each component's contribution; some may do nothing or even hurt.Contributions from one-at-a-time ablations always add up to the total.
✓ Interactions mean they often don't; factorial tests reveal why.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
Plan the ablation table for your term project: list each component of your optimised design, what replaces it when ablated, the metric, and the number of repeats per row.
Reflect
Have you ever kept a change in a project without knowing whether it helped? How would you find out now?
Write your answer on paper or in your own notes. Lite never stores what you write.