Skip to content
Tactiverge

School/□ Systems Engineer/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?

About 40 min · 3 goals · Checked by automated tests

1.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.

2.Predict

Full design: −12% energy. Remove change X: −11%. Remove change Y: −3%. Which change matters most?

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

3.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

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.

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.

4.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.

Can't use the interactive? Read a description instead

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.

5.Checkpoint: guided practice

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

Practice 1

Which baseline is most convincing for a new greenhouse controller?

6.Practice on your own

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

Practice 2

Full design scores 88% accuracy. Removing the voting circuit gives 81%; removing the speed change gives 86%. How many percentage points does voting contribute in this design?

points

Practice 3

Removing X alone costs 1 point and removing Y alone costs 1 point, but removing both costs 8 points. What does this suggest?

Practice 4 · a fresh version every time

Baseline mean = 24 ± 0.72 ms and optimised mean = 10 ± 0.4 ms (each ± is a standard error, independent). The speed-up S = baseline ÷ optimised. What is the standard uncertainty of S? (3 decimal places.)

×

7.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.

Open BUILD 007: Design a Smart Greenhouse →

8.Reflect

Concepts: Baselines and ablation studies · Benchmarking methodology · Experimental design and test protocols