
A close read of SemDraft: how three certification checks turn recovered pattern-editing programs into supervision for a learned search ranker, why its edge over the authors' heuristic only appears once the beam widens, and what the 0-of-57 held-out-composition result says about the DreamCoder lineage's recognition model.

| Ranker | Certified at beam 1 | Certified at beam 4 | Median search executions, beam 4 | Median wall clock, beam 4 |
|---|---|---|---|---|
| Random order (mean of three seeds) | 17.7 | 37.7 | 178 | 61 s |
| Template lookup | 27 | 53 | 176 | 60 s |
| Authors' heuristic | 51 | 51 | 351 | 349 s |
| Learned prior, linear imitation | 35 | 61 | 176 | 61 s |
| Learned prior, DAG supervision (mean of two seeds) | 35 | 63 | 180 | 61 s |

| Method | Persistent object | Neural search guidance | Abstraction engine | Substrate | Scaling bottleneck |
|---|---|---|---|---|---|
| SemDraft | Trained ranker weights; certified programs stay a training corpus 2 | Transformer trained once on the system's own certified programs, ranking candidates before compilation | None: the nine-action vocabulary is fixed by hand | Synthetic sewing-pattern editing, four garment families | A ranker fitted to one generator's action distribution |
| DreamCoder | Typed λ-calculus DSL plus a recognition model trained by wake-sleep 3 | Recognition model trained on replayed and imagined tasks | Bayesian refactoring extends the language with new abstractions | Synthetic symbolic domains, graphics | Enumerative search explosion |
| LAPS | DreamCoder's library plus a search model conditioned on language 4 | Neurally guided search trained jointly with library learning | Library learning driven by natural-language annotations | String editing, image composition, scene reasoning | Needs natural-language annotations |
| Stitch | Compressed corpus of programs plus learned abstractions 5 | Top-down search guided by the corpus | Anti-unification over e-graphs | Large DSL corpora | Memory on massive corpora |
| LILO | Named, documented code library 6 | LLM synthesis prompted with library functions | Stitch compression plus automatic documentation | String editing, scene reasoning, graphics composition | Compression limits; proposal fidelity |
"Our insight is that a deterministic compiler makes a recovered sequence checkable." — the authors, on the move the whole method rests on. 2
"A certificate is the unit of supervision: it yields the program, its dependency DAG and, for every materialised intermediate state, the set of valid next actions (nodes whose required predecessors are complete) and whether stopping is allowed there." — the same authors, naming what the ranker is trained on. 2
"The teacher ranks a candidate only after compiling it; the prior ranks candidates before compilation." — the same authors, on why the two signals cost different amounts. 2
"When every case containing a swap is held out, the policy solves 0 of 57 Tier-C cases against 20 for the random ranker: it has never seen a template swap and assigns it negligible probability." — the same authors, in the appendix. 2
"The development corpus and the frozen evaluation set are controlled, synthetic identifiability benchmarks, not evidence of industrial generalisation." — the same authors, in their limitations. 2
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.