Back to FlyRace

This is a copy of reports/2026-09-24/k1-final/README.md from the FlyRace source repository, shown as plain Markdown. Links inside it are relative to that file in the repository.

# Negative result: no fly opponent, because gate K1 is final

Date: 2026-09-25. Judged under [research contract v3](../../../docs/research-contract-v3.md), gate K1, as amended by [v4](../../../docs/research-contract-v4.md) and [v5](../../../docs/research-contract-v5.md).

**The research that tried to train a fruit-fly connectome to drive a FlyRace car stopped before any training ran.** The first gate, K1, asked a narrow question: does any camera view we could give the fly carry enough information to tell, on courses it has never seen, when a corner is coming, when to brake hard and how fast the car is going? For each of ten pre-declared sensor variants we fitted a small ordinary image network (a graph-free probe, not the fly) on training courses and scored it on 17 development courses. None of the ten passed. Every one missed the strong-braking threshold. Contract v5 was declared the last K1 amendment, so K1 is final, the research stops, and FlyRace 1.0 ships the contract's fallback: a time-trial game with an honest, untrained fly lab.

This is a result about our sensors, data and probe, not about flies. It does not show that a connectome cannot drive; it shows that, with these inputs and 18 training courses, even an unconstrained image network could not predict hard braking well enough on new courses to make training the connectome worthwhile.

## The gate

A variant passes K1 if, fitted on 18 procedural training courses and scored on all 17 development courses pooled (mean of 5 seeds):

- corner AUROC ≥ 0.80 (corner: the teacher wants 10 m/s or less),
- strong-brake AUROC ≥ 0.75 (strong brake: the teacher's drive command is −0.5 or lower),
- speed R² ≥ 0.50 (waived for variants given the declared speed input `speed-jo-ce-v1`),
- and every score rises from 2 to 6 to 18 training courses, by at least 0.02 overall.

AUROC 0.5 is chance and 1.0 is perfect. The first four decisions of each episode are excluded. K1 fires only if no variant passes.

## All ten variants

Development courses, 18 training courses, mean ± standard deviation over 5 seeds. Numbers are copied from each report's `results.json`. Bold marks a score that meets its threshold.

| Contract | Variant | Corner AUROC | Strong-brake AUROC | Speed R² | Passes |
| --- | --- | ---: | ---: | ---: | --- |
| v3 | `gray64x32-v1` | 0.706 ± 0.020 | 0.576 ± 0.025 | −0.067 ± 0.020 | no |
| v3 | `gray64x32-v1` + speed | 0.741 ± 0.011 | 0.592 ± 0.010 | waived (0.564) | no |
| v3 | `rgb128x64-pitch6-v1` | 0.764 ± 0.019 | 0.615 ± 0.020 | −0.146 ± 0.119 | no |
| v3 | `rgb128x64-pitch6-v1` + speed | 0.786 ± 0.011 | 0.647 ± 0.019 | waived (0.564) | no |
| v4 | `chase-rgb128x64-v1` | 0.768 ± 0.019 | 0.683 ± 0.009 | −0.012 ± 0.053 | no (also fails the corner trend) |
| v4 | `chase-gray64x32-v1` | **0.813 ± 0.010** | 0.638 ± 0.031 | −0.015 ± 0.072 | no |
| v5 | `chase-rgb128x64-boards-v1` | 0.788 ± 0.005 | 0.678 ± 0.015 | −0.024 ± 0.030 | no (also fails the corner trend) |
| v5 | `chase-gray64x32-boards-v1` | **0.810 ± 0.024** | 0.644 ± 0.031 | −0.009 ± 0.037 | no |
| v5 | `chase-rgb128x64-boards-v1` + speed | 0.786 ± 0.012 | 0.703 ± 0.015 | waived (0.758) | no (also fails the corner trend) |
| v5 | `chase-gray64x32-boards-v1` + speed | **0.836 ± 0.017** | 0.693 ± 0.035 | waived (0.892) | no |

Thresholds: 0.80, 0.75, 0.50. The best strong-brake score was 0.703 against 0.75. The variants: `gray64x32-v1` is the original 64×32 grayscale camera at the car's nose; `rgb128x64-pitch6-v1` is a colour 128×64 camera pitched down 6°; the `chase-` mounts sit 6 m above and 7 m behind the car with the car in view; `-boards-` adds red-and-white marker boards 20, 40 and 60 m before every corner; "+ speed" adds the car's speed as one extra input. Each probe saw the current and previous frame.

Sources: [R2](../r2/README.md) (`r2/results.json`), [R2-RGB](../r2-rgb/README.md) (`r2-rgb/results.json`), [R2-chase](../r2-chase/README.md) (`r2-chase/results.json`), [R2-boards](../r2-boards/README.md) (`r2-boards/results.json`).

## Budget used

- Connectome training runs: **0 of 3**. No connectome was trained under contracts v3 to v5.
- Connectome training GPU time: **0 of about 6 GPU-hours**.
- Calendar: work started 2026-09-24 and stopped 2026-09-25, inside the window ending 2026-10-15.
- Outside the training cap, as the contract allows: the K1 frame renders and probe fits logged in progress.md took about 4.2 hours of M4 Pro GPU time, 2.9 hours of it the four probe runs (1,175 s, 3,165 s, 1,917 s and 4,099 s).

## The sealed courses

Eight sealed course seeds were chosen on 2026-09-24 and stored outside git; the repository holds only their hash. They were never opened: no sealed course was generated, rendered or scored. `node scripts/sealed-seeds.mjs check` and `check-history` pass. Because no candidate reached the sealed stage, the sealed set is still unused.

## What we learned

- **The probes learned the courses they saw, not braking in general.** On held-out episodes of the 18 training courses themselves (every fourth episode of each course), the same probes scored strong-brake AUROC 0.80 to 0.87 (0.857 to 0.869 for the four board variants). On unseen development courses they scored 0.58 to 0.70. The gap points at too little course variety for the probe to generalise, not at a camera that cannot see corners. This within-course check was reported beside the gate and was not part of the decision.
- **Scores were still rising.** Every strong-brake score went up from 2 to 6 to 18 training courses. More courses might have closed the gap, but the contract fixed the course counts in advance, and we did not test more.
- **A camera alone does not tell a network how fast the car is going.** No vision-only variant reached speed R² above 0.0. Adding speed as an input fixed that (R² up to 0.89) and added about 0.02 to 0.05 strong-brake AUROC, not enough.
- **Corners are easier than braking.** Three variants cleared the corner threshold. Knowing a corner is near is not the same as knowing the car is too fast for it, which is what the teacher's hard-brake label encodes.
- **The teacher may be asking for the wrong skill.** The offline teacher brakes hard whenever the car is faster than the next 35 m of road allows. Playing the game, the user found that the fast way round is full throttle all the time, drifting to scrub speed and almost never braking. So strong braking, the label every variant failed, may matter less to driving FlyRace well than the gate assumed. This is an observation from play, not a measured result; it was noted after the gate was set and did not change the decision.
- **Amendments cost evidence.** Contract v5 was written after the first six development scores were known. The report says so, and even a v5 pass would have been weaker evidence than a v3 pass.

## What this means for FlyRace 1.0

- FlyRace 1.0 is a time-trial game on three circuits. There are no fly opponents, and none is planned for 1.0.
- The fly lab stays as an experimental exhibit. With the optional local brain service running, it shows the view sent to an untrained network wired from the MaleCNS connectome and can let that network drive. It barely moves; its runs are never saved.
- Opponent slots remain in the code for tests only; no opponent controller ships.
- Any further fly research would be a new program with its own user approval, fresh development courses and a new pre-registration, not a v6 amendment of this one.

Return to FlyRace