Esperimenti #148f
Grammar mask on the head tail's kept rows: a constrained greedy step draws from `headTailArgmaxMap` with...
done
Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.
Cosa è stato provato
Grammar mask on the head tail's kept rows: a Forcing the model's output to follow a strict JSON shape while it writes. greedy step draws from `headTailArgmaxMap` with the per-step grammar mask mapped through `latin_head_idx` (it already takes a suppression mask), so the full 262,144-wide row is never built (row 148: that draw is 9 of the 10 points a constrained step costs); a Lesto row branch from the best's tag, a unit test against the full-row masked argmax, then constrained `lesto_r148f` against the unconstrained best on 10 sessions, line: residual The writing phase: the model produces the reply one token at a time. Approfondisci cost under 3%
Modello e configurazione
the best (constrained requests)
Guadagno atteso
about +9% decode on constrained requests (measured on the unmasked arm), nothing on the unconstrained ledger measure; prerequisite of 148b
Da dove viene l'idea
row 148
Esito
done 2026-11-13: line missed; the kept-row The unit of text a model reads and writes: roughly a short word or a piece of a longer one. is the full row's (0 of 5,120 differ, unconstrained replies 60 of 60 identical) but constrained decode -13.40% [-13.83, -13.12] against the best, worse than the full-row path (-10.1%); the full-row draw added back costs 0.85 point, so the step waits on its CPU side (inferred; row 148g)
Lezione
drawing the constrained token from the kept rows gives the right token (0 of 5,120 differ) but did not speed up a constrained step (-13.4% against the full-row path's -10.1%): the slowdown came from how the step is pipelined, not from what it draws (row 148g), so a faster draw cannot help a step whose CPU work is serialized behind the A graphics card, used here as the chip that does the heavy arithmetic for a model..
Adottato
no (the pre-registered line is a kill line and the subject missed it; row 148g measures why)