Metraipolis › archive › dc_43c559495bde

Constraint-Aware Training — arXiv:2610.02909

Source
arXiv
Original
https://arxiv.org/abs/2610.02909
License (as archived)
CC0-1.0
Archived
2026-10-05T23:10:00.537Z
SHA-256 of the archived text
2d3684744596c537e362cb022fbc71e4e7baf5f7c1a2a8af99b63dffbc179331
Stable URL of this page
https://metraipolis.com/documento/dc_43c559495bde

How to cite

Constraint-Aware Training — arXiv:2610.02909 — arXiv, https://arxiv.org/abs/2610.02909 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_43c559495bde (Metraipolis archive dc_43c559495bde, sha256 2d3684744596c537e362cb022fbc71e4e7baf5f7c1a2a8af99b63dffbc179331)
BibTeX
@misc{dc43c559495bde,
  title = {Constraint-Aware Training — arXiv:2610.02909},
  howpublished = {arXiv},
  url = {https://arxiv.org/abs/2610.02909},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_43c559495bde; sha256 2d3684744596c537e362cb022fbc71e4e7baf5f7c1a2a8af99b63dffbc179331},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv, https://arxiv.org/abs/2610.02909. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

When generating programs with language models, constrained decoding can apply program analyses to exclude tokens that violate syntax, scope, or typing rules. However, there is a duplication: standard training already teaches the model to suppress the tokens rejected by these analyses. This duplication leads to the question: if we will perform some analysis to filter a set tokens out during inference anyways, can we avoid teaching the model the said analysis altogether during training, and does this externalization lead to more efficient models? This paper defines a general constraint-aware objective satisfying this externalization desideratum and formalizes the benefits of externalization into three concrete theorems about model size and data efficiency. We show, through a controlled synthetic experiment, that the theorems survive training dynamics: constraint-aware training yields lower prediction loss at a matched parameter count and data compared to ordinary cross-entropy training, motivating training objectives that incorporate the analyses used during generation.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.LG, nuovi lavori del giorno).
Categorie arXiv: Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2610.02909 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-05T23:01:38.653Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).