Skip to content
Tactiverge

School/○ Innovator/Week 33

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.

About 35 min · 3 goals · Checked by automated tests

1.Why should I care?

A number alone means nothing; a number next to a strong baseline means a lot. Baselines are how engineers find out whether the clever new method is worth its complexity.

  • ◇ Explain why a result needs a baseline.
  • ◇ Compare a new method with a baseline over repeated seeded trials.
  • ◇ Calculate percentage improvement and an effect size.

2.Predict

The new PI method beats an untuned P baseline (Kp = 1) by about 85 %. What happens to the improvement against a properly tuned P baseline?

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

3.Understand

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.

Explain it another way

Saying you ran 100 m in 13 s means more when you add that last month you ran 14 s on the same track.

Worked example 1

Baseline 40 mm, method 30 mm, both SD 5 mm. Improvement and d?

Improvement = 10/40 = 25 %. d = 10/5 = 2.0: a large effect relative to the spread.

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.

4.Discover

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?

Loading the interactive…

Can't use the interactive? Read a description instead

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.

5.Checkpoint: guided practice

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

Practice 1 · a fresh version every time

A baseline path follower has a mean tracking error of 40 mm. The new method has 38 mm under the same conditions. What is the percentage improvement (lower error is better)?

%

6.Practice on your own

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

Practice 2 · a fresh version every time

Over 10 seeded trials each, the baseline controller's settling time averaged 20 s and the new controller's 14 s. Both conditions have a standard deviation of 2 s, so the pooled SD is 2 s. What is the difference in means (baseline − new), in seconds?

s

Practice 3

Why is 'error 0.86' on its own not a result?

Practice 4

In the baseline lab, unticking 'same seeds' makes the comparison…

Practice 5

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?

7.Apply it

Using the baseline lab, write a three-row results table (untuned P, tuned P, PI) with mean ± SD over 10 seeds, then one sentence on which comparison is the fair one and why.

8.Reflect

Concepts: Baselines and ablation studies · Comparing conditions with uncertainty