School/✦ Research Engineer/Week 30
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?
About 40 min · 3 goals · Checked by automated tests
1.Why should I care?
Many apparent improvements vanish when the baseline is tuned as carefully as the new method. Reviewers know this, and the first thing they ask is: what did you compare against, and was it fair?
- ◇ Choose a strong baseline and give it equal tuning effort and information.
- ◇ Include a trivial baseline as a sanity check.
- ◇ Explain how weak baselines inflate reported gains.
2.Predict
A fused estimate beats raw camera fixes. Which baseline makes the comparison most convincing?
Guess first. Being wrong here is how the surprise works.
3.Understand
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.
Explain it another way
Racing a friend who is wearing flip-flops proves little. Race someone in proper trainers.
Reported improvement = true improvement + (tuning gap) + (information gap) + noise. Equal effort and inputs set the middle terms to zero.
In the rover, dead reckoning is the standard baseline, but a camera-only estimate tuned for dust is the strong one a fusion claim must beat.
Worked example 1
Fused error 0.45 m. Camera alone 0.5 m, odometry alone 1.2 m. Which improvement do you report?
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.
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.
4.Discover
Treat the lab as an experimental subject. First record the error of each single sensor alone (two baselines). Then the fused estimate. Is fusion better than the BEST single sensor, not just the worst? By how much, relative to the run-to-run variation you see?
Explorer 03 — Sensor fusion
Two imperfect sensors, one better estimate
A camera gives absolute position but loses sight of the target; odometry never drops out but drifts. Combining them gives an estimate better than either alone.
- True position
- Camera reading
- Odometry dead-reckoning
- Fused (Kalman)
- ±2σ uncertainty
- Camera dropout
Camera · absolute, drops out
Long-run share of time with no view, in bursts of about 1.2 s (occlusions).
Odometry · relative, drifts
A constant error in measured speed: its position estimate drifts by bias × time.
The Kalman filter weights each sensor by its stated noise, tracks its own uncertainty, and estimates the odometry bias while the camera can see.
Show
Root-mean-square error vs truth · lower is better
- Camera aloneholds last reading in dropouts7.9 cm
- Odometry alonedead reckoning from start15.1 cm
- Kalman filterfused estimate0.9 cm
- Fused, in dropoutsonly samples with no camera1.1 cm
Camera coverage 60 %. Camera error only over frames it saw: 2.9 cm (≈ its σ).
State
Seed 7. The camera saw the target 60 % of the time in 4 dropouts. Error (RMSE): camera alone 7.9 cm holding its last reading, odometry alone 15.1 cm, kalman filter 0.9 cm (1.1 cm during dropouts). Fusion is 88 % better than the better single sensor. Estimated odometry bias 1.53 cm/s (true 1.50).
Seed 7. The camera saw the target 60 % of the time in 4 dropouts. Error (RMSE): camera alone 7.9 cm holding its last reading, odometry alone 15.1 cm, kalman filter 0.9 cm (1.1 cm during dropouts). Fusion is 88 % better than the better single sensor. Estimated odometry bias 1.53 cm/s (true 1.50).
How to read this
Time runs left to right over 20 seconds. The thin solid line is where the object really is. Crosses are camera readings; hatched columns are dropouts where the camera sees nothing. The dashed line is odometry integrated from the start: smooth, but it wanders away as its bias accumulates. The thick line is the fused estimate, with a shaded ±2σ band showing how uncertain the Kalman filter believes it is. The band widens during each dropout and snaps back when the camera returns.
This mirrors Tactiverge's research question: when vision drops out, can local sensing such as force and joint feedback carry the estimate until it returns?
Assumptions & limitations
- One dimension, a smooth known trajectory and a single object: real tracking is 3-D, with orientation, multiple objects and data association.
- Noise is white Gaussian with the σ you set, and the Kalman filter is told the true σ values. Real filters must be tuned against noise they can only estimate.
- Odometry error is a constant bias plus white noise; real drift also comes from slip, scale-factor error and temperature.
- Dropouts are random bursts, independent of where the object is. Real occlusions often happen exactly when the task gets hard, for example when a gripper covers the object.
- The camera has no latency and runs at the same 20 Hz as odometry; real cameras are slower and delayed, which the filter would have to compensate for.
- Figures are from one seeded run of 401 samples; change the seed to see how much the numbers vary by chance.
Can't use the interactive? Read a description instead
The fusion lab shows noisy readings from two sensors and a fused estimate in one dimension. The activity compares the error of each sensor alone with the fused error, and asks whether fusion beats the better single sensor.
5.Checkpoint: guided practice
Check what you just discovered before going on. Hints appear after a wrong answer.
Practice 1
Which is the strongest fair baseline for a new path planner?
6.Practice on your own
Practice, not a test. Wrong answers get a hint and another try.
Practice 2
Strong baseline error 2.0 cm, new method 1.7 cm. What is the relative improvement, in %?
Practice 3
The method was tuned for 50 trials; the baseline used defaults. What does the measured gain include?
Practice 4
Why include a trivial baseline at all?
Practice 5 · a fresh version every time
Baseline: n1 = 20 trials, s1 = 0.4 s. New method: n2 = 15 trials, s2 = 0.3 s (independent groups, sorting time per item). What is the standard error of the difference in means, in s?
7.Apply it
List the trivial, standard and strong baselines for your capstone, and write how you will give the strong one equal tuning effort and information.
8.Reflect
Concepts: Baselines and ablation studies · Sensor fusion · Comparing conditions with uncertainty