Walk-through of the applicability test schematic, not measured

An object detector in an automated vehicle passes its detections to the motion planner. This walk-through follows one question in seven steps: does an uncertainty threshold that meets its performance target under one condition still meet it under a triggering condition? Each step has one small widget. All detections, frames and values on this page come from a seeded random number generator in the page; none of them is measured.

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.

Top view of one schematic frame with detections and their uncertainty values, and an axis of the values with the threshold.
Schematic, not measured.

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.

Per-frame share of false acceptances for twenty schematic frames, their mean (the FAP) and the limit, with the accepted detections of each frame below.
Twenty schematic frames, limit α = 0.05. Schematic, not measured.

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.

HB p-value of each candidate threshold on a logarithmic axis, the line at delta, and the selected threshold.
400 schematic selection frames of condition c, α = 0.05. Schematic, not measured.

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.

Distributions of the uncertainty value of correct and wrong detections in condition c and in condition c-prime, with the transferred threshold.

FAP and retention on 20,000 schematic frames per condition. Spread over frames: wrong detections concentrated in frames with few detections, at the same expected share. Schematic, not measured.

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.

Interval of the FAP in condition c-prime on a logarithmic axis against the limit.

Outcome:

The other settings of c′ are those of step 4. Schematic, not measured.

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.

unit
Five schematic recorded sequences of ten frames each, outlined by the chosen unit. Minimum number of independent units against the limit, for selecting and for testing, with the test units of the case study.

Case study: test units per condition (split 0)

Read from data/units.json.

The sequence grid is schematic. Case study values are recorded numbers of test units of KITTI and nuScenes (paper, Sect. 4 and 5), read from 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