SMALL MODELS / REAL SAVED RUNS / EXPERIMENT 02
Did the repair work?
Teaching a network to accept the exact endpoint sounds like a fix. Move just outside it—and check the other half of the promise.
Look at the neighborhood
The vertical line is the true endpoint. A good answer at that one point does not establish correct behavior beside it.
All five seeds shown; the selected seed is bold. Dashed horizontal line: 0.5 threshold. Labels show distance from the endpoint as a percentage of interval width. This slice is exploratory, not the aggregate test.The measured tradeoff
Fresh evaluation: 2,000 intervals, both endpoints, five seeds per condition. Values below are means across seeds. Lower outside false positives are better.
| Training | Exact endpoints correct ↑ | Outside by 0.1% false positives ↓ | Outside by 5% false positives ↓ |
|---|---|---|---|
| Baseline | 70.275% | 68.475% | 33.380% |
| Teach endpoints | 100.000% | 100.000% | 58.580% |
| Endpoints + neighbors | 99.620% | 99.580% | 12.520% |
These are deliberately synthetic tests. They do not measure LLM behavior or reveal the network’s internal algorithm. The ordinary main test avoids the closest boundary region.
What changed in training?
- Baseline: 2,048 inside, 1,024 below, 1,024 above. A gap around the endpoints.
- Teach endpoints: replace 512 inside examples with exact endpoints.
- Endpoints + neighbors: same endpoints, plus replace 512 other positives and 512 negatives with nearby cases on both sides.
All conditions have 4,096 examples, 50% positive labels, the same 161-parameter network, and 3,000 training updates. “Neighbors” tests a combined recipe, not an isolated test of near-negative examples.
Your turn
Before clicking, predict what happens when you move from the endpoint to just outside. Then compare all five seeds. Try another interval. Keep a note of the inputs, seed, expected answer and model answer.
Run it yourself
Download the Python sources, original baseline weights, reference metrics, and instructions. The archive reruns all 15 models locally; it does not contain a precomputed results directory.
Download reproduction package · ZIP, 31 KB
Read the companion article on Medium: I Fixed One Neural Network Test. Another Got Worse.
Pass the experiment along
