Textbooks/Engineering Research and Experimental Methods/Chapter 3Lite (plain text) version
3Baselines and ablations
Version 1 · Technically checked (automated checks only) · 4 source lessons · 8 practice items
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.
Explanation
This chapter is built from 4 School lessons. Each part below is the lesson's own explanation; open the lesson for its predict-and-discover activities.
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.
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.
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.
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 full 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
Interactive figure (online). Description: 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.
Interactive figure (online). Description: 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
Everything runs in your browser. No kit, nothing mains-powered. Simulations are simplified educational models.
Simulation OS experiment
Simulation OS: Two-sensor fusion
Compare the Kalman setting with a camera-only baseline and a complementary-filter baseline on the same seeds, and report each difference.
Open Simulation OS: Two-sensor fusion →BUILD level
BUILD: Planetary rover, level 5
Turn off one rover feature at a time and record how much each contributes to reaching the target.
Open BUILD: Planetary rover, level 5 →
Guided practice
Answers are checked on the server; wrong answers get a hint and another try. Signed in, solved items also count towards the source lesson.
- Why is 'error 0.86' on its own not a result?
- It has too few digits
- Without a baseline on the same task, nobody can judge whether it is good
- Errors should be percentages
- 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?
- Huge win, ship it
- The difference is consistent but probably not worth the complexity for this task
- d is wrong
- The new planner uses a perfect map; the baseline uses the noisy lidar map. Fair?
- Yes
- No: they must get the same information
- Only if the new planner wins by a lot
- Why tune on seeds 101–110 and compare on seeds 1–10?
- Lower seeds are harder
- So the final comparison isn't on the same runs the gains were fitted to
- No reason
- The method was tuned for 50 trials; the baseline used defaults. What does the measured gain include?
- Only the method's merit
- The method's merit plus the benefit of extra tuning
- Nothing useful
- Random error only
- Why include a trivial baseline at all?
- To make your method look good
- To show the task is not trivially easy and catch bugs
- It is required by law
- It replaces the strong baseline
- What does a leave-one-out row measure?
- The part's value on its own
- The part's contribution within the full system
- The baseline
- The noise
- Your ablation shows your favourite component adds nothing measurable. What do you do?
- Drop the ablation from the report
- Report it, and consider simplifying the system
- Run more seeds until it helps
- Change the metric
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 verified videos. Nothing loads from YouTube until you press play.
- Degrees of Freedom and Effect Sizes: Crash Course Statistics #28 (CrashCourse)
Chapter 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.
- 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.
- Percentage error and percentage difference
- Percentage error compares a measured value with an accepted reference: the difference divided by the reference, times 100.
Definitions from the 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
Keep your work in your Engineering Journal; it stays private unless you choose to share it.
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.
Publication record
- Version
- 1
- Status
- Technically checked (automated checks only)
- Technical review
- Automated checks only, last run 2026-11-29. No human, educator or mentor review is claimed.src/content/textbooks/textbooks.test.ts: schema, every lesson, diagram, practice item, video, Field Guide entry, lab and reference resolves; figure numbers recomputed; no practice answers in client payloads.
- Written by
- Compiled and written by the Tactiverge team with AI assistance, from Tactiverge School lessons that were themselves written with AI assistance.
- Licence
- All rights reserved by the founders unless a licence is approved.
- Corrections
- None recorded yet.Spotted a mistake? Use “Report a problem” on any chapter, or see the corrections page.