Operation Unknown ≠ Impossible / Mission 2

The Language That Learns

Why choosing an encoding cost more than the search it was supposed to save.

Can a formula describe how it wants to be solved?

We imagined asking three encodings of the same coloring problem a few questions, then letting their answers choose the cheapest language. The target was a 15% end-to-end improvement over a practical baseline. We tested one-hot, binary and order encodings, along with mixed routes, on CaDiCaL 1.9.5 and Glucose 4.2.1.

The model trained on separate graph generators. The held-out panel had 32 graph IDs from 24 distinct parent graphs. A prediction paid for construction, scratch solvers, propagation, inference, the final solve, and witness checking. Retrospective route selection gave itself free knowledge of the measured scores, which provided a way to estimate the headroom in this portfolio.

Held-out mean PAR-2 CaDiCaL Glucose
Best practical route 6.353 ms 4.170 ms
Probe learner 23.908 ms 14.419 ms
Retrospective fixed-route oracle 6.055 ms 3.698 ms

The learner cost 3.76× and 3.46× the best practical routes. On each engine, probing alone exceeded the cheapest full fixed route for 29 of 32 graphs. The retrospective oracle could save just 4.7% and 11.3% on that panel. Even perfect choice inside this measured portfolio would have missed the target.

One useful simplification did survive. On the exact isolated-edge kernel, the adaptive promotion rule always chose the first six distinct sampled endpoints. We could compute the same final encoding with no probes. All 192 matched pairs picked identical vertices and had identical verdicts and search counters. That is a restricted statement about the templates. Another counterexample hid same-degree structure from every allowed probe and made the preferred route switch.

Elapsed costs and close route rankings moved on repeat, and all 2,712 keyed verdicts matched. The stress panel had an additional Glucose budget-enforcement wrinkle, so late results stayed in the raw records and scored as caps or timeouts. A richer or cheaper observation interface remained an open question.

Reproduce

From mission2/, use CPython 3.14.4 and python-sat==1.9.dev24. Run python -m unittest -v and python benchmark.py --out replay --seconds 180 with that environment. The mission README also gives the separate shortcut and stress commands. Reproduction guide · Raw rows