Skip to main content

Gate D: the steady-leg detector stops at validation

· 4 min read

The learned steady-leg detector was meant to tell the physics layer where the target's legs begin and end. It did not earn a test. On validation, its manoeuvre probability never reached the pre-registered threshold. Its downstream estimate beat batch least squares only slightly and lost to the tuned IMM. So the pre-registered rule stopped the phase before the test split was generated.

The agent review panel confirmed the stop after two rounds. It found no pipeline error and corrected our first explanation of why.

What was tested​

SRD Annex A asks for a detector with three outputs, which the physics layer consumes as its knots and speed prior:

  • whether a manoeuvre is happening now;
  • where the changepoints are;
  • whether each change is in course or speed.

The detector shares the Gate 1 encoder. It was trained on its labels and on the downstream error of the solve it feeds, through the physics layer.

Before training, the decision record fixed:

  • the threshold, 0.5;
  • the tolerance, ±60 s;
  • the controls (CUSUM, a windowed GLR, the IMM's mode probability);
  • the checks;
  • a validation rule: a variant goes to test only if every gated check's point already meets its limit on validation.

The plan trained seven detectors on free runners: three seeds each of a causal and a time-late variant, and a classification-only control.

What happened​

On validation seed 304, σ = 1° G5 rows:

EstimatorMedian range error, all G5 rowsSettled rows
batch least squares12.1%6.8%
IMM (frozen)9.5%7.5%
causal detector → physics layer11.5%6.6%
time-late detector → physics layer26.8%16.0%
oracle (true manoeuvre times)5.2%4.0%

The causal detector improved on least squares by 5% and recovered 9% of the gap to the oracle. It was 1.21× the IMM, with interval [1.15, 1.27], so D-downstream-all failed. It raised no alarm at all: 0 of 8,943 manoeuvres detected and 0 false alarms. So D-delay failed too. On settled rows it was slightly better than least squares, which passed.

The controls were tuned to the detector's own 0% false-alarm rate. That silenced them as well, so the delay and miss comparisons set silent against silent.

The time-late variant reads the whole window. With almost no knots it fits one leg across the later manoeuvres, so it does much worse than least squares.

Why: a learning failure, not proof that manoeuvres are invisible​

Our first write-up said the detector "learned the base rate". The panel showed that this was half right.

  • Its "now" probability ranks rows by time alone. It is near zero before the zig, where no manoeuvre can start, and flat afterwards. After the zig its AUC is about 0.5. It does not respond to how strongly a manoeuvre bends the bearings, at σ = 1° or 2°.
  • The time-late variant does no better. It can see the bearings after each turn, and it is still at chance.
  • The manoeuvres are identifiable in hindsight. The oracle halves least squares' error, and the IMM's own mode probability detects about half the manoeuvres at a 5% false-alarm rate.

So the encoder did not learn to tell target turns from ownship turns. Three design choices made that worse:

  • The downstream loss swamped the classification losses. It took the shared encoder's gradient about 1000:1.
  • The gate scored hard knots. Training optimised soft changepoint weights, but the gate scored only knots exported at w ≥ 0.5, which threw away about half the learned gain.
  • The labels made 0.5 unreachable. A 60-second "now" label, held legs weighted ×3, and ±60 s triangular targets meant the threshold could only be met with near-certain timing.

What follows​

Annex A §A.6 fixed the follow-on in advance. Gate D failed on more than false alarms, so the result is published here, and Gate 2 proceeds with the CUSUM/GLR segmenter.

The next spec declares that segmenter's operating point. At a 5% held-leg false-alarm rate the GLR detected 57% of manoeuvres on validation, against 10% for the least-squares CUSUM.

We recommend the GLR at 5%, and a lesson for any future detector gate: a floor on the matched false-alarm rate, so that a silent detector cannot make the comparisons degenerate. Gate 2's end-to-end model may still learn segmentation through the estimation loss. This result says it will not come for free.

Record: validation report (README.md, review.md); models: experiments/20261102-gd-a-models/.