Step 1 of 7
What the detector passes on
Each box is a detection in one frame, seen from above, with its uncertainty value u. The detector passes a detection on (accepts it) if u does not exceed the threshold τ, and rejects it otherwise.
The annotations of the recording determine which detections are correct. An accepted wrong detection is a false acceptance; a rejected correct detection is withheld and does not reach the motion planner.
Move τ and watch which boxes change state.
Step 2 of 7
A target on false acceptances
A performance target for the detector is derived from a vehicle-level acceptance criterion of ISO 21448. Here it bounds the false acceptance proportion (FAP): the per-frame share af of false acceptances among the accepted detections, averaged over frames, must not exceed the limit α.
A frame without accepted detections contributes af = 0. Rejecting every detection therefore meets any limit, and no detection reaches the motion planner. For this reason every result is reported with the retention, the share of correct detections that the threshold accepts.
Step 3 of 7
Selecting a threshold with a guarantee
Learn then Test checks candidate thresholds on the selection data of one condition c, from the lowest upwards. A candidate passes if the Hoeffding-Bentkus (HB) p-value for "FAP above α" is at most δ.
The selected threshold τc is the last candidate that passes before the first one that fails. With probability at least 1−δ its FAP is at most α, but only for data distributed like the selection data.
Step 4 of 7
A triggering condition changes the data
Far distance and rain (potential triggering conditions) or another dataset with its own detector change the detections. The threshold τc from step 3 is used unchanged in the condition of use c′.
Four changes can raise the FAP in c′: weaker separation, more wrong detections, shifted values and a different spread of wrong detections over frames. AUROC measures separation only, so it changes with the first of them and not with the other three.
Step 5 of 7
Test, do not assume
The guarantee of step 3 does not cover c′, so τc is tested on n units of c′. The HB bounds give an interval [L, U] of the FAP at confidence 1−δ.
The target is applicable if U ≤ α, not applicable if L > α, and not determined otherwise. With few units the interval is wide and the outcome is not determined.
Outcome:
Step 6 of 7
Count independent units
The HB test treats every unit as an independent draw. Frames of one recorded sequence share the place, the weather and the traffic, so they are not independent; unless their independence is shown, the unit is the recorded sequence.
Even if no unit holds a false acceptance, showing that the limit is met at error probability δ′ needs at least n ≥ ln δ′ / ln(1−α) units per condition and part (δ′ = δ to select, δ/2 to test). This number can be computed before recording.
Case study: test units per condition (split 0)
Read from data/units.json.
data/units.json.Step 7 of 7
What follows from each outcome
Each outcome enters the SOTIF analysis with its own measure (paper, Table 5). Choose an outcome.
Continue with
- Run the test on your own detections: the test on a CSV file of detections of your detector.
- Applicability test calculator: p-value, interval, outcome and minimum number of units for given n, Â, α and δ.
- Results browser: every recorded outcome of the case study per split.
- The applicability test in one page (docs/concept.md), with references to the paper.