Lite / Textbooks / Engineering Research and Experimental Methods / Chapter 3
3. Baselines and ablations
Introduction
'Error 0.86' is not a result; 'error 0.86 against 1.20 for the standard method, on the same seeds' is. This chapter shows why every claim needs a baseline, what makes a baseline fair (the same information, the same tuning effort, the same test cases), why a trivial baseline is still worth including, and how ablation studies remove components one at a time to show which part of a new design actually earns its place.
Figure 3.1. Which part made it better? (described in words)
A two-by-two ablation with illustrative scores: baseline 60, A only 66, B only 64, A and B together 72. The effect of A is 6, the effect of B is 4, and the interaction is 72 − 66 − 64 + 60 = 2, so the parts help a little more together than apart.
Explanation
Built from 4 School lessons. Each part is the lesson's own explanation.
3.1 Better than what?
'Our controller has an error of 0.86.' Is that good? You cannot know until someone tells you what the old one scored.
Why baselines
A baseline is a reference method run under exactly the same conditions: the current method, the simplest reasonable method, or the standard one in the field. Without it, no one can tell whether 0.86 is excellent or terrible for this task.
Same conditions, many trials
Run baseline and method on the same seeds, scenarios and metric, with enough trials to see past the noise. Report both as mean ± SD with n, then the difference, the percentage improvement (baseline − method)/baseline × 100 for lower-is-better metrics, and an effect size d = difference / pooled SD.
Reading d
d says how big the difference is compared with run-to-run spread. Rough guide: 0.2 small, 0.5 medium, 0.8 or more large. A large d with a tiny practical gain may still not be worth the complexity, so report both.
Common mix-ups
Beating any baseline proves a method is good.
✓ It proves it beats that baseline. A weak or untuned baseline proves very little.
Open the Lite lesson: Better than what?
3.2 Give the baseline a fair fight
You spent three evenings tuning your new controller and three minutes on the old one. Your comparison is really measuring something else. What?
Equal effort
Tune the baseline with the same method and budget as your own: the same number of trials, the same search range, the same metric. If you use an automatic tuner for one, use it for both. Report how each was tuned.
Equal information and conditions
Both methods get the same sensors, the same data, the same seeds and the same limits (actuator saturation, computing time). A method that secretly sees ground truth, or a larger budget, is not comparable.
A strong, relevant baseline
Choose what a competent engineer would actually use: the standard method in the field, or the current system. A 'straw man' baseline nobody would choose makes any method look good. Including a trivial baseline as well is fine, as a sanity check.
Common mix-ups
A baseline is just there for comparison, so its settings don't matter much.
✓ The baseline's settings decide what your comparison means. Give it your best honest effort.
Open the Lite lesson: Give the baseline a fair fight
3.3 Strong, fair baselines
Beating a baseline nobody tuned is easy. Beating one that got the same effort as your method is research. How do you build the second kind?
Three baselines
A trivial baseline (always predict the average, guess the commonest class) shows the task is not trivially easy. A standard baseline is what practitioners use today. A strong baseline is the best reasonable alternative, tuned as carefully as your method. Claims should be made against the strong one.
Equal effort, equal information
If your method had two days of tuning and the baseline had defaults, your gain partly measures tuning effort. Give each the same tuning budget (time, trials, search range). Give each the same inputs: a baseline denied a sensor your method uses is not comparable.
Same conditions
Run baseline and method on the same tasks, seeds or conditions, ideally interleaved and randomised. Then the difference cannot be explained by easier conditions for one of them.
Common mix-ups
A bigger improvement over the baseline means a better paper.
✓ A smaller improvement over a strong, fairly tuned baseline is more valuable than a large one over a weak baseline.
Open the Lite lesson: Strong, fair baselines
3.4 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?
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.
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.
Open the Lite lesson: Ablation studies: what is each part worth?
Worked examples
Better than what?: example 1
Baseline 40 mm, method 30 mm, both SD 5 mm. Improvement and d?
Solution
Improvement = 10/40 = 25 %. d = 10/5 = 2.0: a large effect relative to the spread.
Give the baseline a fair fight: example 1
Write one method sentence describing fair tuning for a P vs PI comparison.
Solution
'Both controllers were tuned by grid search over the same range (Kp 0.5–10, Ki 0–5 for PI) with 40 evaluations each, minimising mean IAE on seeds 101–110; final comparison used separate seeds 1–10.'
Strong, fair baselines: example 1
Fused error 0.45 m. Camera alone 0.5 m, odometry alone 1.2 m. Which improvement do you report?
Solution
Against the strongest baseline: 0.05 m better than the camera alone (10%), not 0.75 m better than odometry. Also report both, and the run-to-run spread, so readers can judge whether 0.05 m is meaningful.
Ablation studies: what is each part worth?: example 1
Full 89 ± 0.7, without V 85 ± 0.7, without C 88 ± 0.7 (SE). Which part clearly matters?
Solution
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.
Interactive figures, in words
Figure 3.2 from Better than what?
Run 10 trials against the untuned baseline, then the tuned one. Record improvement and d for each. Then untick 'same seeds' and draw new seeds several times: what happens to the comparison?
The baseline lab runs 3 to 20 seeded trials of a speed loop. Against an untuned P controller the PI method's error is about 85 % lower; against a tuned P controller about 50 % lower. Results are shown as a dot plot and as mean plus or minus standard deviation, difference, percentage improvement and effect size.
Figure 3.3 from Ablation studies: what is each part worth?
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?
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.
Laboratory
These run in a browser on the full site (they need a faster connection). Simulations are simplified educational models.
- Simulation OS: Two-sensor fusion (Simulation OS experiment)
Compare the Kalman setting with a camera-only baseline and a complementary-filter baseline on the same seeds, and report each difference.
Open on the full site - BUILD: Planetary rover, level 5 (BUILD level)
Turn off one rover feature at a time and record how much each contributes to reaching the target.
Open on the full site
Practice
Each question links to its Lite lesson, where your answer is checked on our server and a wrong answer gets a hint. Answers are never sent to your device.
- Why is 'error 0.86' on its own not a result?
Answer it in “Better than what?” - A method has d = 1.5 but saves only 0.2 mm on a task with a 5 mm tolerance and doubles the code size. What should the report say?
Answer it in “Better than what?” - The new planner uses a perfect map; the baseline uses the noisy lidar map. Fair?
Answer it in “Give the baseline a fair fight” - Why tune on seeds 101–110 and compare on seeds 1–10?
Answer it in “Give the baseline a fair fight” - The method was tuned for 50 trials; the baseline used defaults. What does the measured gain include?
Answer it in “Strong, fair baselines” - Why include a trivial baseline at all?
Answer it in “Strong, fair baselines” - What does a leave-one-out row measure?
Answer it in “Ablation studies: what is each part worth?” - Your ablation shows your favourite component adds nothing measurable. What do you do?
Answer it in “Ablation studies: what is each part worth?”
Engineering applications
Controller papers
A new controller is convincing only against a well-tuned PID on the same plant and disturbances. Beating an untuned baseline says more about the tuning effort than the method.
Simplifying designs
An ablation sometimes shows that a costly component adds almost nothing. Removing it makes the design cheaper and the claim more honest at the same time.
Watch (optional)
Streaming video uses a lot of data. Everything you need is in the text.
Summary
- A result means something only relative to a baseline measured the same way.
- Fair baselines get the same information, tuning effort and test cases as the new method.
- Include a trivial baseline too: it shows whether the problem is hard at all.
- Ablations remove one component at a time; a full factorial also reveals interactions.
Glossary
- Baselines and control conditions
- A baseline is the reference condition a new idea is compared with, such as the existing design or a simple method, tested in the same way. Field Guide
- Fair test and randomisation
- A fair test compares conditions so that the only systematic difference between them is the thing being studied; randomising the order of trials stops time-related effects favouring one condition. Field Guide
- Percentage error and percentage difference
- Percentage error compares a measured value with an accepted reference: the difference divided by the reference, times 100. Field Guide
Project: A baseline and an ablation
Take a system with at least two optional parts in a School simulation. Measure a trivial baseline, a strong baseline and the full system on the same seeds, then remove each part in turn. Report every configuration with its uncertainty, labelled as simulated.
Deliverables
- Baseline definitions and tuning effort
- A results table for every configuration
- Which part matters, with the evidence
Write it up on paper or in your own notes. Lite never stores what you write.
References
- Douglas C. Montgomery (2017). Design and Analysis of Experiments, 9th edition. Wiley.
- George E. P. Box et al. (2005). Statistics for Experimenters: Design, Innovation, and Discovery, 2nd edition. Wiley.