Skip to content
Tactiverge

Open Lab investigation · OL-02

How Honest Is the Uncertainty?

Use the fusion lab to test whether a filter's reported uncertainty matches its real error as the camera drops out more often.

About 2 h · intermediate · 6 steps · Uses Lab 03 · Free

This is a learning investigation, not peer-reviewed research. Unexpected results are welcome: what matters is a clear hypothesis, honest data and careful interpretation.

The question

Research question

In the sensor fusion explorer, how does the fused estimate's error during camera dropouts change as the long-run dropout probability increases, and does the Kalman filter's reported uncertainty band honestly reflect that error?

Why it matters

A robot that knows its position and how uncertain it is can make safe decisions: slow down, ask for help, or refuse a precise task. But an uncertainty figure is only useful if it is honest. A filter that says "I'm within 1 cm" when it is really 5 cm off is more dangerous than one that admits it doesn't know.

The question of how a robot should behave when vision is intermittent is also part of Project TV-01's research question, which is a proposed study that has not been carried out and has no results. Your investigation uses a simple simulation to practise the same kind of thinking. It cannot tell you anything about TV-01's answer.

This is a learning exercise, not peer-reviewed research. Unexpected results are welcome: a prediction that turns out wrong, honestly reported, is a good outcome.

You will learn to

  • Design a controlled experiment in a simulation with repeated, seeded trials.
  • Compare a reported uncertainty with the actual error it is meant to describe.
  • Quantify variation between repeats and use it when drawing conclusions.
  • Explain why honest uncertainty matters for safe robot behaviour.

Limits

  • C1Use the sensor fusion explorer only; record all settings you keep fixed.
  • C2Test at least five dropout probabilities from 0% to 70%.
  • C3Use at least three seeds per setting, the same seeds for every setting.
  • C4Report all runs, including any that look odd.

Background

The simulation

The fusion explorer simulates a point moving along a line for 20 seconds, sampled every 0.05 s (401 samples). A camera reports its position with random noise but drops out in bursts. Odometry reports motion at every step but has a constant bias, so dead reckoning drifts. The fused estimate combines them, either with a complementary filter or with a Kalman filter.

The Kalman filter also reports a 1σ uncertainty, which the explorer can draw as a ±2σ band. During a dropout, the band widens, because the filter knows it is relying on drifting odometry. When the camera returns, it narrows.

What "honest" means here

If the reported σ were perfectly honest and errors were roughly normally distributed, the true position would lie inside the ±2σ band about 95% of the time. A band that the truth often leaves is overconfident. A band that is always far wider than the real error is underconfident: safe, but it makes the robot more cautious than it needs to be.

You can judge this by eye from the plot, by counting how many dropouts the truth leaves the band in, or by comparing the Fused, in dropouts error figure with the typical half-width of the band during dropouts.

Seeds and repeats

The explorer's random noise and dropouts are generated from a seed. The same seed with the same settings always gives the same run, so results are repeatable. A different seed gives a different but equally valid run. A single run can be lucky or unlucky, so you need several seeds per setting to see the typical behaviour and how much it varies.

Controlled variables

Your independent variable is the dropout probability. Everything else should stay fixed: camera noise, odometry noise, odometry bias and the filter choice. Write down the values you use.

A note on the readouts

The explorer reports root-mean-square (RMS) errors for each source. RMS error is the square root of the average squared error, so large errors count more. Record the figures exactly as shown, with units (cm).

How to approach it

  1. 01

    Explore before you predict

    Open the sensor fusion explorer with default settings and the Kalman filter. Turn on the ±2σ band. Spend a few minutes watching one run: where the band widens, where the fused line wanders, and how the error readouts change when you move the dropout slider. Do not record data yet.

  2. 02

    Write your hypothesis

    Write two predictions in the submission before collecting data: how the Fused, in dropouts error will change as dropout probability rises, and whether you expect the ±2σ band to be honest, overconfident or underconfident. Give reasons.

  3. 03

    Plan the method

    Choose your dropout probabilities and your seeds. Decide how you will judge honesty, for example counting dropouts where the truth leaves the band. Decide in advance what you will call a clear trend versus no clear trend, given the variation between seeds.

  4. 04

    Collect data

    For each dropout probability and each seed, record the coverage, the Fused, in dropouts error and your honesty judgement. Keep everything else fixed. Write your results as a list or a code-style block, one line per run.

  5. 05

    Interpret

    Summarise each setting with an average and a range across seeds. Does the trend match your hypothesis? Is the band's honesty the same at low and high dropout rates? Separate what the numbers show from what you suspect.

  6. 06

    Limitations and next steps

    Name what in the simulation is simpler than a real robot. Then repeat one setting with the complementary filter and say what you can and cannot compare, given that it reports no uncertainty band.

Your work

Everything above is free to read and use. To save drafts, submit versions and get feedback, sign in.

You can also work on paper: the prompts below are what a submission asks for.

  1. Hypothesis (written before you collect any data)
  2. Method
  3. Data and observations
  4. Interpretation
  5. Limitations

How it's judged

There is more than one good answer. This rubric describes what strong work looks like.

Question and hypothesis

Beginning
No clear hypothesis, or it was clearly written after seeing the data.
Developing
A hypothesis is stated before data but is vague, so almost any result would fit it.
Proficient
A specific, falsifiable hypothesis with a reason behind it, written before data collection.
Exemplary
As Proficient, plus a stated prediction of how big the effect should be and what result would count against it.

Method and control of variables

Beginning
The method is missing or too vague to repeat.
Developing
The changed variable is clear, but other variables drift between runs or repeats are missing.
Proficient
One variable is changed at a time, others are held fixed and listed, with repeats and a decision rule set in advance.
Exemplary
As Proficient, plus a pilot run that led to a documented change of method, and a check that the measurement itself is reliable.

Data quality and honesty

Beginning
Data are missing, unitless or only summarised, with no raw values.
Developing
Raw data are present but inconvenient runs are silently dropped or units are inconsistent.
Proficient
All runs are reported with units, including failed or surprising ones, with a note on each exclusion.
Exemplary
As Proficient, plus variability between repeats is quantified (for example a range or standard deviation) and used in the interpretation.

Interpretation and limitations

Beginning
Claims go beyond the data or ignore the hypothesis.
Developing
The result is described but not connected to the hypothesis, or limitations are generic.
Proficient
The conclusion follows from specific numbers, and the most important limitation is named with its likely effect.
Exemplary
As Proficient, plus alternative explanations are considered and the student says exactly what further test would distinguish them.

Reflect

  • Did the uncertainty band behave as you expected? What surprised you?
  • Why might an overconfident estimate be more dangerous than a less accurate but honest one?
  • How did using several seeds change your confidence in your conclusion?

Go further

Change the odometry bias to a large value and repeat one dropout setting. The Kalman filter in the explorer estimates the bias: investigate how long after the start of a run it takes for the uncertainty band to become honest, and explain why.

OL-02 · How Honest Is the Uncertainty? — Tactiverge