Lite / Intelligent Robotic Systems / 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.
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.
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?
- It stays about 85 %
- It gets much smaller
- PI loses
Guess first, then reveal
It shrinks to about half that. PI still wins here, honestly, but a weak baseline made it look far more impressive than it is.
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?
What the interactive shows (text version)
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.
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
Intuitive
Saying you ran 100 m in 13 s means more when you add that last month you ran 14 s on the same track.
Technical
Paired comparisons on common seeds remove shared variation, so the difference is estimated more precisely than two separately measured means.
Mathematical
Tuned P: 1.79 ± 0.13; PI: 0.86 ± 0.09 (n = 10). Difference 0.93; improvement 0.93/1.79 ≈ 52 %; pooled SD ≈ 0.11, so d ≈ 8: far beyond the noise in this simulation.
Applied
In robotics papers, a method compared only against weak or untuned baselines is a common reason reviewers reject a claim.
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.
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
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.
Reflect
Have you ever been impressed by a comparison that, looking back, had a weak baseline?
Write your answer on paper or in your own notes. Lite never stores what you write.